joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405450
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
xor ebp, ebp
push edi
cmp dword [esi + 0x3c], ebp
jne 0x405476
mov eax, dword [esi + 0x1c]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x405476
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
cmp dword [esi + 0x44], ebp
jne 0x4055e6
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x10]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ebx, dword [esi + 0x3c]
cmp ebx, ebp
jne 0x4054af
mov eax, dword [esi + 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.004ed95b
mov ebx, eax
cmp ebx, ebp
jne 0x4054af
xor eax, eax
jmp 0x4054b2
mov eax, dword [ebx + 4]
push eax
lea edi, [esi + 0x40]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, edi
call fcn.004ed970
test eax, eax
jne 0x4054d0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
sub eax, ecx
mov ecx, dword [esp + 0x18]
push eax
sub ecx, edi
lea edi, [esi + 0x50]
push ecx
mov ecx, dword [ebx + 4]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, edi
call fcn.004eec57
test eax, eax
jne 0x405507
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
cmp dword [esi + 0x3c], ebp
jne 0x40551a
mov edx, dword [ebx + 4]
mov eax, dword [esi + 0x1c]
push edx
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp edi, ebp
jne 0x405522
xor edi, edi
jmp 0x405525
mov edi, dword [edi + 4]
mov ecx, dword [esi + 0x44]
push edi
push ecx
call fcn.004edae9
mov edx, dword [esi + 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.004e617d
mov edi, eax
cmp edi, ebp
je 0x40555d
lea eax, [esp + 0x10]
mov ecx, esi
push eax
call fcn.004ee3f9
lea ecx, [esp + 0x10]
push ecx
mov ecx, edi
call fcn.004ee3bd
cmp dword [esi + 0x3c], ebp
je 0x4055d8
lea edx, [esp + 0x20]
lea edi, [esi + 0x58]
push edx
push edi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
call dword [sym.imp.USER32.dll_EqualRect]
test eax, eax
jne 0x4055a2
mov ebp, dword [edi]
mov ebx, dword [edi + 4]
mov eax, dword [edi + 8]
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
jmp 0x4055b2
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
mov edx, dword [esi + 0x3c]
sub ecx, ebx
sub eax, ebp
test edx, edx
je 0x4055c0
mov edx, dword [edx + 4]
push 0xcc0020
push ebx
push ebp
push edx
push ecx
push eax
mov eax, dword [esi + 0x44]
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [esi]
lea eax, [esi + 0x40]
push eax
mov ecx, esi
call dword [edx + 0xbc]
lea eax, [esi + 0x40]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
Function at 0x4099e0
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
xor ebp, ebp
push edi
cmp dword [esi + 0x5c], ebp
jne 0x409a06
mov eax, dword [esi + 0x1c]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x409a06
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
cmp dword [esi + 0x64], ebp
jne 0x409b76
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x10]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ebx, dword [esi + 0x5c]
cmp ebx, ebp
jne 0x409a3f
mov eax, dword [esi + 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.004ed95b
mov ebx, eax
cmp ebx, ebp
jne 0x409a3f
xor eax, eax
jmp 0x409a42
mov eax, dword [ebx + 4]
push eax
lea edi, [esi + 0x60]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, edi
call fcn.004ed970
test eax, eax
jne 0x409a60
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
sub eax, ecx
mov ecx, dword [esp + 0x18]
push eax
sub ecx, edi
lea edi, [esi + 0x70]
push ecx
mov ecx, dword [ebx + 4]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, edi
call fcn.004eec57
test eax, eax
jne 0x409a97
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
cmp dword [esi + 0x5c], ebp
jne 0x409aaa
mov edx, dword [ebx + 4]
mov eax, dword [esi + 0x1c]
push edx
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp edi, ebp
jne 0x409ab2
xor edi, edi
jmp 0x409ab5
mov edi, dword [edi + 4]
mov ecx, dword [esi + 0x64]
push edi
push ecx
call fcn.004edae9
mov edx, dword [esi + 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.004e617d
mov edi, eax
cmp edi, ebp
je 0x409aed
lea eax, [esp + 0x10]
mov ecx, esi
push eax
call fcn.004ee3f9
lea ecx, [esp + 0x10]
push ecx
mov ecx, edi
call fcn.004ee3bd
cmp dword [esi + 0x5c], ebp
je 0x409b68
lea edx, [esp + 0x20]
lea edi, [esi + 0x78]
push edx
push edi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
call dword [sym.imp.USER32.dll_EqualRect]
test eax, eax
jne 0x409b32
mov ebp, dword [edi]
mov ebx, dword [edi + 4]
mov eax, dword [edi + 8]
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
jmp 0x409b42
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
mov edx, dword [esi + 0x5c]
sub ecx, ebx
sub eax, ebp
test edx, edx
je 0x409b50
mov edx, dword [edx + 4]
push 0xcc0020
push ebx
push ebp
push edx
push ecx
push eax
mov eax, dword [esi + 0x64]
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [esi]
lea eax, [esi + 0x60]
push eax
mov ecx, esi
call dword [edx + 0xd0]
lea eax, [esi + 0x60]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
Function at 0x40b510
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
push esi
mov esi, ecx
push 0x53c584
mov dword [esi + 0x10], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [esi + 0xc], eax
jne 0x40b54e
push eax
push 0x53c57c
push 0x53c564
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, esi
pop esi
add esp, 0x190
ret
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x53c554
push eax
call edi
mov dword [esi], eax
mov eax, dword [esi + 0xc]
push 0x53c544
push eax
call edi
mov ecx, dword [esi + 0xc]
push 0x53c534
push ecx
mov dword [esi + 4], eax
call edi
mov ecx, dword [esi]
mov dword [esi + 8], eax
test ecx, ecx
pop edi
je 0x40b620
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x40b620
test eax, eax
je 0x40b620
lea edx, [esp + 4]
push edx
push 0x101
call sub.WSOCK32.dll_WSAStartup
test eax, eax
je 0x40b5d9
push 0
push 0x53c57c
push 0x53c520
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
call sub.WSOCK32.dll_WSACleanup
mov eax, dword [esi + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, esi
pop esi
add esp, 0x190
ret
cmp word [esp + 4], 0x101
je 0x40b60f
push 0
push 0x53c57c
push 0x53c4f8
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
call sub.WSOCK32.dll_WSACleanup
mov ecx, dword [esi + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, esi
pop esi
add esp, 0x190
ret
mov dword [esi + 0x10], 1
mov eax, esi
pop esi
add esp, 0x190
ret
push 0
push 0x53c57c
push 0x53c4e0
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov edx, dword [esi + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, esi
pop esi
add esp, 0x190
ret
Function at 0x40b516
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
push esi
mov esi, ecx
push 0x53c584
mov dword [esi + 0x10], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [esi + 0xc], eax
jne 0x40b54e
push eax
push 0x53c57c
push 0x53c564
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, esi
pop esi
add esp, 0x190
ret
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x53c554
push eax
call edi
mov dword [esi], eax
mov eax, dword [esi + 0xc]
push 0x53c544
push eax
call edi
mov ecx, dword [esi + 0xc]
push 0x53c534
push ecx
mov dword [esi + 4], eax
call edi
mov ecx, dword [esi]
mov dword [esi + 8], eax
test ecx, ecx
pop edi
je 0x40b620
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x40b620
test eax, eax
je 0x40b620
lea edx, [esp + 4]
push edx
push 0x101
call sub.WSOCK32.dll_WSAStartup
test eax, eax
je 0x40b5d9
push 0
push 0x53c57c
push 0x53c520
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
call sub.WSOCK32.dll_WSACleanup
mov eax, dword [esi + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, esi
pop esi
add esp, 0x190
ret
cmp word [esp + 4], 0x101
je 0x40b60f
push 0
push 0x53c57c
push 0x53c4f8
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
call sub.WSOCK32.dll_WSACleanup
mov ecx, dword [esi + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, esi
pop esi
add esp, 0x190
ret
mov dword [esi + 0x10], 1
mov eax, esi
pop esi
add esp, 0x190
ret
push 0
push 0x53c57c
push 0x53c4e0
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov edx, dword [esi + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, esi
pop esi
add esp, 0x190
ret

Function at 0x40b670
Capabilities:
Resolve dns
Set socket configuration

Disassembly:
sub esp, 0x24
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 0x10], ebx
jne 0x40b68a
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x24
ret 4
mov edi, dword [esp + 0x34]
push edi
call sub.WSOCK32.dll_inet_addr
cmp eax, 0xffffffff
mov dword [esp + 0x34], eax
jne 0x40b6a5
push edi
call sub.WSOCK32.dll_gethostbyname
jmp 0x40b6b3
push 2
lea eax, [esp + 0x38]
push 4
push eax
call sub.WSOCK32.dll_gethostbyaddr
cmp eax, ebx
jne 0x40b6c2
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x24
ret 4
mov ecx, dword [eax + 0xc]
push ebp
mov ebp, dword [ecx]
call dword [esi]
mov edi, eax
push 0x7d0
lea edx, [esp + 0x1c]
push 0x1c
lea eax, [esp + 0x18]
push edx
mov byte [esp + 0x1c], 0xff
mov byte [esp + 0x1d], bl
mov byte [esp + 0x1e], bl
mov byte [esp + 0x1f], bl
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ebx
mov ecx, dword [ebp]
push eax
push ebx
push ebx
push ecx
push edi
call dword [esi + 8]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
cmp eax, ebx
mov dword [esp + 0x38], edx
pop ebp
je 0x40b71c
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x24
ret 4
push edi
call dword [esi + 4]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x24
ret 4
Function at 0x40b674
Capabilities:
Resolve dns
Set socket configuration

Disassembly:
sub esp, 0x24
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 0x10], ebx
jne 0x40b68a
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x24
ret 4
mov edi, dword [esp + 0x34]
push edi
call sub.WSOCK32.dll_inet_addr
cmp eax, 0xffffffff
mov dword [esp + 0x34], eax
jne 0x40b6a5
push edi
call sub.WSOCK32.dll_gethostbyname
jmp 0x40b6b3
push 2
lea eax, [esp + 0x38]
push 4
push eax
call sub.WSOCK32.dll_gethostbyaddr
cmp eax, ebx
jne 0x40b6c2
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x24
ret 4
mov ecx, dword [eax + 0xc]
push ebp
mov ebp, dword [ecx]
call dword [esi]
mov edi, eax
push 0x7d0
lea edx, [esp + 0x1c]
push 0x1c
lea eax, [esp + 0x18]
push edx
mov byte [esp + 0x1c], 0xff
mov byte [esp + 0x1d], bl
mov byte [esp + 0x1e], bl
mov byte [esp + 0x1f], bl
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ebx
mov ecx, dword [ebp]
push eax
push ebx
push ebx
push ecx
push edi
call dword [esi + 8]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
cmp eax, ebx
mov dword [esp + 0x38], edx
pop ebp
je 0x40b71c
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x24
ret 4
push edi
call dword [esi + 4]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x24
ret 4
Function at 0x40bec0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x504ef0
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
mov ebx, dword [esp + 0x44]
push esi
mov esi, ecx
test ebx, ebx
jne 0x40befa
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret 4
push edi
mov ecx, ebx
call fcn.0047ffc8
push eax
lea ecx, [esp + 0x10]
call fcn.004e55b7
mov ecx, 9
xor eax, eax
lea edi, [esp + 0x18]
mov dword [esp + 0x44], 0
rep stosd dword es:[edi], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x510e10
mov eax, dword [0x54a6a4]
mov dword [esp + 0x4c], eax
mov ecx, ebx
mov byte [esp + 0x44], 2
call fcn.0047ff73
push eax
lea ecx, [esp + 0x50]
push 0x53c5b4
push ecx
call fcn.004df8fd
add esp, 0xc
lea ecx, [esp + 0x4c]
call fcn.004e5ac5
mov edi, dword [esp + 0x4c]
call fcn.004fa7f5
mov eax, dword [eax + 0xc]
push edi
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
lea ecx, [esp + 0x14]
call fcn.004eec57
mov edi, dword [esi + 0x40]
test eax, eax
je 0x40bfa3
mov edi, dword [esp + 0x14]
mov edx, dword [esi + 0x48]
lea eax, [esp + 0x10]
push 0xffffff
neg eax
sbb eax, eax
and eax, edi
push eax
push edx
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
mov edi, eax
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0x146
push eax
mov dword [esp + 0x28], 7
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x18]
mov dword [esp + 0x20], eax
mov eax, dword [eax - 8]
push ecx
mov ecx, esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
call fcn.004e26a7
lea ecx, [esp + 0x10]
mov esi, eax
call fcn.004eecae
lea ecx, [esp + 0x4c]
mov byte [esp + 0x44], 1
call fcn.004e5549
mov dword [esp + 0x10], vtable.CGdiObject.0
lea ecx, [esp + 0x10]
mov byte [esp + 0x44], 3
call fcn.004eecae
lea ecx, [esp + 0xc]
mov dword [esp + 0x44], 0xffffffff
call fcn.004e5549
mov ecx, dword [esp + 0x3c]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret 4
Function at 0x40dd70
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x50520d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov al, byte [esp + 3]
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov byte [esi + 0xc], al
xor eax, eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov cl, byte [esp + 0xb]
mov dword [esp + 0x18], eax
mov byte [esi + 0x3c], cl
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], eax
mov dword [esi + 0x68], eax
mov dl, byte [esp + 0xb]
mov byte [esi + 0x6c], dl
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], eax
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], eax
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], eax
mov dword [esi + 0x88], eax
mov dword [esi + 0x8c], eax
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], eax
mov dword [esi + 0x98], eax
mov cl, byte [esp + 0xb]
mov dword [esi + 0xa0], eax
mov byte [esi + 0x9c], cl
mov dword [esi + 0xa4], eax
mov dword [esi + 0xa8], eax
mov edx, dword [0x54a6a4]
lea edi, [esi + 0xac]
mov dword [edi], edx
mov ecx, 0x550e1c
mov byte [esp + 0x18], 4
mov dword [esi], 0x511c30
mov dword [esi + 0xb0], eax
call fcn.0047ff73
push eax
mov ecx, edi
call fcn.004e56d2
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x4118b0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x505568
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
mov esi, ecx
push ecx
lea eax, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0xc], esp
push eax
mov dword [esp + 0x2c], 1
call fcn.004e52be
lea ecx, [esp + 0xc]
push ecx
call fcn.004115e0
add esp, 8
mov edx, dword [0x54a6a4]
mov dword [esp + 4], edx
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
mov byte [esp + 0x28], 3
call fcn.004e52be
lea ecx, [esp + 4]
mov byte [esp + 0x24], 4
push ecx
lea ecx, [esp + 0x14]
call fcn.004e52be
lea edx, [esp + 0xc]
lea eax, [esp + 0x14]
push edx
push eax
lea ecx, [esi + 4]
mov byte [esp + 0x2c], 5
call fcn.00416940
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 6
call fcn.004e5549
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 3
call fcn.004e5549
lea ecx, [esp + 4]
mov byte [esp + 0x24], 2
call fcn.004e5549
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esi + 0x10]
call fcn.004e5682
lea ecx, [esp + 8]
mov byte [esp + 0x24], 1
call fcn.004e5549
lea ecx, [esp + 0x2c]
mov byte [esp + 0x24], 0
call fcn.004e5549
lea ecx, [esp + 0x30]
mov dword [esp + 0x24], 0xffffffff
call fcn.004e5549
mov ecx, dword [esp + 0x1c]
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret 8
Function at 0x413c00
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov cl, byte [0x5503bc]
sub esp, 0x208
mov al, 1
push ebx
push esi
test al, cl
push edi
jne 0x413c38
mov bl, cl
mov edi, str.92jbn_97g
or bl, al
or ecx, 0xffffffff
xor eax, eax
mov byte [0x5503bc], bl
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
mov dword [0x5503b8], esi
jmp 0x413c3e
mov esi, dword [0x5503b8]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x110]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
xor eax, eax
mov byte [esp + eax + 0xc], al
inc eax
cmp eax, 0x100
jb 0x413c5f
mov edi, dword [esp + 0x224]
xor eax, eax
test edi, edi
je 0x413c9d
mov esi, dword [esp + 0x220]
xor ecx, ecx
cmp eax, edi
jne 0x413c87
xor eax, eax
mov dl, byte [eax + esi]
inc eax
mov byte [esp + ecx + 0x110], dl
inc ecx
cmp ecx, 0x100
jb 0x413c81
jmp 0x413cbc
xor ecx, ecx
cmp eax, esi
jne 0x413ca5
xor eax, eax
mov dl, byte [eax + str.92jbn_97g]
inc eax
mov byte [esp + ecx + 0x110], dl
inc ecx
cmp ecx, 0x100
jb 0x413c9f
xor ecx, ecx
xor eax, eax
mov dl, byte [esp + eax + 0xc]
mov bl, byte [esp + eax + 0x110]
add ecx, edx
add ebx, ecx
and ebx, 0xff
inc eax
mov ecx, ebx
cmp eax, 0x100
mov bl, byte [esp + ecx + 0xc]
mov byte [esp + eax + 0xb], bl
mov byte [esp + ecx + 0xc], dl
jb 0x413cc0
mov edx, dword [esp + 0x21c]
xor edi, edi
xor esi, esi
xor ecx, ecx
test edx, edx
jbe 0x413d44
push ebp
mov ebp, dword [esp + 0x21c]
inc esi
and esi, 0xff
mov al, byte [esp + esi + 0x10]
mov bl, al
add ebx, edi
and ebx, 0xff
mov edi, ebx
mov bl, byte [esp + edi + 0x10]
mov byte [esp + esi + 0x10], bl
mov byte [esp + edi + 0x10], al
mov bl, byte [esp + esi + 0x10]
add eax, ebx
mov bl, byte [ecx + ebp]
and eax, 0xff
mov al, byte [esp + eax + 0x10]
xor bl, al
mov byte [ecx + ebp], bl
inc ecx
cmp ecx, edx
jb 0x413d04
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x208
ret
Function at 0x427190
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
push edi
cmp ebp, 9
mov edi, ecx
je 0x4271b4
cmp ebp, 0x24
jle 0x427283
cmp ebp, 0x28
jg 0x427283
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call fcn.004e617d
push 0x10
mov esi, eax
call dword [sym.imp.USER32.dll_GetKeyState]
mov bx, ax
mov eax, dword [edi]
and ebx, 0x80
mov ecx, edi
shr ebx, 7
call dword [eax + 8]
mov edx, dword [edi]
mov ecx, edi
mov dword [esp + 0x1c], eax
call dword [edx + 4]
xor ecx, ecx
cmp ebp, 9
sete cl
test ecx, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
jne 0x42720f
cmp ebp, 0x26
je 0x42720a
cmp ebp, 0x25
je 0x42720a
xor ebx, ebx
jmp 0x42720f
mov ebx, 1
test eax, eax
je 0x427283
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x427283
test esi, esi
je 0x427283
mov ecx, edi
call fcn.004273a0
mov ebp, dword [sym.imp.USER32.dll_GetParent]
test eax, eax
je 0x427234
xor esi, esi
jmp 0x427293
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0x87
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
test al, 6
je 0x427253
mov ecx, dword [esp + 0x10]
test ecx, ecx
jne 0x427283
test al, 5
je 0x42725f
mov eax, dword [esp + 0x10]
test eax, eax
je 0x427283
mov ecx, dword [esi + 0x1c]
push ecx
call ebp
push eax
call fcn.004e617d
cmp eax, dword [esp + 0x1c]
je 0x42728f
mov edx, dword [esi + 0x1c]
push edx
call ebp
push eax
call fcn.004e617d
mov esi, eax
test esi, esi
jne 0x42725f
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 4
test esi, esi
je 0x427283
test ebx, ebx
jne 0x42732b
mov eax, dword [esp + 0x1c]
push ebx
push eax
mov ecx, edi
call fcn.004273f0
cmp eax, esi
jne 0x4272ef
mov esi, dword [esp + 0x14]
mov ecx, dword [esi + 0x1c]
push ecx
call ebp
push eax
call fcn.004e617d
test eax, eax
je 0x4272e0
mov edx, dword [esi + 0x1c]
mov eax, dword [eax + 0x1c]
push ebx
push edx
push eax
call dword [sym.imp.USER32.dll_GetNextDlgTabItem]
push eax
call fcn.004e617d
test eax, eax
je 0x4272e0
mov ecx, eax
call fcn.004e9727
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret 4
test esi, esi
je 0x4272f6
mov esi, dword [esi + 0x1c]
mov ecx, dword [esp + 0x1c]
push 0
push esi
mov edx, dword [ecx + 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetNextDlgTabItem]
push eax
call fcn.004e617d
test eax, eax
je 0x427283
mov ecx, eax
call fcn.004e9727
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret 4
mov ecx, edi
call fcn.004273a0
test eax, eax
jne 0x427283
mov ebx, dword [esp + 0x1c]
push eax
push ebx
mov ecx, edi
call fcn.00427490
cmp eax, esi
jne 0x427363
mov ecx, dword [esp + 0x14]
call fcn.004e9727
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret 4
test esi, esi
je 0x42736a
mov esi, dword [esi + 0x1c]
mov eax, dword [ebx + 0x1c]
push 1
push esi
push eax
call dword [sym.imp.USER32.dll_GetNextDlgTabItem]
push eax
call fcn.004e617d
test eax, eax
je 0x427283
mov ecx, eax
call fcn.004e9727
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret 4