joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42e7e3
Capabilities:
Check os version
Create process on windows

Disassembly:
push 0x164
mov eax, 0x5067f7
call fcn.004d9a2f
xor edi, edi
push edi
push 0x80
push 3
push edi
push 1
mov esi, ecx
push SysReAllocString
push esi
mov ebx, edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x130], eax
cmp eax, 0xffffffff
je 0x42e924
push 0x38
lea eax, [ebp - 0x168]
push edi
push eax
call fcn.004d8ce0
add esp, 0xc
push 0x114
lea eax, [ebp - 0x128]
push edi
push eax
mov dword [ebp - 0x16c], 0x3c
mov dword [ebp - 0x168], 0x40
mov dword [ebp - 0x164], edi
call fcn.004d8ce0
add esp, 0xc
lea eax, [ebp - 0x128]
push eax
mov dword [ebp - 0x128], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x42e88d
cmp dword [ebp - 0x124], 6
mov dword [ebp - 0x160], str.runas
jae 0x42e897
mov dword [ebp - 0x160], str.open
lea eax, [ebp - 0x16c]
push eax
mov dword [ebp - 0x15c], esi
mov dword [ebp - 0x158], ebx
mov dword [ebp - 0x154], edi
mov dword [ebp - 0x150], 1
mov dword [ebp - 0x14c], edi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ebx, dword [ebp - 0x134]
push 0xffffffffffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x12c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x130]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push ebx
call esi
cmp dword [0x5500d4], edi
je 0x42e91c
push dword [ebp - 0x12c]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x5500d4]
push eax
push str._INFO___d___RunExe_ret__d_.
call fcn.0042749e
add esp, 0xc
mov eax, dword [ebp - 0x12c]
jmp 0x42e950
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [0x5500d4], edi
je 0x42e94d
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x5500d4]
push eax
push str._ERROR___d___RunExe_failed__err__d_
call fcn.0042749e
add esp, 0xc
or eax, 0xffffffff
call fcn.004d9ab2
ret

Function at 0x42f0f6
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x198
mov eax, dword [0x54b3f0]
xor eax, esp
mov dword [esp + 0x194], eax
lea eax, [esp]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x42f13d
cmp byte [esp], 2
jne 0x42f137
mov eax, dword [esp]
shr eax, 8
cmp al, 2
jne 0x42f137
dec al
jmp 0x42f13f
call dword [sym.imp.WS2_32.dll_WSACleanup]
xor al, al
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.004d57db
mov esp, ebp
pop ebp
ret
Function at 0x42f4c7
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x54b3f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
xor ebx, ebx
push edi
mov esi, ecx
mov dword [ebp - 0x114], eax
cmp eax, ebx
je 0x42f519
cmp dword [ebp + 0xc], ebx
jl 0x42f519
cmp byte [esi + 0xc], bl
jne 0x42f52d
cmp dword [0x5500d4], ebx
je 0x42f519
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x5500d4]
push eax
push str._ERROR___d___socket__receive_failed__no_connected.
call fcn.0042749e
pop ecx
pop ecx
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004d57db
leave
ret 8
mov eax, dword [esi + 4]
mov dword [ebp - 0x10c], eax
lea eax, [ebp - 0x11c]
push eax
push ebx
push ebx
lea eax, [ebp - 0x110]
push eax
push ebx
mov dword [ebp - 0x11c], 0x1e
mov dword [ebp - 0x118], ebx
mov dword [ebp - 0x110], 1
call dword [sym.imp.WS2_32.dll_select]
mov edi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp edi, 0xffffffff
jne 0x42f599
cmp dword [0x5500d4], ebx
je 0x42f519
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._ERROR___d___socket__receive_failed__select_err__d_.
mov ecx, dword [0x5500d4]
call fcn.0042749e
add esp, 0xc
jmp 0x42f519
cmp edi, ebx
jne 0x42f5b8
cmp dword [0x5500d4], ebx
je 0x42f519
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._WARN___d___socket__receive_failed__select_ret_0___err__d_.
jmp 0x42f589
push ebx
push dword [ebp + 0xc]
push dword [ebp - 0x114]
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_recv]
mov edi, eax
cmp edi, ebx
jne 0x42f5fe
cmp dword [0x5500d4], ebx
je 0x42f5f2
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x5500d4]
push eax
push str._WARN___d___socket__receive_failed__size_0_.
call fcn.0042749e
pop ecx
pop ecx
call fcn.0042f4ab
mov eax, edi
jmp 0x42f51c
cmp edi, 0xffffffff
jne 0x42f5f7
cmp dword [0x5500d4], ebx
je 0x42f519
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._ERROR___d___socket__receive_failed__err__d_
jmp 0x42f589
Function at 0x42f690
Capabilities:
Get socket status
Send data
Send data on socket

Disassembly:
push ebp
lea ebp, [esp - 0x90]
sub esp, 0x110
mov eax, dword [0x54b3f0]
xor eax, ebp
mov dword [ebp + 0x8c], eax
push ebx
xor ebx, ebx
cmp edi, ebx
je 0x42f71a
xor eax, eax
inc eax
cmp dword [ebp + 0x98], eax
jl 0x42f71a
cmp byte [esi + 0xc], bl
je 0x42f71a
mov dword [ebp - 0x78], eax
mov eax, dword [esi + 4]
push 0xfc
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x70]
push ebx
push eax
mov dword [ebp - 0x80], 0x1e
mov dword [ebp - 0x7c], ebx
call fcn.004d8ce0
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
push ebx
lea eax, [ebp - 0x78]
push eax
push ebx
push ebx
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 0xffffffff
je 0x42f71a
cmp eax, ebx
je 0x42f71a
push ebx
push dword [ebp + 0x98]
push edi
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
setne al
jmp 0x42f71c
xor al, al
mov ecx, dword [ebp + 0x8c]
xor ecx, ebp
pop ebx
call fcn.004d57db
add ebp, 0x90
leave
ret 4

Function at 0x42f734
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x54b3f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push esi
push edi
cmp dword [ebp + 8], ebx
je 0x42f75d
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x42f761
xor eax, eax
jmp 0x42f778
lea edi, [eax + eax]
mov eax, edi
call fcn.004d92d0
mov esi, esp
push 3
push edi
push dword [ebp + 8]
call fcn.0042f015
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
cmp eax, ebx
je 0x42f78e
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
cmp eax, ebx
je 0x42f78e
mov ebx, dword [eax]
mov eax, ebx
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d57db
leave
ret 4
Function at 0x430486
Capabilities:
Terminate thread

Disassembly:
push ebx
mov bl, 1
test esi, esi
je 0x4304b3
cmp esi, 0xffffffff
je 0x4304b3
push dword [esp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4304af
push 0
push esi
xor bl, bl
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov al, bl
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x43130b
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
xor edi, edi
cmp eax, edi
je 0x431369
cmp dword [esi + 0x24], edi
jne 0x431369
mov dword [esi + 0x24], eax
lea eax, [ebp - 4]
push eax
push edi
push esi
push 0x4312aa
push 0x500000
push edi
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
cmp eax, edi
je 0x431348
cmp eax, 0xffffffff
je 0x431348
mov al, 1
jmp 0x43136b
cmp dword [0x5500d4], edi
je 0x431369
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x5500d4]
push eax
push str._ERROR___d___create_download_main_thread_failed_
call fcn.0042749e
pop ecx
pop ecx
xor al, al
pop edi
leave
ret
Function at 0x432e61
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x54b3f0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
push ebx
push esi
push edi
je 0x432e8b
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x432e8f
xor eax, eax
jmp 0x432ea6
lea edi, [eax + eax]
mov eax, edi
call fcn.004d92d0
mov esi, esp
push 3
push edi
push dword [ebp + 8]
call fcn.0042f015
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov esi, eax
test esi, esi
je 0x432eeb
mov edi, dword [ebp + 0xc]
call fcn.00435069
mov ebx, dword [esi + 0xc]
mov eax, dword [ebx]
test eax, eax
je 0x432eeb
and dword [ebp - 8], 0
mov eax, dword [eax]
mov esi, dword [ebp + 0xc]
lea edi, [ebp - 0xc]
mov dword [ebp - 0xc], eax
call fcn.00435c8b
push eax
push esi
lea esi, [ebp - 0x14]
call fcn.004357b1
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x432ec8
mov ecx, dword [ebp + 0xc]
xor eax, eax
cmp dword [ecx + 8], eax
setne al
lea esp, [ebp - 0x20]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d57db
leave
ret 8
Function at 0x433ece
Capabilities:
Get file size
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [esi + 0x54]
push ebx
push edi
xor edi, edi
mov byte [ebp - 1], 0
cmp eax, edi
je 0x433fd6
cmp dword [esi + 0x60], edi
je 0x433fd6
cmp byte [eax + 0x70], 0
je 0x433fd6
cmp dword [esi + 0x5c], edi
je 0x433fd6
lea eax, [ebp - 8]
push eax
push esi
call fcn.00433a56
push edi
push 0x80
push 3
push edi
push 3
push 0xc0000000
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x433f3d
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.00403eb2
jmp 0x433fd6
lea eax, [ebp - 0x18]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x433fc0
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
push 0xfffffffffffffffc
pop eax
push 2
lea edx, [ebp - 0x20]
push edx
or ecx, 0xffffffff
push ecx
push eax
push ebx
call edi
test eax, eax
je 0x433fc0
and dword [ebp - 0xc], 0
push 0
lea eax, [ebp - 0xc]
push eax
push 4
lea eax, [esi + 0x5c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x433fc0
mov ecx, dword [esi + 0x50]
imul ecx, ecx, 0x18
push 0xfffffffffffffffc
pop eax
push 2
sub eax, ecx
cdq
lea ecx, [ebp - 0x28]
push ecx
push edx
push eax
push ebx
call edi
test eax, eax
je 0x433fc0
and dword [ebp - 0x10], 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esi + 0x50]
imul eax, eax, 0x18
push eax
push dword [esi + 0x60]
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x433fc0
mov byte [ebp - 1], 1
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.00403eb2
test ebx, ebx
je 0x433fd6
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 1]
pop edi
pop ebx
leave
ret
Function at 0x435da4
Capabilities:
Resolve dns

Disassembly:
push 0x58
mov eax, 0x5065ab
call fcn.004d9a2f
mov eax, dword [ebp + 8]
mov ebx, ecx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], ebx
test ebx, ebx
jne 0x435dc6
xor al, al
jmp 0x435f25
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x435ddb
and dword [ebp - 0x54], 0
jmp 0x435df3
lea edi, [eax + eax]
mov eax, edi
call fcn.004d92d0
mov esi, esp
push 3
push edi
push ebx
call fcn.0042f015
mov dword [ebp - 0x54], eax
push dword [ebp - 0x54]
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov esi, eax
test esi, esi
je 0x435e93
push ebx
lea ecx, [ebp - 0x2c]
call fcn.0040ed9b
mov ecx, dword [ebp - 0x4c]
and dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
push eax
call fcn.00437cd4
mov edi, eax
call fcn.00435069
or dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00403de3
mov ebx, dword [esi + 0xc]
cmp dword [ebx], 0
je 0x435e93
and dword [ebp - 0x58], 0
push dword [ebp - 0x50]
lea ecx, [ebp - 0x2c]
call fcn.0040ed9b
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 4], 1
mov eax, dword [ebx]
mov eax, dword [eax]
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00437cd4
mov esi, eax
lea edi, [ebp - 0x5c]
call fcn.00435c8b
push eax
push esi
lea esi, [ebp - 0x64]
call fcn.004357b1
or dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00403de3
add ebx, 4
cmp dword [ebx], 0
jne 0x435e42
xor edi, edi
cmp dword [0x5500d4], edi
je 0x435ef4
push dword [ebp - 0x50]
lea ecx, [ebp - 0x2c]
call fcn.0040ed9b
mov esi, dword [ebp - 0x54]
mov dword [ebp - 4], 2
cmp esi, edi
jne 0x435ebb
mov esi, 0x52c7f3
mov ecx, dword [ebp - 0x4c]
lea eax, [ebp - 0x2c]
push eax
call fcn.00437cd4
push dword [eax + 8]
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x5500d4]
push eax
push str._INFO___d___query_host__s___ip_count__d_
call fcn.0042749e
or dword [ebp - 4], 0xffffffff
add esp, 0x10
push edi
push 1
lea ecx, [ebp - 0x2c]
call fcn.00403de3
push dword [ebp - 0x50]
lea ecx, [ebp - 0x48]
call fcn.0040ed9b
mov ecx, dword [ebp - 0x4c]
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 4], 3
call fcn.00437cd4
mov esi, dword [eax + 8]
push edi
push 1
lea ecx, [ebp - 0x48]
call fcn.00403de3
cmp esi, edi
setne al
lea esp, [ebp - 0x74]
call fcn.004d9ab2
ret 4
Function at 0x436f7c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
cmp dword [0x5500d4], 0
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
je 0x436fbf
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x5500d4]
push eax
push str._INFO___d___download:_start_pos__I64d___will_download__I64d___downloaed__I64d_
call fcn.0042749e
add esp, 0x20
mov eax, dword [ebp + 0x10]
or eax, dword [ebp + 0x14]
jne 0x436fd5
mov byte [esi + 0x112], 1
mov al, 1
jmp 0x4370a6
push dword [ebp + 0x14]
mov dword [esi + 0x88], ebx
push dword [ebp + 0x10]
mov dword [esi + 0x8c], edi
call fcn.0043793d
xor edi, edi
cmp dword [esi + 0x84], edi
jl 0x437026
jg 0x437000
cmp dword [esi + 0x80], edi
jbe 0x437026
mov ebx, dword [esi + 0x80]
mov edi, dword [esi + 0x84]
mov eax, esi
call fcn.00437981
cmp edx, edi
jl 0x437024
jg 0x43701d
cmp eax, ebx
jbe 0x437024
push edi
push ebx
call fcn.0043793d
xor edi, edi
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
call fcn.004378c0
lea eax, [esp + 0xc]
push eax
push edi
push esi
push 0x436e2d
push 0x800000
push edi
mov dword [esp + 0x24], edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x74], eax
cmp eax, edi
je 0x437083
cmp eax, 0xffffffff
je 0x437083
cmp dword [0x5500d4], edi
je 0x436fce
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x5500d4]
push eax
push str._INFO___d___create_download_thread_success.
call fcn.0042749e
pop ecx
pop ecx
jmp 0x436fce
cmp dword [0x5500d4], edi
je 0x4370a4
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x5500d4]
push eax
push str._ERROR___d___create_download_thread_failed_
call fcn.0042749e
pop ecx
pop ecx
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18

Function at 0x4376c7
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, eax
xor eax, eax
push edi
cmp dword [ebp + 8], eax
je 0x43773b
cmp dword [ebp + 0xc], eax
jl 0x43773b
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x43773b
mov eax, dword [ebp + 0xc]
cdq
mov dword [ebp - 0x10], eax
mov eax, esi
mov dword [ebp - 0xc], edx
call fcn.004378ed
mov edi, eax
add edi, dword [ebp - 0x10]
mov ebx, edx
adc ebx, dword [ebp - 0xc]
push ebx
push edi
call fcn.004378c0
mov eax, dword [esi + 0x68]
test eax, eax
je 0x437735
push dword [esi + 0x6c]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push ebx
push edi
push dword [esi + 8]
call eax
add esp, 0x18
mov eax, edi
mov edx, ebx
jmp 0x437740
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x43b079
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
push 0x11
xor edi, edi
call esi
test ax, ax
jns 0x43b08f
push 8
pop edi
push 1
call esi
test ax, ax
jns 0x43b09b
or edi, 1
push 2
call esi
test ax, ax
jns 0x43b0a7
or edi, 2
push 0x10
call esi
test ax, ax
jns 0x43b0b3
or edi, 4
push 0x12
call esi
test ax, ax
jns 0x43b0bf
or edi, 0x20
mov eax, edi
pop edi
pop esi
ret
Function at 0x43f012
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [esi + 0xac]
mov ebx, dword [ebp + 8]
cmp eax, ecx
je 0x43f03e
cmp ebx, dword [esi + 0x10c]
je 0x43f03e
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi + 0x10c]
cmp ebx, eax
je 0x43f115
push edi
test eax, eax
je 0x43f09d
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0x17
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x10c]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x140]
xor edi, edi
push edi
push edi
push edi
push str.killfocus
push dword [esi + 0x10c]
mov ecx, esi
call fcn.0043ef72
mov dword [esi + 0x10c], edi
test ebx, ebx
je 0x43f114
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
cmp eax, esi
jne 0x43f114
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x100]
test al, al
je 0x43f114
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x10c]
test al, al
je 0x43f114
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [esi + 0x10c], ebx
mov dword [ebp - 0x20], 0x18
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x10c]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x140]
xor eax, eax
push eax
push eax
push eax
push 0x50ab40
push dword [esi + 0x10c]
mov ecx, esi
call fcn.0043ef72
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x43f2bf
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esi + 0x4ac]
xor ebx, ebx
call fcn.00485739
test eax, eax
jle 0x43f314
push ebx
lea ecx, [esi + 0x4ac]
mov byte [ebp - 1], 0
call fcn.0043a505
mov edx, dword [eax]
lea ecx, [ebp - 1]
push ecx
push dword [ebp + 0x10]
mov ecx, eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [edx]
cmp byte [ebp - 1], 0
jne 0x43f378
lea ecx, [esi + 0x4ac]
inc ebx
call fcn.00485739
cmp ebx, eax
jl 0x43f2db
mov eax, dword [ebp + 8]
sub eax, 0x100
je 0x43f3dd
sub eax, 4
je 0x43f37c
dec eax
dec eax
jne 0x43f3d4
push dword [ebp + 0xc]
mov word [ebp + 8], ax
lea edi, [ebp + 0xa]
stosw word es:[edi], ax
call fcn.004d9ea0
pop ecx
mov ecx, dword [esi + 0x108]
push reloc.WS2_32.dll_select
lea edx, [ebp + 8]
push edx
mov word [ebp + 8], ax
mov eax, dword [ecx]
push 0x43caa8
call dword [eax + 0x134]
mov esi, eax
test esi, esi
je 0x43f3d4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x128]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov al, 1
jmp 0x43f3d6
cmp dword [esi + 0x10c], 0
je 0x43f3d4
xor eax, eax
push 7
pop ecx
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
mov ax, word [ebp + 0xc]
mov word [ebp - 0x10], ax
mov eax, dword [esi + 0x120]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x124]
mov dword [ebp - 0x24], 6
mov dword [ebp - 0x14], eax
call fcn.0043b079
mov word [ebp - 0xe], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x10c]
lea edx, [ebp - 0x24]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x140]
xor al, al
pop edi
pop esi
pop ebx
leave
ret 0x10
cmp dword [ebp + 0xc], 9
jne 0x43f3d4
cmp dword [esi + 0x10c], 0
je 0x43f48c
mov ecx, dword [esi + 0x10c]
mov eax, dword [ecx]
call dword [eax + 0x100]
test al, al
je 0x43f43f
mov ecx, dword [esi + 0x10c]
mov eax, dword [ecx]
call dword [eax + 0x10c]
test al, al
je 0x43f43f
mov ecx, dword [esi + 0x10c]
mov eax, dword [ecx]
push 0x50ab10
call dword [eax + 0xc]
push eax
call fcn.004d659d
pop ecx
pop ecx
test eax, eax
je 0x43f43f
mov ecx, dword [esi + 0x10c]
call fcn.00468a0b
test al, al
jne 0x43f3d4
cmp dword [esi + 0x10c], 0
je 0x43f48c
mov ecx, dword [esi + 0x10c]
mov eax, dword [ecx]
call dword [eax + 0x100]
test al, al
je 0x43f48c
mov ecx, dword [esi + 0x10c]
mov eax, dword [ecx]
call dword [eax + 0x10c]
test al, al
je 0x43f48c
mov ecx, dword [esi + 0x10c]
mov eax, dword [ecx]
push str.WkeWebkitUI
call dword [eax + 0xc]
push eax
call fcn.004d659d
pop ecx
pop ecx
test eax, eax
jne 0x43f3d4
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
setns al
movzx eax, al
push eax
mov ecx, esi
call fcn.0043f1df
jmp 0x43f378
Function at 0x444729
Capabilities:
Terminate process

Disassembly:
push 0x364
mov eax, 0x4ff79c
call fcn.004d9a2f
mov esi, ecx
call fcn.0044edd3
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
call edi
push eax
push str._INFO___d___OnCreate_1
push 3
push dword [0x54ec68]
call fcn.0044e7b7
add esp, 0x10
push 0xfffffffffffffff0
mov ecx, esi
call fcn.00485739
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xff3fffff
or eax, 0x6000000
push eax
push 0xfffffffffffffff0
mov ecx, esi
call fcn.00485739
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [esi]
mov ecx, esi
lea ebx, [esi + 0x30]
call dword [eax + 0x30]
push eax
push dword [esi + 4]
mov ecx, ebx
call fcn.0043eede
lea eax, [esi + 0x24]
push eax
mov ecx, ebx
call fcn.0043bb08
lea ecx, [ebp - 0x36c]
call fcn.0046c0e4
mov eax, dword [esi]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x118]
push ecx
mov ecx, esi
call dword [eax + 0x28]
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 1
call fcn.0043a66a
test al, al
jne 0x444845
call edi
push eax
push str._INFO___d___OnCreate_2
push 3
push dword [0x54ec68]
call fcn.0044e7b7
mov eax, dword [esi]
add esp, 0x10
lea ecx, [ebp - 0x94]
push ecx
mov ecx, esi
call dword [eax + 0x2c]
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.0043a556
push eax
call fcn.004d841b
pop ecx
lea ecx, [ebp - 0x94]
movzx edi, ax
mov byte [ebp - 4], 1
call fcn.0043a53c
push 0
lea eax, [esi + 0x28]
push ebx
push eax
lea ecx, [ebp - 0x118]
call fcn.0043a556
push eax
push edi
lea ecx, [ebp - 0x36c]
call fcn.0046d0a5
mov edi, eax
jmp 0x4448a6
call edi
push eax
push str._INFO___d___OnCreate_3
push 3
push dword [0x54ec68]
call fcn.0044e7b7
mov eax, dword [esi]
add esp, 0x10
lea ecx, [ebp - 0x19c]
push ecx
mov ecx, esi
lea edi, [esi + 0x28]
call dword [eax + 0x2c]
push 0
push ebx
push edi
push 0
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.0043a556
push ecx
mov ecx, esp
mov dword [ecx], eax
lea ecx, [ebp - 0x36c]
mov dword [ebp - 0x370], esp
call fcn.0046d0a5
lea ecx, [ebp - 0x19c]
mov edi, eax
mov byte [ebp - 4], 1
call fcn.0043a53c
test edi, edi
jne 0x44490f
push 0xffffffffffffffff
push 0x50b00c
lea ecx, [ebp - 0x94]
call fcn.0043a95a
mov eax, dword [esi]
lea ecx, [ebp - 0x220]
push ecx
mov ecx, esi
mov byte [ebp - 4], 4
call dword [eax + 0x2c]
push eax
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 5
call fcn.0043a6e6
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 4
call fcn.0043a53c
push 0x10
push str.Duilib
lea ecx, [ebp - 0x94]
call fcn.0043a556
push eax
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push edi
mov ecx, ebx
call fcn.00441cb9
lea eax, [esi + 0x20]
push eax
mov ecx, ebx
call fcn.0043bab8
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 0
call fcn.0043a53c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x36c]
call fcn.0046b64a
xor eax, eax
call fcn.004d9ab2
ret 0x10