joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ccc38
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x14]
movzx edx, byte [eax + 0x461]
movzx ecx, dl
cmp ecx, 6
ja case.0x4cccd2.0
jmp dword [ecx*4 + 0x4ccc6b]
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x4ccc9d
sub dl, 8
je 0x4cccac
jmp case.0x4cccd2.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4cc8e0
jmp case.0x4cccd2.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4cc938
jmp case.0x4cccd2.0
movzx ecx, byte [eax + 0x460]
cmp ecx, 0x10
ja case.0x4cccd2.0
movzx ecx, byte [ecx + 0x4cccd9]
jmp dword [ecx*4 + 0x4cccea]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4cc9e4
jmp case.0x4cccd2.0
cmp dl, 3
jne 0x4ccd17
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4cca3c
jmp case.0x4cccd2.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4cc9f8
jmp case.0x4cccd2.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4cca80
jmp case.0x4cccd2.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x4ccd42
sub dl, 8
je 0x4ccd4e
jmp case.0x4cccd2.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4ccaac
jmp case.0x4cccd2.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4ccb18
jmp case.0x4cccd2.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x4ccd6d
sub dl, 8
je 0x4ccd79
jmp case.0x4cccd2.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4ccbd4
jmp case.0x4cccd2.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4ccbfc
mov edx, dword [eax + 0x468]
mov ecx, dword [ebx + 0x1c]
dec ecx
imul edx, ecx
mov esi, edx
add esi, dword [eax + 0x450]
mov dword [ebp - 0xc], esi
mov esi, dword [eax + 0x454]
mov dword [ebp - 8], esi
add edx, dword [eax + 0x44c]
mov dword [ebp - 0x10], edx
mov esi, ecx
test esi, esi
jb 0x4cce1b
inc esi
mov eax, dword [ebx + 0x20]
inc eax
push eax
lea eax, [ebx + 0x4c]
push eax
mov eax, dword [ebp + 8]
push eax
movzx eax, byte [ebx + 0x48]
mov ecx, dword [ebx + eax*4 + 0x40]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.004cbde4
test eax, eax
je 0x4cce1b
mov eax, ebx
call fcn.004cce24
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x10]
push eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
lea edx, [eax + 1]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
call dword [ebp - 0x18]
movzx eax, byte [ebx + 0x48]
xor al, 1
mov byte [ebx + 0x48], al
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0x468]
sub dword [ebp - 0xc], eax
sub dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x18]
add dword [ebp - 8], eax
dec esi
jne 0x4ccdb4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4cce24
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax]
dec al
je 0x4cce55
dec al
je 0x4cce90
dec al
je 0x4cced5
dec al
je 0x4ccf3e
jmp 0x4ccfc8
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x4ccfc8
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x4cce65
jmp 0x4ccfc8
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4ccfc8
mov esi, 1
movzx eax, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x4ccea0
jmp 0x4ccfc8
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4ccfc8
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x4ccf04
xor ebp, ebp
jmp 0x4ccf14
mov ecx, esi
sub ecx, edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x4ccf1d
adc eax, 0
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x4ccee5
jmp 0x4ccfc8
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4ccfc8
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x4ccf97
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
movzx edx, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
movzx ecx, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.004c9eb4
add al, byte [esp]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x4ccf52
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x404e4a
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
push 0x94
call dword [sym.imp.MSVCRT.dll_malloc]
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x404eba
push 0x94
push 0
mov eax, dword [ebp - 4]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
mov ecx, dword [ebp - 4]
mov dword [ecx], 0x94
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 4
jne 0x404ea6
mov ecx, dword [ebp - 4]
cmp dword [ecx + 8], 0xa
jne 0x404ea6
xor eax, eax
jmp 0x404ebc
mov edx, dword [ebp - 4]
cmp dword [edx + 4], 6
jb 0x404eb6
mov eax, 1
jmp 0x404ebc
xor eax, eax
jmp 0x404ebc
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4079bc
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x439a4d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x158
mov dword [ebp - 0x164], ecx
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004081e0
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
test eax, eax
jne 0x407a1e
mov dword [ebp - 0x154], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x154]
jmp 0x407afb
push str..
lea ecx, [ebp + 8]
call fcn.00430b04
push 0x140
push 0
lea eax, [ebp - 0x14c]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x14c]
push ecx
lea ecx, [ebp + 8]
call fcn.004081e0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x150], eax
cmp dword [ebp - 0x150], 0xffffffff
jne 0x407a87
mov dword [ebp - 0x158], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x158]
jmp 0x407afb
mov edx, dword [ebp - 0x14c]
and edx, 0x10
test edx, edx
je 0x407a96
jmp 0x407ac4
mov eax, dword [ebp - 0x150]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x15c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x15c]
jmp 0x407afb
lea ecx, [ebp - 0x14c]
push ecx
mov edx, dword [ebp - 0x150]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x407a87
mov dword [ebp - 0x160], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x160]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x407b18
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov dword [ebp - 0x6c], ecx
mov eax, 0x44be28
test eax, eax
je 0x407b33
mov ecx, 0x44b628
test ecx, ecx
jne 0x407b38
jmp 0x407c40
push 0x44be28
call sub.MSVCRT.dll_strlen
add esp, 4
test eax, eax
jbe 0x407c40
push 0x44b628
call sub.MSVCRT.dll_strlen
add esp, 4
test eax, eax
jbe 0x407c40
mov dword [ebp - 4], 0x44be28
mov dword [ebp - 8], 0x44b628
mov edx, dword [ebp - 4]
movsx eax, byte [edx]
test eax, eax
je 0x407c40
mov ecx, dword [ebp - 4]
mov dl, byte [ecx]
mov byte [ebp - 0x24], dl
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
movsx ecx, byte [ebp - 0x24]
sub ecx, 0x30
mov dword [ebp - 0x20], ecx
push 0x10
push 0
lea edx, [ebp - 0x1c]
push edx
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x44
push 0
lea eax, [ebp - 0x68]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [ebp - 0x68], 0x44
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x68]
push edx
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 4]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x407bed
jmp 0x407bff
cmp dword [ebp - 0x20], 0
je 0x407bff
push 0xffffffffffffffff
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 4]
movsx ecx, byte [eax]
test ecx, ecx
je 0x407c14
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
jmp 0x407bff
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
movsx edx, byte [ecx]
test edx, edx
je 0x407c32
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
jmp 0x407c1d
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
jmp 0x407b70
mov esp, ebp
pop ebp
ret
Function at 0x409159
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x439bc8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x34
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x28], ecx
mov dword [ebp - 4], 0
push str.Update
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
push ecx
call sub.MFC42.DLL_operator_1
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.004081e0
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
test eax, eax
jne 0x4091ce
lea ecx, [ebp - 0x14]
call fcn.004081e0
mov dword [ebp - 0x34], eax
push 0
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0x44774c
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x1c]
push edx
call sub.MFC42.DLL_operator_1
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x3c]
push edx
lea eax, [ebp - 0x20]
push eax
call sub.MFC42.DLL_operator
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x44], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x44]
push edx
mov ecx, 0x44d1dc
call sub.MFC42.DLL_CString::operator
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
jmp 0x409259
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x40a847
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov dword [ebp - 0x6c], ecx
mov eax, dword [ebp - 0x6c]
add eax, 0x708
push eax
call sub.MSVCRT.dll_strlen
add esp, 4
test eax, eax
jbe 0x40a969
push 0
mov ecx, dword [ebp - 0x6c]
add ecx, 0x450
call sub.MFC42.DLL_CWnd::EnableWindow
mov ecx, dword [ebp - 0x6c]
add ecx, 0x708
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x6c]
add edx, 0xf08
mov dword [ebp - 8], edx
mov eax, dword [ebp - 4]
movsx ecx, byte [eax]
test ecx, ecx
je 0x40a959
mov edx, dword [ebp - 4]
mov al, byte [edx]
mov byte [ebp - 0x10], al
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
movsx edx, byte [ebp - 0x10]
sub edx, 0x30
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 1
jne 0x40a918
push 0x10
push 0
lea eax, [ebp - 0x24]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x44
push 0
lea ecx, [ebp - 0x68]
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [ebp - 0x68], 0x44
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x68]
push eax
mov ecx, dword [ebp - 8]
push ecx
push 0
push 0
push 0
push 0
push 0
mov edx, dword [ebp - 4]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [ebp - 0x14], eax
push 0xffffffffffffffff
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 4]
movsx edx, byte [ecx]
test edx, edx
je 0x40a92d
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
jmp 0x40a918
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 8]
movsx eax, byte [edx]
test eax, eax
je 0x40a94b
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
jmp 0x40a936
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
jmp 0x40a891
push 1
mov ecx, dword [ebp - 0x6c]
add ecx, 0x450
call sub.MFC42.DLL_CWnd::EnableWindow
mov esp, ebp
pop ebp
ret
Function at 0x40ef39
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov dword [ebp - 0x6c], ecx
mov eax, dword [ebp - 0x6c]
add eax, 0x164
push eax
call sub.MSVCRT.dll_strlen
add esp, 4
test eax, eax
jbe 0x40f043
mov ecx, dword [ebp - 0x6c]
add ecx, 0x164
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x6c]
add edx, 0x964
mov dword [ebp - 8], edx
mov eax, dword [ebp - 4]
movsx ecx, byte [eax]
test ecx, ecx
je 0x40f043
mov edx, dword [ebp - 4]
mov al, byte [edx]
mov byte [ebp - 0x24], al
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
movsx edx, byte [ebp - 0x24]
sub edx, 0x30
mov dword [ebp - 0x20], edx
push 0x10
push 0
lea eax, [ebp - 0x1c]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x44
push 0
lea ecx, [ebp - 0x68]
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [ebp - 0x68], 0x44
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x68]
push eax
mov ecx, dword [ebp - 8]
push ecx
push 0
push 0
push 0
push 0
push 0
mov edx, dword [ebp - 4]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x40eff0
jmp 0x40f002
cmp dword [ebp - 0x20], 0
je 0x40f002
push 0xffffffffffffffff
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 4]
movsx edx, byte [ecx]
test edx, edx
je 0x40f017
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
jmp 0x40f002
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 8]
movsx eax, byte [edx]
test eax, eax
je 0x40f035
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
jmp 0x40f020
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
jmp 0x40ef73
mov esp, ebp
pop ebp
ret
Function at 0x410a00
Capabilities:
Get file version info

Disassembly:
sub esp, 0x10c
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x104]
test eax, eax
je 0x410a29
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esi + 0x104], 0
lea ebp, [esi + 0x108]
xor eax, eax
mov ecx, ebp
lea edi, [esi + 0x110]
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov ecx, 0x10
rep stosd dword es:[edi], eax
mov ecx, 0x41
mov edi, esi
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x120]
test edi, edi
je 0x410a69
cmp byte [edi], 0
jne 0x410a85
mov ecx, esi
call fcn.00410d30
lea edx, [esp + 0x18]
push 0x103
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edi, [esp + 0x18]
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
jne 0x410aa0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret 4
push ebx
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esi + 0x104], eax
test eax, eax
jne 0x410ac0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret 4
push eax
push ebx
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoA
mov edx, dword [esi + 0x104]
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0x447c40
push edx
call sub.VERSION.dll_VerQueryValueA
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 8]
shr ecx, 0x10
mov word [ebp], cx
mov dx, word [eax + 8]
mov word [esi + 0x10a], dx
mov ecx, dword [eax + 0xc]
shr ecx, 0x10
mov word [esi + 0x10c], cx
mov ax, word [eax + 0xc]
mov word [esi + 0x10e], ax
and eax, 0xffff
xor edx, edx
push eax
mov dx, cx
xor eax, eax
mov ax, word [esi + 0x10a]
xor ecx, ecx
mov cx, word [ebp]
push edx
push eax
push ecx
push str._d._d._d._d
lea eax, [esi + 0x110]
push 0x3f
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
push 0x103
push edi
push esi
call dword [sym.imp.MSVCRT.dll__mbsnbcpy]
add esp, 0x28
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret 4

Function at 0x410c80
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10c
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x118]
lea ecx, [esp + 0x14]
push eax
push str.SoftwareGloballinkGame_s
push 0xff
push ecx
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x10
lea edx, [esp + 8]
lea eax, [esp + 0x14]
mov dword [esp + 8], 0
push edx
push 1
push 0
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x410d1c
mov edx, dword [esp + 0x11c]
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x14]
push edx
push eax
push esi
push str.path
push ecx
mov dword [esp + 0x24], 0x103
mov dword [esp + 0x28], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp + 8]
mov esi, eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
test esi, esi
sete al
pop esi
add esp, 0x10c
ret 8
Function at 0x410f1d
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
cmp dword [ebp + 8], 0
jne 0x410f30
xor eax, eax
jmp 0x410fa4
mov ecx, dword [ebp - 8]
call fcn.00411018
test eax, eax
jne 0x410f40
xor eax, eax
jmp 0x410fa4
mov eax, dword [ebp - 8]
mov byte [eax + 0x38], 0
mov ecx, dword [ebp - 8]
call fcn.00411058
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0xc], ecx
mov edx, dword [ebp - 8]
mov dword [edx + 4], 0
mov eax, dword [ebp - 8]
mov dword [eax + 0x10], 0
lea ecx, [ebp - 4]
push ecx
push 0
mov edx, dword [ebp - 8]
push edx
push 0x411265
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov edx, dword [ebp - 8]
cmp dword [edx], 0
jne 0x410f9f
xor eax, eax
jmp 0x410fa4
mov eax, 1
mov esp, ebp
pop ebp
ret 8

Function at 0x41109d
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov esp, ebp
pop ebp
ret

Function at 0x4110b4
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov esp, ebp
pop ebp
ret
Function at 0x42372e
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43c2a2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov dword [ebp - 0x20], ecx
mov dword [ebp - 4], 0
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
lea eax, [ebp + 8]
push eax
call fcn.00430aaa
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x20]
call fcn.00423bfd
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x423793
mov dword [ebp - 0x14], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x14]
jmp 0x4237e1
lea ecx, [ebp + 8]
call fcn.004081e0
push eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
je 0x4237c8
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x18]
jmp 0x4237e1
mov dword [ebp - 0x1c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x42399f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43c2db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov dword [ebp - 0x24], ecx
mov dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push eax
push 1
push 0
mov ecx, dword [ebp - 0x24]
add ecx, 0xc
call fcn.004081e0
push eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ecx, dword [ebp - 0x24]
mov dword [ecx], eax
mov edx, dword [ebp - 0x24]
cmp dword [edx], 0
je 0x423a0d
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x18]
jmp 0x423a7b
mov dword [ebp - 0x10], 1
push 0
push 0
lea eax, [ebp - 0x10]
push eax
push 0
lea ecx, [ebp + 8]
call fcn.004081e0
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [ebp - 0x24]
mov dword [edx], eax
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x24]
cmp dword [ecx], 0
jne 0x423a62
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x1c]
jmp 0x423a7b
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4