joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407d9c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004033fc
xor eax, eax
push ebp
push 0x407e75
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax], 0x5c
jne 0x407dd4
mov eax, dword [ebp - 4]
call fcn.004071d0
jmp 0x407ddc
mov eax, dword [ebp - 4]
call fcn.00407bd4
call fcn.00404ae8
mov esi, eax
test esi, esi
jle 0x407e28
mov ebx, 1
lea edx, [ebp - 8]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 8]
cmp byte [eax], 0x5c
jne 0x407e12
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0xc]
call fcn.004071d0
jmp 0x407e24
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0x10]
call fcn.00407bd4
inc ebx
dec esi
jne 0x407dec
push 1
push dword [ebp - 4]
push 0x407e8c
lea edx, [ebp - 0x18]
xor eax, eax
call fcn.00406f34
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004032cc
mov eax, dword [ebp - 0x14]
call fcn.0040340c
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407e7c
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.004030b8
ret

Function at 0x42e002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x42e00c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x42e01e
nop
popal
nop
nop
nop
nop
nop
jmp loc.00401219
Function at 0x431000
Capabilities:
Check for software breakpoints
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x431030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43101e
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp fcn.00401219
Function at 0x40689a
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x4068be
xor eax, eax
test eax, eax
je 0x4068d1
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x4068d1
xor ecx, ecx
jmp 0x4068d4
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x4069f7
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x43190c], 0
push esi
jne 0x406a2e
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406a08
mov dword [ecx*4 + 0x431908], eax
inc ecx
cmp ecx, 0x100
jl 0x406a03
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406a5f
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x431908]
xor eax, esi
inc ecx
dec edx
jne 0x406a41
pop edi
not eax
pop esi
ret 0xc

Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
nop
jmp loc.00401219
Function at 0x41927c
Capabilities:
Query service status

Disassembly:
push ebp
mov edx, 0xa
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x419282
call fcn.00435af0
mov edx, dword [esp + 0x30]
lea ecx, [esp]
call fcn.0041d000
lea eax, [esp + 4]
push 0xf003f
push 0
push 0
call sub.ADVAPI32.DLL_OpenSCManagerW
mov dword [esp + 0x20], eax
cmp dword [esp + 0x20], 0
je 0x419309
push 0xf01ff
push dword [esp + 4]
push dword [esp + 0x28]
call sub.ADVAPI32.DLL_OpenServiceW
mov dword [esp + 0x24], eax
cmp dword [esp + 0x24], 0
je 0x4192f7
lea eax, [esp + 4]
push eax
push dword [esp + 0x28]
call sub.ADVAPI32.DLL_QueryServiceStatus
push dword [esp + 0x24]
call sub.ADVAPI32.DLL_CloseServiceHandle
push dword [esp + 0x20]
call sub.ADVAPI32.DLL_CloseServiceHandle
lea ebp, [esp + 4]
mov eax, dword [ebp + 4]
jmp 0x41930b
xor eax, eax
push dword [esp]
call fcn.00435b50
add esp, 0x28
pop ebp
ret 4
Function at 0x41c478
Capabilities:
Get graphical window text

Disassembly:
push ebx
xor eax, eax
push eax
call fcn.00435af0
push dword [esp + 0xc]
call fcn.0041d390
mov ebx, dword [0xa34a0c]
and ebx, ebx
jne 0x41c4b4
push 0
push 0
call sub.USER32.DLL_FindWindowW
mov dword [0xa34a10], eax
mov dword [0xa34a0c], 1
jmp 0x41c4c9
push 2
push dword [0xa34a10]
call sub.USER32.DLL_GetWindow
mov dword [0xa34a10], eax
mov ebx, dword [0xa34a10]
and ebx, ebx
je 0x41c563
push 0xfffffff0
push dword [0xa34a10]
call sub.USER32.DLL_GetWindowLongW
mov ebx, eax
and ebx, 0x10000000
cmp ebx, 0x10000000
jne 0x41c561
push 0xffffffec
push dword [0xa34a10]
call sub.USER32.DLL_GetWindowLongW
mov ebx, eax
and ebx, 0x80
cmp ebx, 0x80
je 0x41c561
push edx
call fcn.00435950
pop edx
push eax
push edx
call fcn.00435950
pop edx
push eax
push 0x100
call fcn.0041dcb0
lea eax, [esp + 4]
push eax
call fcn.004359f0
push 0x100
push dword [esp + 4]
push dword [0xa34a10]
call sub.USER32.DLL_GetWindowTextW
push dword [esp]
mov edx, 0x47f046
pop ecx
call fcn.0041d320
jne 0x41c561
jmp 0x41c57b
jmp 0x41c56d
mov dword [0xa34a0c], 0
mov ebx, dword [0xa34a10]
and ebx, ebx
jne 0x41c48a
mov edx, dword [esp]
push edx
call fcn.00435950
pop edx
push eax
push edx
call fcn.00435990
pop eax
push eax
call fcn.0041d360
pop edx
add eax, edx
jmp 0x41c5a2
push dword [esp]
call fcn.00435b50
add esp, 4
pop ebx
ret

Function at 0x41f43f
Capabilities:
Enumerate gui resources

Disassembly:
cmp dword [esp + 4], 0
push ebx
push esi
push edi
je 0x41f494
push dword [esp + 0x10]
push 0x41f3be
call dword [sym.imp.USER32.DLL_EnumWindows]
mov esi, dword [0xa34abc]
test esi, esi
je 0x41f4ed
xor edi, edi
mov ebx, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esi + 8], eax
jne 0x41f48c
cmp byte [esi + 0x10], 0
je 0x41f48c
push 3
push edi
push edi
push edi
push edi
push 0xfffffffffffffffe
push dword [esi + 0xc]
call dword [sym.imp.USER32.DLL_SetWindowPos]
mov esi, ebx
test ebx, ebx
jne 0x41f468
jmp 0x41f4ed
mov esi, dword [0xa34abc]
test esi, esi
je 0x41f4ed
xor edi, edi
push ebp
mov ebx, dword [esi]
lea ebp, [esi + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp], eax
jne 0x41f4e6
cmp byte [esi + 0x11], 0
je 0x41f4c2
push 1
push dword [esi + 0xc]
call dword [sym.imp.USER32.DLL_EnableWindow]
cmp byte [esi + 0x10], 0
je 0x41f4d9
push 3
push edi
push edi
push edi
push edi
push 0xffffffffffffffff
push dword [esi + 0xc]
call dword [sym.imp.USER32.DLL_SetWindowPos]
push ebp
push 0xa34abc
call fcn.00435890
pop ecx
pop ecx
mov esi, ebx
test ebx, ebx
jne 0x41f4a1
pop ebp
pop edi
pop esi
pop ebx
ret 4
Function at 0x41f64b
Capabilities:
Accept command line arguments

Disassembly:
push ecx
push ecx
push ebx
push ebp
push esi
push edi
push dword [0xa35c10]
call fcn.00435168
mov ebp, eax
or ebx, 0xffffffff
xor eax, eax
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edi, dword [esp + 0x1c]
movzx edx, word [eax]
test dx, dx
je 0x41f735
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x10], 0x20
mov dword [esp + 0x14], 0x22
cmp dx, word [esp + 0x10]
jne 0x41f6a1
push 0x20
pop edx
add eax, 2
cmp word [eax], dx
je 0x41f699
movzx edx, word [eax]
mov dword [esp + 0x1c], 1
cmp dx, word [esp + 0x14]
jne 0x41f6e9
add eax, 2
mov esi, eax
movzx ecx, word [eax]
test cx, cx
je 0x41f6e1
push 0x22
pop edx
cmp cx, dx
je 0x41f6d3
add eax, 2
movzx ecx, word [eax]
test cx, cx
jne 0x41f6c3
xor ecx, ecx
cmp word [eax], cx
je 0x41f6e1
mov ecx, eax
add eax, 2
jmp 0x41f6e3
mov ecx, eax
mov edx, dword [esp + 0x1c]
jmp 0x41f717
test dx, dx
je 0x41f715
push 0x20
mov esi, eax
pop ecx
cmp dx, cx
je 0x41f703
add eax, 2
movzx edx, word [eax]
test dx, dx
jne 0x41f6f3
mov edx, dword [esp + 0x1c]
xor ecx, ecx
cmp word [eax], cx
mov ecx, eax
je 0x41f717
add eax, 2
jmp 0x41f717
xor edx, edx
cmp dword [ebp], ebx
jne 0x41f720
test edi, edi
jne 0x41f73d
test edx, edx
je 0x41f725
inc ebx
xor edx, edx
mov esi, edx
movzx edx, word [eax]
test dx, dx
jne 0x41f68f
test edi, edi
jne 0x41f74e
mov eax, ebx
jmp 0x41f752
test esi, esi
je 0x41f74e
sub ecx, esi
mov eax, esi
sar ecx, 1
mov dword [edi], ecx
inc dword [ebp]
jmp 0x41f752
xor ecx, ecx
mov dword [edi], ecx
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret 4
Function at 0x41fe7a
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc
mov eax, 0x1000
push ebx
push ebp
push esi
push edi
xor edi, edi
mov ebx, eax
cmp dword [esp + 0x24], 0x18
je 0x41ff29
cmp dword [esp + 0x24], 2
je 0x41ff29
push 0x2000
push edi
push dword [0xa34144]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, eax
jmp 0x41fefc
cmp dword [esp + 0x18], 2
jne 0x41ff14
test ebx, ebx
jne 0x41fee5
lea eax, [edi*2 + 0x2000]
push eax
push esi
push 8
push dword [0xa34144]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov esi, eax
mov ebx, 0x1000
mov ax, word [esp + 0x14]
cmp ax, 0xa
je 0x41ff14
cmp ax, 0xd
je 0x41fefc
mov word [esi + edi*2], ax
inc edi
dec ebx
push 0
lea eax, [esp + 0x1c]
push eax
push 2
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x30]
call ebp
test eax, eax
jne 0x41febc
push dword [esp + 0x28]
xor eax, eax
push esi
mov word [esi + edi*2], ax
call fcn.00468de0
jmp 0x41ffaf
push eax
push 0
push dword [0xa34144]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, eax
jmp 0x41ff7b
cmp dword [esp + 0x18], 1
jne 0x41ff93
test ebx, ebx
jne 0x41ff6a
lea eax, [edi + 0x1000]
push eax
push esi
push 8
push dword [0xa34144]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov esi, eax
mov ebx, 0x1000
mov al, byte [esp + 0x13]
cmp al, 0xa
je 0x41ff93
cmp al, 0xd
je 0x41ff7b
mov byte [esi + edi], al
inc edi
dec ebx
push 0
lea eax, [esp + 0x1c]
push eax
push 1
lea eax, [esp + 0x1f]
push eax
push dword [esp + 0x30]
call ebp
test eax, eax
jne 0x41ff42
cmp dword [esp + 0x24], 0x18
push dword [esp + 0x28]
mov byte [esi + edi], 0
push esi
jne 0x41ffaa
call fcn.00468e30
jmp 0x41ffaf
call fcn.00468fe0
push esi
push 0
push dword [0xa34144]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
Function at 0x421693
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, dword [ebp + 8]
cmp dword [esi], 1
jne 0x4216b5
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [esi + 8]
call dword [sym.imp.WSOCK32.DLL_send]
jmp 0x4216f4
push 2
pop eax
mov word [ebp - 0x10], ax
mov eax, dword [esi + 4]
mov dword [ebp - 0xc], eax
movzx eax, word [esi + 8]
push eax
call dword [sym.imp.WSOCK32.DLL_htons]
mov word [ebp - 0xe], ax
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4216dc
mov eax, dword [eax]
jmp 0x4216df
mov eax, dword [esi + 0x10]
push 0x10
lea ecx, [ebp - 0x10]
push ecx
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call dword [sym.imp.WSOCK32.DLL_sendto]
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x421780
Capabilities:
Get thread local storage value

Disassembly:
cmp dword [0xa34ae8], 0
jne 0x42178e
call fcn.00421700
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push edi
push dword [0xa34aec]
call esi
test eax, eax
jne 0x4217b1
call fcn.00421700
push dword [0xa34aec]
call esi
mov edx, dword [esp + 0x14]
lea esi, [eax + 8]
mov edi, 0x11
lea ecx, [ecx]
imul ecx, edx, 0x53a9b4fb
lea esi, [esi + 4]
mov edx, 1
sub edx, ecx
imul ecx, edx, 0x53a9b4fb
mov dword [esi + 0x40], edx
mov edx, 1
sub edx, ecx
mov dword [esi - 4], edx
dec edi
jne 0x4217c0
mov dword [eax], edi
lea ebp, [edi + 0x1f]
mov dword [eax + 4], 0xa
mov ebx, dword [eax]
mov edi, dword [eax + 4]
mov edx, dword [eax + ebx*4 + 8]
mov ecx, dword [eax + ebx*4 + 0x4c]
mov esi, dword [eax + edi*4 + 8]
ror ecx, 0xd
add ecx, dword [eax + edi*4 + 0x4c]
dec edi
ror edx, 5
add edx, esi
mov dword [eax + ebx*4 + 8], ecx
mov dword [eax + ebx*4 + 0x4c], edx
dec ebx
jns 0x421820
mov ebx, 0x10
test edi, edi
jns 0x421829
mov edi, 0x10
mov dword [eax], ebx
mov dword [eax + 4], edi
dec ebp
jne 0x4217f2
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x421840
Capabilities:
Get thread local storage value

Disassembly:
cmp dword [0xa34ae8], 0
jne 0x42184e
call fcn.00421700
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push edi
push dword [0xa34aec]
call esi
mov edx, eax
test edx, edx
jne 0x421875
call fcn.00421700
push dword [0xa34aec]
call esi
mov edx, eax
mov ebx, dword [edx]
mov esi, dword [edx + 4]
mov ebp, dword [esp + 0x14]
inc ebp
mov edi, dword [edx + ebx*4 + 0x4c]
mov eax, dword [edx + ebx*4 + 8]
mov ecx, dword [edx + esi*4 + 8]
ror edi, 0xd
add edi, dword [edx + esi*4 + 0x4c]
dec esi
ror eax, 5
add eax, ecx
mov dword [edx + ebx*4 + 8], edi
mov dword [edx + ebx*4 + 0x4c], eax
dec ebx
jns 0x4218a8
mov ebx, 0x10
test esi, esi
jns 0x4218b1
mov esi, 0x10
mov dword [edx], ebx
mov eax, edi
mov dword [edx + 4], esi
test ebp, ebp
je 0x4218c0
mul ebp
mov eax, edx
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x423071
Capabilities:
Get graphical window text

Disassembly:
push ebx
push dword [esp + 8]
push dword [0xa35c74]
call fcn.00434fae
mov ebx, eax
test ebx, ebx
je 0x4230d5
mov ecx, dword [ebx + 4]
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x42309a
push dword [esp + 0xc]
push ebx
call eax
jmp 0x4230d5
push esi
push edi
push dword [ebx]
call dword [sym.imp.USER32.DLL_GetWindowTextLengthW]
push dword [esp + 0x14]
mov edi, eax
push edi
call fcn.00435db0
mov esi, eax
lea ecx, [edi + 1]
push ecx
xor eax, eax
push esi
mov word [esi], ax
push dword [ebx]
call dword [sym.imp.USER32.DLL_GetWindowTextW]
push esi
call sub.MSVCRT.dll_wcslen
pop ecx
sub edi, eax
push edi
call fcn.00435ed0
pop edi
pop esi
pop ebx
ret 8

Function at 0x423b13
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push 0
push 0
push 0x1304
push dword [ebp]
call dword [sym.imp.USER32.DLL_SendMessageW]
test eax, eax
jle 0x423b85
push ebx
mov ebx, dword [esp + 0x10]
push esi
push edi
cmp ebx, 0xffffffff
jne 0x423b3c
mov ebx, eax
push dword [ebp]
call fcn.00423305
push ebx
push dword [ebp]
mov edi, eax
call fcn.004232dc
add esp, 0xc
mov esi, eax
push 0
push ebx
push 0x130c
push dword [ebp]
call dword [sym.imp.USER32.DLL_SendMessageW]
push 0
push edi
call dword [sym.imp.USER32.DLL_ShowWindow]
push 0
push edi
call dword [sym.imp.USER32.DLL_EnableWindow]
push esi
push dword [ebp]
call fcn.00423ba5
pop ecx
pop ecx
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x42488d
Capabilities:
Check os version

Disassembly:
sub esp, 0x114
push ebx
push ebp
push esi
push edi
push dword [0xa35c58]
call fcn.00435168
xor ebp, ebp
mov esi, eax
cmp dword [0xa34d50], ebp
jne 0x424969
xor ebx, ebx
inc ebx
mov dword [0xa34d50], ebx
call fcn.0042997c
mov edi, 0xa4
push edi
push ebp
push 0xa34d58
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [0xa34d58], 0x13
lea eax, [esp + 0x10]
mov dword [0xa34d5c], edi
mov dword [0xa34d68], 0x4247d8
mov dword [0xa34d6c], 0x424afe
push eax
mov dword [0xa34dc0], 0x4247b3
mov dword [0xa34dc4], 0x424a49
mov dword [0xa34d64], 0x42478e
mov dword [0xa34de8], 0x4247f3
mov dword [0xa34dfc], ebx
mov dword [esp + 0x14], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x424969
cmp dword [esp + 0x20], ebx
je 0x424951
cmp dword [esp + 0x20], 2
jne 0x424969
cmp dword [esp + 0x14], 5
jae 0x424959
mov dword [0xa34dfc], ebp
jmp 0x424969
jne 0x424969
mov eax, dword [esp + 0x18]
neg eax
sbb eax, eax
and dword [0xa34dfc], eax
mov eax, dword [esp + 0x140]
push ebp
push dword [0xa34148]
or eax, 0x50010000
push 0xffffffffffffffff
push dword [esi]
push dword [esp + 0x148]
push dword [esp + 0x148]
push dword [esp + 0x148]
push dword [esp + 0x148]
push eax
push ebp
push 0x475188
push ebp
call dword [sym.imp.USER32.DLL_CreateWindowExW]
mov edi, eax
test edi, edi
je 0x424a1a
push dword [esp + 0x128]
push dword [0xa35c74]
call fcn.00434fed
mov ebx, dword [esp + 0x13c]
mov esi, eax
mov dword [esi + 0x10], ebx
test ebx, ebx
je 0x4249e9
push ebx
call fcn.004311b6
test eax, eax
je 0x4249e9
push ebp
push ebp
push ebx
call fcn.00430e00
mov dword [esi + 0x18], eax
jmp 0x4249ec
mov dword [esi + 0x18], ebp
push 0x4244ce
push 0xfffffffffffffffc
push edi
mov dword [esi + 0x14], ebp
mov dword [esi + 0x1c], ebp
call dword [sym.imp.USER32.DLL_SetWindowLongW]
push 0xa34d58
push edi
push esi
push dword [esp + 0x134]
mov dword [0xa34d54], eax
call fcn.00429b43
mov edi, eax
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x114
ret 0x1c
Function at 0x424f3f
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
push esi
push edi
push dword [0xa35c58]
call fcn.00435168
mov ebp, eax
call fcn.0042d9cb
call fcn.0042997c
xor edi, edi
cmp dword [0xa34e00], edi
jne 0x4250be
mov esi, 0xa4
push esi
push edi
push 0xa34e08
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [0xa34e0c], esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0xa34e08], 0x16
mov dword [0xa34e10], 0x424c70
push 0x475248
mov dword [0xa34e28], 0x424b90
mov dword [0xa34e20], 0x424f0e
mov dword [0xa34e24], 0x42540d
mov dword [0xa34e3c], 0x424cb7
mov dword [0xa34e34], 0x424c9d
mov dword [0xa34e30], 0x4251e8
mov dword [0xa34e48], 0x424e9f
mov dword [0xa34e4c], 0x42538d
mov dword [0xa34e70], 0x424e22
mov dword [0xa34e74], 0x42526b
mov dword [0xa34e84], 0x424e6f
mov dword [0xa34e80], 0x4252ce
mov dword [0xa34ea0], 0x424e95
mov dword [0xa34ea4], 0x425368
call esi
mov dword [0xa34e04], eax
test eax, eax
jne 0x42503e
push 0x475264
call esi
mov eax, dword [0xa34b30]
test eax, eax
je 0x4250b4
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x475280
push eax
call esi
push 0x475290
push dword [0xa34b30]
mov dword [0xa34eb0], eax
call esi
push 0x4752a0
push dword [0xa34b30]
mov dword [0xa34eb4], eax
call esi
push 0x4752c0
push dword [0xa34b30]
mov dword [0xa34eb8], eax
call esi
push 0x475198
push dword [0xa34b30]
mov dword [0xa34ebc], eax
call esi
push 0x4752e8
push dword [0xa34b30]
mov dword [0xa34ec0], eax
call esi
mov dword [0xa34ec4], eax
mov dword [0xa34e00], 1
mov ecx, dword [0xa34b2c]
mov edx, 0x4752fc
neg ecx
sbb ecx, ecx
and ecx, 0xfffffe00
add ecx, 0x200
cmp dword [0xa34e04], edi
jne 0x4250e6
mov edx, 0x475314
mov eax, dword [esp + 0x24]
or esi, 0xffffffff
push edi
push dword [0xa34148]
or eax, 0x503111c4
push esi
push dword [ebp]
push dword [esp + 0x30]
push dword [esp + 0x30]
push dword [esp + 0x30]
push dword [esp + 0x30]
push eax
push edi
push edx
push ecx
call dword [sym.imp.USER32.DLL_CreateWindowExW]
mov edi, eax
test edi, edi
je 0x4251db
push ebx
push dword [esp + 0x14]
push dword [0xa35c74]
call fcn.00434fed
mov ebx, eax
push 0x10
push 8
mov dword [ebx + 0x18], esi
mov dword [ebx + 0x14], esi
mov ecx, dword [ebp + 8]
mov dword [ebx + 0x1c], ecx
push dword [0xa34144]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
push 0x475220
push edi
call dword [sym.imp.USER32.DLL_SetPropW]
xor ebp, ebp
push ebp
push esi
mov esi, dword [sym.imp.USER32.DLL_SendMessageW]
push 0xc5
push edi
call esi
push 0x424ce2
push 0xfffffffffffffffc
push edi
call dword [sym.imp.USER32.DLL_SetWindowLongW]
push 0x37
push ebp
push ebp
push ebp
push ebp
push ebp
push edi
mov dword [0xa34eac], eax
call dword [sym.imp.USER32.DLL_SetWindowPos]
push 0x541
push ebp
push ebp
push edi
call dword [sym.imp.USER32.DLL_RedrawWindow]
push ebp
push ebp
push 0x43b
push edi
call esi
or eax, 1
push eax
push ebp
push 0x445
push edi
call esi
push 0xa34e08
push edi
push ebx
push dword [esp + 0x20]
call fcn.00429b43
mov edi, eax
mov eax, 0x10000000
test dword [esp + 0x28], eax
je 0x4251da
push 1
push eax
push ebx
call fcn.0042526b
pop ebx
call fcn.0042d9da
mov eax, edi
pop edi
pop esi
pop ebp
ret 0x18
Function at 0x426298
Capabilities:
Hide graphical window

Disassembly:
push ebx
push ebp
push esi
push dword [0xa35c58]
call fcn.00435168
xor ebx, ebx
mov ebp, eax
cmp dword [0xa350d8], ebx
jne 0x42632c
mov esi, 0xa4
push esi
push ebx
push 0xa350e0
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [0xa350e4], esi
mov esi, dword [sym.imp.USER32.DLL_LoadCursorW]
mov dword [0xa350e0], 0xa
mov dword [0xa350e8], 0x425e2d
push 0x7f89
push ebx
mov dword [0xa35158], 0x429bfa
mov dword [0xa3515c], 0x429bd4
mov dword [0xa350ec], 0x425e4c
mov dword [0xa35170], 0x425e6c
call esi
mov dword [0xa350d8], eax
test eax, eax
jne 0x42632c
push 0x7f00
push ebx
call esi
mov dword [0xa350d8], eax
push ebx
push dword [0xa34148]
push 0xffffffffffffffff
push dword [ebp]
push dword [esp + 0x30]
push dword [esp + 0x30]
push dword [esp + 0x30]
push dword [esp + 0x30]
push 0x40000000
push dword [esp + 0x48]
push 0x475110
push ebx
call dword [sym.imp.USER32.DLL_CreateWindowExW]
mov ebx, eax
test ebx, ebx
je 0x4263d8
push edi
push dword [esp + 0x14]
push dword [0xa35c74]
call fcn.00434fed
mov edi, eax
push 0x14
push 0
or dword [edi + 0x10], 0xffffffff
and dword [edi + 0x14], 0
push dword [0xa34144]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [ebp + 8]
mov esi, eax
push 0xa350e0
push ebx
push edi
push dword [esp + 0x20]
mov dword [esi], ecx
mov ecx, dword [esp + 0x40]
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esi + 0xc], ecx
mov byte [esi + 0x10], 0
mov dword [edi + 0x1c], esi
call fcn.00429b43
push 0x425f52
push 0xfffffffffffffffc
push dword [edi]
mov ebx, eax
call dword [sym.imp.USER32.DLL_SetWindowLongW]
push 1
mov dword [esi + 8], eax
push dword [edi]
call dword [sym.imp.USER32.DLL_ShowWindow]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
ret 0x20
Function at 0x42b4ee
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
call dword [sym.imp.USER32.DLL_GetFocus]
mov esi, dword [sym.imp.USER32.DLL_GetKeyState]
mov ebx, eax
test ebx, ebx
je 0x42b568
push 9
call esi
test al, al
jns 0x42b568
push 0x11
call esi
test al, al
js 0x42b568
push 0x10
call esi
test al, al
js 0x42b568
push 0x12
call esi
test al, al
js 0x42b568
push 5
lea eax, [ebp - 0x10]
push eax
push ebx
call dword [sym.imp.USER32.DLL_GetClassNameW]
push 4
lea eax, [ebp - 0x10]
push 0x475630
push eax
call sub.MSVCRT.dll_wcsncmp
add esp, 0xc
test eax, eax
jne 0x42b568
push eax
push eax
push 0x44e
push ebx
call dword [sym.imp.USER32.DLL_SendMessageW]
test eax, 0x800
jne 0x42b568
xor eax, eax
jmp 0x42b5e9
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x42b590
push 0x11
call esi
test al, al
js 0x42b588
push 0x10
call esi
test al, al
js 0x42b588
push 0x12
call esi
test al, al
jns 0x42b590
push 1
push edi
call fcn.0042b5f1
mov esi, dword [sym.imp.USER32.DLL_GetPropW]
test ebx, ebx
je 0x42b5a6
push 0x47563c
push ebx
call esi
test eax, eax
jne 0x42b5e6
push 0x475490
push edi
call esi
mov esi, eax
test esi, esi
je 0x42b5e6
lea eax, [ebp - 4]
push eax
push edi
call dword [sym.imp.USER32.DLL_GetWindowThreadProcessId]
test eax, eax
je 0x42b5e6
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 4], eax
jne 0x42b5e6
lea eax, [esi - 1]
push eax
push dword [0xa35c84]
call fcn.00434fae
test eax, eax
je 0x42b5e6
mov eax, dword [eax + 8]
jmp 0x42b5e8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4