joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43fd50
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x43fd83
push esi
call fcn.00442e40
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43fd7c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x43fe09
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43fdf2
mov eax, dword [esi + 8]
test eax, eax
je 0x43fda7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x43fdee
cmp eax, 2
je 0x43fdf2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43fd9a
cmp eax, 3
je 0x43fdcd
cmp eax, 1
jne 0x43fd9a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x43fd9a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43fd9a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0043fe30
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x43fe18
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0043fe30
add esp, 4
pop esi
ret

Function at 0x44b950
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x44b9f3
test eax, eax
jbe 0x44b9f3
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x44b9f3
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x44b99e
xor esi, esi
jmp 0x44b9a4
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x44b9cf
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.004045f0
add esi, eax
push esi
mov ebx, esi
call fcn.004045f0
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x44b9b0
pop ebp
test edi, edi
pop edi
jne 0x44b9f3
test ebx, ebx
je 0x44b9f3
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.004537a0
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x44bb35
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x44bc4d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x44bc4d
mov eax, dword [esi + 0x3c]
push eax
call fcn.00464a44
mov esi, eax
test esi, esi
je 0x44bc4d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x44bc4d
mov ecx, esi
call fcn.0044baa0
cmp edi, eax
jge 0x44bc4d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x44bbd3
mov dword [esp + 0x34], 1
jmp 0x44bc2e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x44bc4d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.0044b090
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x44da10
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x44da76
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x44da76
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x44da57
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret
Function at 0x44e5b0
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ecx
push esi
mov esi, ecx
call fcn.0044e700
push 0
push 1
push 2
call sub.WS2_32.dll_socket
mov dword [esi], eax
cmp eax, 0xffffffff
pop esi
jne 0x44e5d0
xor eax, eax
pop ecx
ret
lea ecx, [esp]
push 4
push ecx
push 0x1001
push 0xffff
push eax
mov dword [esp + 0x14], 0
call sub.WS2_32.dll_setsockopt
mov eax, 1
pop ecx
ret

Function at 0x44e5b1
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ecx
push esi
mov esi, ecx
call fcn.0044e700
push 0
push 1
push 2
call sub.WS2_32.dll_socket
mov dword [esi], eax
cmp eax, 0xffffffff
pop esi
jne 0x44e5d0
xor eax, eax
pop ecx
ret
lea ecx, [esp]
push 4
push ecx
push 0x1001
push 0xffff
push eax
mov dword [esp + 0x14], 0
call sub.WS2_32.dll_setsockopt
mov eax, 1
pop ecx
ret

Function at 0x44e600
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x10
xor eax, eax
push esi
push edi
mov dword [esp + 8], eax
mov edi, ecx
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x10], eax
push ecx
mov dword [esp + 0x18], eax
mov word [esp + 0xc], 2
call sub.WS2_32.dll_htons
mov esi, dword [esp + 0x1c]
mov word [esp + 0xa], ax
push esi
call sub.WS2_32.dll_inet_addr
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x44e657
push esi
call sub.WS2_32.dll_gethostbyname
test eax, eax
je 0x44e66d
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [esp + 0xc], ecx
lea edx, [esp + 8]
push 0x10
push edx
mov ecx, edi
call fcn.0044e690
pop edi
pop esi
add esp, 0x10
ret 8
push 0x2726
call sub.WS2_32.dll_WSASetLastError
pop edi
xor eax, eax
pop esi
add esp, 0x10
ret 8

Function at 0x44e690
Capabilities:
Connect socket

Disassembly:
mov eax, dword [esp + 8]
mov edx, dword [esp + 4]
push eax
mov eax, dword [ecx]
push edx
push eax
call sub.WS2_32.dll_connect
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
ret 8

Function at 0x44e720
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x44e769
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4
Function at 0x44ebe0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x471680
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.0044e790
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0044e810
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.0044e810
lea ecx, [esi + 0xc]
call fcn.00462fce
lea ecx, [esi + 0x10]
call fcn.00462fce
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.00451040
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.00451040
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.00451040
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.00463043
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.00463043
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x44f888
Capabilities:
Get hostname

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4718a8
push eax
mov dword fs:[0], esp
sub esp, 0x64
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
test eax, eax
je 0x44f898
call fcn.0044fdb0
mov edi, dword [esp + 0x7c]
test edi, edi
je 0x44f97b
cmp byte [edi], 0
je 0x44f97b
mov eax, dword [esp + 0x8c]
test eax, eax
jg 0x44f8bd
mov eax, 0x7d0
mov ecx, esi
mov dword [esi + 8], eax
call fcn.0044e5b0
test eax, eax
jne 0x44f8dd
push 0xb5d488
lea ecx, [esi + 0x38]
call fcn.00463180
jmp 0x44f97b
mov eax, dword [esp + 0x80]
mov ecx, esi
push eax
push edi
call fcn.0044e600
test eax, eax
jne 0x44f90c
mov ecx, esi
call fcn.0044e700
push edi
add esi, 0x38
push 0xb5d464
push esi
call fcn.00460e47
add esp, 0xc
jmp 0x44f97b
push 0xdc
mov ecx, esi
mov dword [esi + 4], 1
call fcn.00450630
test eax, eax
je 0x44f974
lea ecx, [esp + 8]
push 0x64
push ecx
call sub.WS2_32.dll_gethostname
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x84]
lea edx, [esp + 0x8c]
mov dword [esp + 0x8c], 1
push edx
push eax
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, esi
call fcn.0044fa50
test eax, eax
jne 0x44f990
push edi
lea eax, [esi + 0x38]
push 0xb5d440
push eax
call fcn.00460e47
add esp, 0xc
mov ecx, esi
call fcn.0044fdb0
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
add esp, 0x70
ret 0x14
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x44fa38
mov ecx, dword [0xb5d6f8]
mov dword [esp + 0x7c], ecx
lea edx, [esp + 8]
lea eax, [esp + 0x7c]
push edx
push str.HELO__s_r_n
push eax
mov dword [esp + 0x80], 0
call fcn.00460e47
mov edx, dword [esp + 0x88]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
mov ecx, esi
call fcn.0044e6b0
test eax, eax
jne 0x44f9fa
push 0xb5d424
lea ecx, [esi + 0x38]
call fcn.00463180
jmp 0x44fa0a
push 0xfa
mov ecx, esi
call fcn.00450630
test eax, eax
jne 0x44fa27
mov ecx, esi
call fcn.0044fdb0
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.00463043
jmp 0x44f97b
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.00463043
mov ecx, dword [esp + 0x6c]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x70
ret 0x14
Function at 0x4653e7
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x46541f
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0046349e
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00463476
jmp 0x46542b
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x466ad5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x466b17
call fcn.0046c651
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x466b17
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x466b0e
xor eax, eax
jmp 0x466b1f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00466b25
pop edi
pop esi
pop ebx
ret 4

Function at 0x46cb81
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x46cbaf
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46cbcd
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0046cae7
jmp 0x46cbcd
mov eax, dword [esi + 0x14]
test eax, eax
je 0x46cbcd
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0046cae7
test edi, edi
mov eax, edi
jne 0x46cbb7
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4010f0
Capabilities:
Accept command line arguments
Check for time delay via gettickcount
Check if file exists
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push ebx
push esi
push edi
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
mov dword [ebp + 8], edi
mov dword [section..data], edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
cmp word [eax], 0x22
mov ebx, eax
jne 0x40113a
push 0x4020a0
add eax, 2
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrW]
lea esi, [eax + 2]
mov dword [ebp + 0x10], esi
jmp 0x40114e
push 0x4020a4
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrW]
add eax, 2
mov dword [ebp + 0x10], eax
mov esi, eax
cmp esi, ebx
jb 0x401160
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [ebx + eax*2]
cmp esi, eax
jbe 0x401167
mov dword [ebp + 0x10], 0
push 0x104
lea ecx, [ebp - 0x208]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x4020a8
lea edx, [ebp - 0x208]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
push 8
mov ebx, eax
push 0
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
je 0x4011dd
call edi
push str.StormPlayer_WinMain
mov edi, eax
push esi
sub edi, ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4011d1
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
push edi
push ebx
push 1
push ecx
push edx
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x401282
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x208]
push eax
call esi
test eax, eax
je 0x40126e
mov ebx, dword [ebp + 8]
push 0x104
lea ecx, [ebp - 0x208]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str...Crt.dll
lea edx, [ebp - 0x208]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x208]
push eax
call esi
test eax, eax
je 0x40126e
push 0x10
push 0x4020e8
push 0x4020f8
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
call fcn.00401040
test al, al
je 0x401282
call edi
push 8
push 0
lea ecx, [ebp - 0x208]
push ecx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test eax, eax
je 0x401282
mov edx, dword [ebp + 0x10]
push 1
push edx
push ebx
mov ebx, eax
call fcn.00401000
add esp, 0xc
jmp 0x401282
push 0x10
push 0x4020e8
push 0x402158
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x401170
Capabilities:
Create http request

Disassembly:
mov eax, 1
test byte [0x4205e0], al
jne 0x4011a8
or dword [0x4205e0], eax
push 0
push 0
push 0
push 0
push str.QQ_Bug_Report_Tool
call dword [sym.imp.WININET.dll_InternetOpenA]
push 0x416c50
mov dword [0x4205e4], eax
call fcn.00413eea
add esp, 4
mov eax, 0x4205e4
ret
Function at 0x404ed0
Capabilities:
Get number of processors
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x415da3
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x42001c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x48], 0
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringA::constructor_void_]
mov dword [ebp - 4], 1
mov eax, dword [esi]
mov ecx, dword [eax + 0x30]
movzx edx, word [eax + 0x138]
push ecx
movzx ecx, word [eax + 0x5e8]
imul ecx, ecx, 0x64
push edx
movzx edx, word [eax + 0x5ea]
add ecx, edx
imul ecx, ecx, 0x2710
add ecx, dword [eax + 0x5ec]
lea eax, [ebp - 0x40]
push ecx
push str.AppVer_lueip_xcode_x
push eax
call dword [sym.imp.Common.dll_public:_void___cdecl_CTXStringA::Format_char_const__]
add esp, 0x14
lea ecx, [esi + 0x18]
push ecx
lea ecx, [ebp - 0x40]
call dword [0x417150]
lea ecx, [ebp - 0x40]
call dword [sym.imp.Common.dll_public:_class_CTXStringA____thiscall_CTXStringA::MakeLower_void_]
lea ecx, [ebp - 0x40]
call dword [sym.imp.Common.dll_public:_int___thiscall_CTXStringA::GetLength_void_const]
push eax
push 0
lea ecx, [ebp - 0x40]
call dword [sym.imp.Common.dll_public:_char____thiscall_CTXStringA::GetBuffer_int_]
push eax
lea edx, [ebp - 0x20]
push edx
call fcn.00413d10
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x44]
push ecx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], eax
call dword [sym.imp.MSVCR80.dll__time32]
mov edx, dword [esi]
mov eax, dword [ebp - 0x44]
add esp, 0x10
cmp byte [edx + 0x5f1], 0
je 0x404fbf
or eax, 1
jmp 0x404fc2
and eax, 0xfffffffe
push eax
push 0x418548
lea eax, [ebp - 0x2c]
push 0xa
push eax
call dword [sym.imp.MSVCR80.dll__snprintf]
lea ecx, [ebp - 0x3c]
push ecx
push edi
mov eax, 0x18
call fcn.004114d0
add esp, 0x18
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x48], 1
mov byte [ebp - 4], 0
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringA::destructor_void_]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00413efc
mov esp, ebp
pop ebp
ret
Function at 0x406420
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x414c13
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x42001c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], 0
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_void_]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], 1
mov edx, dword [ecx + 4]
push eax
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
jne 0x406486
lea eax, [ebp - 0x10]
push eax
mov ecx, edi
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__]
jmp 0x4064ba
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
add eax, 1
push eax
push eax
lea ecx, [ebp - 0x10]
call dword [sym.imp.Common.dll_public:_wchar_t____thiscall_CTXStringW::GetBuffer_int_]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::ReleaseBuffer_int_]
lea ecx, [ebp - 0x10]
push ecx
mov ecx, edi
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__]
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], 1
mov byte [ebp - 4], 0
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x406550
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x406581
test byte [ebp + 0x10], 2
jne 0x406581
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
movsx eax, ax
and eax, 0x80000000
neg eax
sbb eax, eax
and eax, 0xfffbff00
add eax, 0x40100
pop ebp
ret 0xc
mov eax, 0x40101
pop ebp
ret 0xc
Function at 0x4076e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x415caa
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push esi
mov eax, dword [0x42001c]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
xor esi, esi
cmp dword [ebp + 0xc], esi
jl 0x407717
cmp dword [ebp + 0x10], esi
jge 0x407739
lea eax, [esp + 0x14]
push eax
push edi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
call dword [sym.imp.USER32.dll_ClientToScreen]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0x10], edx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 2
push 0xffffffffffffffff
xor eax, eax
push 0x100c
push edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x1c], 0xffffffff
call ebx
mov esi, eax
cmp esi, 0xffffffff
je 0x40785d
push 0x30
lea eax, [esp + 0x40]
push 0
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
lea ecx, [esp + 0x38]
push ecx
push 0
push 0x104b
push edi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], 0
mov dword [esp + 0x48], 4
call ebx
lea ecx, [esp + 0x14]
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_void_]
mov ecx, dword [esp + 0x58]
xor eax, eax
test ecx, ecx
je 0x4077be
mov eax, ecx
cmp dword [esp + 0x10], 0
jne 0x4077cb
mov dword [esp + 0x10], eax
jmp 0x4077e7
add dword [esp + 0xc], 1
push 0x5c
push eax
call dword [sym.imp.MSVCR80.dll_wcsrchr]
mov edx, dword [esp + 0x14]
add esp, 8
add eax, 2
mov dword [esp + edx*4 + 0x28], eax
lea ecx, [esp + 0x14]
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
push 2
push esi
push 0x100c
push edi
call ebx
mov esi, eax
cmp esi, 0xffffffff
jne 0x407774
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40785d
mov ecx, dword [esp + 0xc]
mov esi, dword [ebp + 8]
add ecx, 1
push ecx
lea edx, [esp + 0x2c]
push edx
push eax
mov eax, dword [esi + 4]
push eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.00412dd0
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x78], 0
mov edx, dword [esi + 4]
push edx
push eax
push ecx
lea eax, [esp + 0x28]
call fcn.00413060
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x7c], 0xffffffff
call fcn.00407880
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x408710
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x416ab4
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x42001c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [ebp + 8]
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_void_]
mov dword [ebp - 4], 0
call fcn.004010b0
mov edx, dword [eax]
mov eax, dword [edx + 0x1c]
push eax
lea eax, [ebp + 8]
push 0x417eec
push eax
call dword [sym.imp.Common.dll_public:_void___cdecl_CTXStringW::Format_wchar_t_const__]
add esp, 0xc
push 0x37
lea ecx, [ebp + 8]
call dword [sym.imp.Common.dll_public:_int___thiscall_CTXStringW::ReverseFind_wchar_t_const]
mov esi, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
mov edi, eax
cmp edi, 0xffffffff
je 0x4087fe
lea ecx, [ebp + 8]
call dword [sym.imp.Common.dll_public:_int___thiscall_CTXStringW::GetLength_void_const]
sub eax, 1
cmp edi, eax
jne 0x4087fe
mov edi, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_wchar_t_const__]
push 0x418d74
lea ecx, [ebp - 0x18]
call edi
push 0x418d74
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call edi
push 0x418d74
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call edi
push 1
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x10]
push edx
mov byte [ebp - 4], 3
call fcn.00401170
push eax
lea ecx, [ebp - 0x18]
call fcn.0040afc0
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call esi
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call esi
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4