joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4580cf
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [esp + 0x10]
test edi, edi
jle 0x458104
cmp edi, dword [esi + 0xc]
jge 0x458104
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x458104
cmp edi, dword [eax + 8]
jge 0x458104
mov eax, dword [eax + 0xc]
mov edi, dword [eax + edi*4]
jmp 0x458106
xor edi, edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
pop edi
pop esi
pop ebx
ret 4

Function at 0x45828d
Capabilities:
Allocate thread local storage

Disassembly:
xor eax, eax
push esi
mov esi, ecx
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x18], 4
mov dword [esi + 4], eax
mov dword [esi + 8], 1
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [esi], eax
jne 0x4582c1
jmp fcn.00424cc8
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, esi
pop esi
ret

Function at 0x458332
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
lea esi, [edi + 0x1c]
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp eax, ebx
jle 0x45842b
cmp eax, dword [edi + 0xc]
jge 0x45842b
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
cmp esi, ebx
je 0x458383
mov ecx, dword [ebp + 8]
cmp ecx, dword [esi + 8]
jl 0x458414
cmp dword [ebp + 0xc], ebx
je 0x458414
jmp 0x4583ad
push 0x10
call fcn.00457f9b
cmp eax, ebx
je 0x458399
mov ecx, eax
call fcn.0045825a
mov esi, eax
jmp 0x45839b
xor esi, esi
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov ecx, dword [edi + 0x14]
mov eax, dword [edi + 0x18]
mov dword [esi + eax], ecx
mov dword [edi + 0x14], esi
mov eax, dword [esi + 0xc]
cmp eax, ebx
jne 0x4583c4
mov eax, dword [edi + 0xc]
shl eax, 2
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
jmp 0x4583d4
mov ecx, dword [edi + 0xc]
push 2
shl ecx, 2
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
cmp eax, ebx
jne 0x4583e6
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.00424cc8
mov ecx, dword [esi + 8]
mov dword [esi + 0xc], eax
mov edx, dword [edi + 0xc]
sub edx, ecx
shl edx, 2
push edx
lea eax, [eax + ecx*4]
push ebx
push eax
call fcn.0040bc40
mov eax, dword [edi + 0xc]
add esp, 0xc
push esi
mov dword [esi + 8], eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x458426
cmp ecx, dword [esi + 8]
jge 0x458426
mov edx, dword [ebp + 0xc]
mov dword [eax + ecx*4], edx
push dword [ebp - 4]
jmp 0x45842c
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x458a29
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
mov eax, 0x463584
call fcn.0040bbe0
mov eax, 0x1014
call fcn.0040b430
mov eax, dword [0x47f078]
push ebx
push edi
xor edi, edi
mov dword [ebp - 0x101c], edi
cmp dword [ecx + 0x50], edi
mov dword [ebp - 0x10], eax
je 0x458b24
push dword [ebp + 0xc]
call fcn.0045897a
cmp eax, edi
mov dword [ebp - 0x1014], eax
jne 0x458a72
push dword [ebp + 0x14]
jmp 0x458b55
push esi
call fcn.00436b61
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp + 0xc], ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x1020]
push eax
push edi
lea eax, [ebp - 0x101c]
push eax
push edi
push dword [ebp + 0x10]
mov dword [ebp - 4], edi
push dword [ebp - 0x1014]
call esi
cmp eax, edi
mov dword [ebp - 0x1018], eax
jne 0x458aef
lea eax, [ebp - 0x1020]
push eax
push dword [ebp - 0x1020]
lea ecx, [ebp + 0xc]
call fcn.0040506a
push eax
lea eax, [ebp - 0x101c]
push eax
push edi
push dword [ebp + 0x10]
push dword [ebp - 0x1014]
call esi
push 0xffffffffffffffff
lea ecx, [ebp + 0xc]
mov dword [ebp - 0x1018], eax
call fcn.00404efd
mov ebx, dword [ebp + 0xc]
push dword [ebp - 0x1014]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x1018], edi
mov ecx, dword [ebp + 8]
pop esi
jne 0x458b12
lea eax, [ebp + 0xc]
push eax
call fcn.0040663b
jmp 0x458b1a
push dword [ebp + 0x14]
call fcn.004066f1
lea ecx, [ebx - 0x10]
call fcn.004040fd
jmp 0x458b5d
cmp dword [ebp + 0x14], edi
jne 0x458b30
mov dword [ebp + 0x14], 0x469278
push dword [ecx + 0x64]
lea eax, [ebp - 0x1010]
push 0x1000
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x1010]
push eax
mov ecx, dword [ebp + 8]
call fcn.004066f1
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.0040bb04
leave
ret 0x10

Function at 0x458d41
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x47f078]
push esi
push dword [ebp + 8]
mov dword [ebp - 4], eax
call fcn.0040c8af
mov esi, eax
test esi, esi
pop ecx
je 0x458de9
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, esi
je 0x458ddf
push edi
mov edi, SysReAllocStringLen
push ebx
push eax
push esi
mov byte [eax], 0
call fcn.0040d674
pop ecx
pop ecx
lea eax, [ebp - 0x110]
push eax
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x458ddd
push 0x105
lea eax, [ebp - 0x10c]
push eax
xor ebx, ebx
push ebx
push dword [ebp - 0x110]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x458db7
inc ebx
push dword [ebp - 0x110]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x458ddd
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push 0x5c
push esi
call fcn.0040d609
test eax, eax
pop ecx
pop ecx
jne 0x458d78
pop ebx
pop edi
push esi
call fcn.0040b526
xor eax, eax
pop ecx
inc eax
mov ecx, dword [ebp - 4]
pop esi
call fcn.0040bb04
leave
ret 4
Function at 0x4017bf
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
lea edx, [ecx + 0x18]
add edx, eax
movzx eax, word [ecx + 6]
imul esi, eax, 0x28
add esi, edx
jmp 0x4017f4
mov ecx, dword [edx + 0xc]
cmp dword [ebp + 0xc], ecx
jb 0x4017f1
mov eax, dword [edx + 8]
add eax, ecx
cmp dword [ebp + 0xc], eax
jb 0x4017fd
add edx, 0x28
cmp edx, esi
jne 0x4017df
xor eax, eax
pop esi
pop ebp
ret
mov eax, edx
jmp 0x4017fa

Function at 0x401c42
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401c81
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401c81
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401c81
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401c81
cmp dword [ecx + 0x74], 0xe
jbe 0x401c81
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x4078b4
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x407951
push ebx
push esi
call fcn.0040787d
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.00407813
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x4078fe
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x407950
push edi
push eax
call fcn.00405a40
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x40791e
call fcn.004059f0
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40794f
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00407813
add esp, 0x20
test eax, eax
jne 0x40793d
push edi
call fcn.004059f0
jmp 0x407945
push ebx
call fcn.004059f0
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x40e7b0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40e7dd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40e7dd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x401e8e
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x52c40e
call fcn.0050ad90
sub esp, 0x14
push ebx
mov ebx, ecx
push esi
push edi
lea ecx, [ebx + 0x24]
mov dword [ebp - 0x10], ebx
call fcn.0040288b
xor esi, esi
lea ecx, [ebx + 0x30]
mov dword [ebp - 4], esi
call fcn.0040288b
mov dword [ebx + 4], esi
mov dword [ebx + 0x1c], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
lea edi, [ebx + 0xc]
lea esi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 0xc]
and byte [ebx + 9], 0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
push edi
mov byte [ebp - 4], 1
mov byte [ebx + 8], 1
mov dword [ebx + 0x20], eax
mov byte [ebx + 0xa], 1
mov dword [ebx], esi
call sub.MSVCRT.dll_strlen
pop ecx
add eax, edi
push eax
push edi
lea ecx, [ebx + 0x24]
call fcn.00402538
call fcn.004b8bb3
push esi
push edi
mov ecx, eax
call fcn.004b8cae
mov esi, eax
push esi
call sub.MSVCRT.dll_strlen
pop ecx
add eax, esi
push eax
push esi
lea ecx, [ebx + 0x30]
call fcn.00402538
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x42c5e6
Capabilities:
Get common file path

Disassembly:
mov eax, 0x5317e9
call fcn.0050ad90
sub esp, 0x134
push ebx
push esi
lea eax, [ebp - 0x1c]
push edi
mov esi, ecx
push eax
call sub.MFC42.DLL_AfxVariantInit
xor ebx, ebx
cmp dword [ebp + 8], ebx
mov dword [ebp - 4], ebx
je 0x42c724
mov ecx, dword [esi + 0x60]
cmp ecx, ebx
je 0x42c62c
mov eax, dword [ecx]
call dword [eax + 0x60]
mov ecx, dword [esi + 0x60]
cmp ecx, ebx
je 0x42c62c
mov eax, dword [ecx]
push 1
call dword [eax + 4]
push 0x40
call sub.MFC42.DLL_operatornew
mov edi, eax
pop ecx
mov dword [ebp - 0x40], edi
cmp edi, ebx
mov byte [ebp - 4], 1
je 0x42c652
mov ecx, edi
call fcn.0050aa3c
mov dword [edi], 0x548968
mov eax, edi
jmp 0x42c654
xor eax, eax
mov dword [esi + 0x60], eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], bl
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebp - 0x24]
push 0xa
sub ecx, dword [ebp - 0x2c]
pop eax
push ebx
push ebx
sub ecx, 0xf
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x20]
sub ecx, dword [ebp - 0x28]
push ebx
push 0x64
push esi
sub ecx, eax
lea eax, [ebp - 0x3c]
push eax
push 0x50000000
mov dword [ebp - 0x30], ecx
mov ecx, dword [esi + 0x60]
push ebx
push 0x548958
mov dword [ebp - 0x38], 0x50
call sub.MFC42.DLL_CWnd::CreateControl
test eax, eax
je 0x42c724
mov al, byte [0x58db80]
push 0x3f
mov byte [ebp - 0x140], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x13f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x140]
push eax
push 0x100
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [ebp - 0x140]
push str.Help_
push eax
call sub.MSVCRT.dll_strcat
push dword [ebp + 8]
lea eax, [ebp - 0x140]
push eax
call sub.MSVCRT.dll_strcat
add esp, 0x10
lea eax, [ebp - 0x1c]
mov ecx, dword [esi + 0x60]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x140]
push eax
call fcn.0049516e
push 5
mov ecx, esi
call sub.MFC42.DLL_CWnd::ShowWindow
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x4316db
Capabilities:
Get common file path

Disassembly:
mov eax, 0x5320c7
call fcn.0050ad90
push ecx
push ebx
push esi
push edi
mov esi, ecx
push dword [ebp + 8]
mov dword [ebp - 0x10], esi
push 0x131
call sub.MFC42.DLL_CDialog::CDialog
lea edi, [esi + 0x60]
xor ebx, ebx
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.0050aa3c
mov dword [edi], 0x549d28
lea eax, [esi + 0xb8]
lea ecx, [ebp + 0xb]
push ebx
push ecx
lea ecx, [eax + 8]
mov byte [ebp - 4], 2
mov dword [eax], ebx
mov dword [eax + 4], ebx
call fcn.004ddbf8
lea eax, [esi + 0xc4]
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
lea eax, [esi + 0xd0]
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
lea ecx, [esi + 0x420]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x424]
mov byte [ebp - 4], 7
call fcn.00494d31
push 0x2132b
mov byte [ebp - 4], 8
mov dword [esi], 0x549c50
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
or dword [esi + 0x200], 0xffffffff
or dword [esi + 0x204], 0xffffffff
mov dword [esi + 0xa4], eax
xor eax, eax
xor ecx, ecx
mov dword [esi + 0xa8], eax
mov dword [esi + 0xac], ecx
mov dword [esi + 0x41c], ebx
mov dword [esi + 0x418], ebx
mov dword [esi + 0x414], ebx
mov dword [esi + 0x410], ebx
mov dword [esi + 0x40c], ebx
mov dword [esi + 0xb4], ebx
call dword [sym.imp.GraphicData.dll_GameDataSetQuery]
mov edx, dword [eax]
push str.French
mov ecx, eax
call dword [edx + 0x34]
push eax
call dword [sym.imp.MSVCRT.dll__stricmp]
pop ecx
test eax, eax
pop ecx
je 0x431825
push 0x448
call sub.MFC42.DLL_operatornew
pop ecx
mov ecx, eax
mov dword [ebp + 8], ecx
cmp ecx, ebx
mov byte [ebp - 4], 9
je 0x431801
call fcn.00476367
jmp 0x431803
xor eax, eax
cmp eax, ebx
mov byte [ebp - 4], 8
mov dword [esi + 0xb4], eax
jne 0x431825
push str.D:CQ2ClientCn_15.3.7_1018MyShellDlgLoginFlash.cpp
push 0x57
push 0x57e7d0
call fcn.00507881
add esp, 0xc
mov edi, 0x81
lea eax, [esi + 0x289]
push edi
push ebx
push eax
mov byte [esi + 0xa0], bl
mov dword [esi + 0x434], ebx
mov byte [esi + 0xb0], 1
mov byte [esi + 0x40a], bl
call sub.MSVCRT.dll_memset
push edi
lea eax, [esi + 0x208]
push ebx
push eax
call sub.MSVCRT.dll_memset
push 0x21
lea eax, [esi + 0x1dc]
push ebx
push eax
call sub.MSVCRT.dll_memset
push 0x100
lea eax, [esi + 0xdc]
push ebx
push eax
call sub.MSVCRT.dll_memset
add esp, 0x30
lea edi, [esi + 0x30a]
push edi
push 0xff
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push edi
call sub.MSVCRT.dll_strlen
cmp byte [eax + esi + 0x309], 0x5c
pop ecx
jne 0x4318b4
push edi
call sub.MSVCRT.dll_strlen
pop ecx
mov byte [eax + esi + 0x309], bl
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x433217
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
mov eax, 0x532288
call fcn.0050ad90
sub esp, 0x2a4
mov eax, dword [ecx + 0xc8]
push esi
lea esi, [ecx + 0xc4]
push eax
mov ecx, dword [esi]
push ecx
mov ecx, esi
call fcn.00405843
lea eax, [ebp - 0x2b0]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x4332e6
push ebx
push edi
lea eax, [ebp - 0x120]
push 0x104
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jne 0x4332de
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov ebx, eax
test ebx, ebx
je 0x4332de
xor edi, edi
mov eax, dword [ebx + 0xc]
add eax, edi
cmp dword [eax], 0
je 0x4332de
mov eax, dword [eax]
and dword [ebp - 4], 0
lea ecx, [ebp - 0xd]
push ecx
push dword [eax]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004027c1
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
mov byte [ebp - 4], 1
call fcn.0040cb42
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 2
sub eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 0
je 0x4332d5
push eax
push dword [ebp - 0x1c]
call fcn.0040279c
pop ecx
pop ecx
or dword [ebp - 4], 0xffffffff
add edi, 4
jmp 0x433286
call dword [sym.imp.WS2_32.dll_WSACleanup]
pop edi
pop ebx
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x434401
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
push ebx
push esi
push edi
push 0x40
xor bl, bl
pop ecx
xor eax, eax
lea edi, [ebp - 0x21b]
mov byte [ebp - 0x21c], bl
push dword [ebp + 8]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push str._s.
lea eax, [ebp - 0x21c]
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.MSVCRT.dll__findfirst]
mov esi, eax
add esp, 0x18
cmp esi, 0xffffffff
jne 0x434461
mov al, 1
jmp 0x4344c0
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 0x10
je 0x4344a0
lea eax, [ebp - 0x104]
push 0x57ec18
push eax
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
je 0x4344a0
lea eax, [ebp - 0x104]
push 0x57ec14
push eax
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
jne 0x4344b6
lea eax, [ebp - 0x118]
push eax
push esi
call dword [sym.imp.MSVCRT.dll__findnext]
pop ecx
test eax, eax
pop ecx
je 0x434461
mov bl, 1
push esi
call dword [sym.imp.MSVCRT.dll__findclose]
pop ecx
mov al, bl
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43dc98
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, 0x53596a
call fcn.0050ad90
push ecx
push esi
push edi
push dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x10], esi
push 0xe9
call sub.MFC42.DLL_CDialog::CDialog
xor edi, edi
lea ecx, [esi + 0x94]
mov dword [ebp - 4], edi
call fcn.00494142
lea ecx, [esi + 0x1f4]
mov byte [ebp - 4], 1
call fcn.00494142
lea ecx, [esi + 0x354]
mov byte [ebp - 4], 2
call fcn.00494142
lea ecx, [esi + 0x4b4]
mov byte [ebp - 4], 3
call fcn.00494142
lea ecx, [esi + 0x614]
mov byte [ebp - 4], 4
call fcn.00494142
lea ecx, [esi + 0x774]
mov byte [ebp - 4], 5
call fcn.00494142
lea ecx, [esi + 0x8d4]
mov byte [ebp - 4], 6
call fcn.00494142
lea ecx, [esi + 0xa34]
mov byte [ebp - 4], 7
call fcn.00494142
lea ecx, [esi + 0xb94]
mov byte [ebp - 4], 8
call fcn.00494142
lea ecx, [esi + 0xcf4]
mov byte [ebp - 4], 9
call fcn.00494142
lea ecx, [esi + 0xe54]
mov byte [ebp - 4], 0xa
call fcn.00494142
lea ecx, [esi + 0xfb4]
mov byte [ebp - 4], 0xb
call fcn.00494142
lea ecx, [esi + 0x1114]
mov byte [ebp - 4], 0xc
call fcn.00477d75
lea ecx, [esi + 0x1238]
mov byte [ebp - 4], 0xd
call fcn.00477d75
lea ecx, [esi + 0x135c]
mov byte [ebp - 4], 0xe
call fcn.00477d75
lea ecx, [esi + 0x1480]
mov byte [ebp - 4], 0xf
call fcn.00477d75
lea ecx, [esi + 0x15a4]
mov byte [ebp - 4], 0x10
call fcn.00477d75
lea ecx, [esi + 0x16c8]
mov byte [ebp - 4], 0x11
call fcn.00477d75
lea ecx, [esi + 0x17ec]
mov byte [ebp - 4], 0x12
call fcn.00470c62
lea ecx, [esi + 0x18bc]
mov byte [ebp - 4], 0x13
call fcn.00470c62
lea ecx, [esi + 0x198c]
mov byte [ebp - 4], 0x14
call fcn.00470c62
lea ecx, [esi + 0x1a5c]
mov byte [ebp - 4], 0x15
call fcn.00470c62
lea ecx, [esi + 0x1b2c]
mov byte [ebp - 4], 0x16
call fcn.00470c62
lea ecx, [esi + 0x1bfc]
mov byte [ebp - 4], 0x17
call fcn.00470c62
lea ecx, [esi + 0x1ccc]
mov byte [ebp - 4], 0x18
call fcn.00470c62
lea ecx, [esi + 0x1d9c]
mov byte [ebp - 4], 0x19
call fcn.00470c62
lea ecx, [esi + 0x1e6c]
mov byte [ebp - 4], 0x1a
call fcn.00470c62
lea ecx, [esi + 0x1f3c]
mov byte [ebp - 4], 0x1b
call fcn.00470c62
lea ecx, [esi + 0x200c]
mov byte [ebp - 4], 0x1c
call fcn.00470c62
lea ecx, [esi + 0x20dc]
mov byte [ebp - 4], 0x1d
call fcn.00470c62
lea ecx, [esi + 0x21ac]
mov byte [ebp - 4], 0x1e
call fcn.00470c62
lea ecx, [esi + 0x227c]
mov byte [ebp - 4], 0x1f
call fcn.00470c62
lea ecx, [esi + 0x234c]
mov byte [ebp - 4], 0x20
call fcn.00470c62
lea ecx, [esi + 0x241c]
mov byte [ebp - 4], 0x21
call fcn.00470c62
lea ecx, [esi + 0x24ec]
mov byte [ebp - 4], 0x22
call fcn.00470c62
lea ecx, [esi + 0x25bc]
mov byte [ebp - 4], 0x23
call fcn.00470c62
push 0x2132b
mov dword [esi], 0x54a848
mov dword [esi + 0x60], edi
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
fldz
mov dword [esi + 0x6c], eax
mov dword [esi + 0x90], edi
fstp dword [esi + 0x8c]
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], edi
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x80], edi
mov dword [esi + 0x84], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x473b76
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Get kernel32 base address
Get number of processors

Disassembly:
mov ecx, 0x58dd28
jmp 0x473b6a
mov eax, 0x539a6d
call fcn.0050ad90
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x50]
call fcn.00474e92
xor ebx, ebx
lea ecx, [esi + 0x70]
mov dword [ebp - 4], ebx
call fcn.0040288b
lea eax, [esi + 0x7c]
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
push 6
mov edi, 0x58db80
pop eax
mov byte [ebp - 4], 2
push 0xb
mov dword [esi + 4], eax
fldz
pop ecx
mov dword [esi + 0xc], eax
fstp dword [esi + 0x44]
push 8
mov dword [esi], 0x5510d4
pop eax
mov dword [esi + 8], ecx
fldz
push edi
mov dword [esi + 0x10], 0xc
fstp dword [esi + 0x48]
mov dword [esi + 0x14], 7
mov dword [esi + 0x18], 0xd
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], 0xf
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], 0x10
mov dword [esi + 0x2c], 0xa
mov dword [esi + 0x30], 0x13
mov dword [esi + 0x34], ecx
mov dword [esi + 0x38], 0x15
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x6c], ebx
mov byte [esi + 0x68], bl
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x60], ebx
call sub.MSVCRT.dll_strlen
pop ecx
add eax, edi
push eax
push edi
lea ecx, [esi + 0x70]
call fcn.00402538
lea eax, [esi + 0x5c]
push ebx
push eax
push str.State
mov edi, str.GuiSetup.ini
push str.AutoWrite
push edi
call fcn.005075df
lea eax, [esi + 0x64]
push ebx
push eax
push str.Status
push str.ExtraWrite
push edi
call fcn.005075df
add esp, 0x28
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret

Function at 0x47627c
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov esi, ecx
push 0x2a
xor edi, edi
call fcn.0047631e
test eax, eax
jne 0x47629a
push 0x36
mov ecx, esi
call fcn.0047631e
test eax, eax
je 0x47629d
push 1
pop edi
mov al, byte [esp + 0xc]
cmp al, 0x10
jb 0x4762a9
cmp al, 0x19
jbe 0x4762b9
cmp al, 0x1e
jb 0x4762b1
cmp al, 0x26
jbe 0x4762b9
cmp al, 0x2c
jb 0x4762e1
cmp al, 0x32
ja 0x4762e1
push 0x14
call dword [sym.imp.USER32.dll_GetKeyState]
and eax, 0xff
test ax, ax
je 0x4762d4
test edi, edi
je 0x4762d8
test ax, ax
jne 0x4762dd
test edi, edi
je 0x4762dd
push 1
pop eax
jmp 0x4762e3
xor eax, eax
jmp 0x4762e3
mov eax, edi
pop edi
pop esi
ret 4