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

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x43c7b3
push esi
call fcn.0043f880
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43c7ac
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 0x43c839
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43c822
mov eax, dword [esi + 8]
test eax, eax
je 0x43c7d7
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 0x43c81e
cmp eax, 2
je 0x43c822
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43c7ca
cmp eax, 3
je 0x43c7fd
cmp eax, 1
jne 0x43c7ca
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 0x43c7ca
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43c7ca
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0043c860
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x43c848
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0043c860
add esp, 4
pop esi
ret

Function at 0x45b2aa
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x45b2e2
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.00459361
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00459339
jmp 0x45b2ee
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x45c99b
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 0x45c9dd
call fcn.00462459
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x45c9dd
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x45c9d4
xor eax, eax
jmp 0x45c9e5
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0045c9eb
pop edi
pop esi
pop ebx
ret 4

Function at 0x462989
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 0x4629b7
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4629d5
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004628ef
jmp 0x4629d5
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4629d5
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004628ef
test edi, edi
mov eax, edi
jne 0x4629bf
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x403118
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00405504
test esi, esi
jne 0x40314e
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.004055f4
jmp 0x40316c
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.0040301c
mov edi, eax
test esi, esi
je 0x40316c
cmp dword [ebx], 0
je 0x40316c
dec esi
jmp 0x403155
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x4031a0
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x4b1008], 0x8088405
inc edx
mov dword [ebx + 0x4b1008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x4031bc
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x4b1008], 0x8088405
inc edx
mov dword [ebx + 0x4b1008], edx
fld qword [ebx + 0x4b1758]
push 0
push edx
fild qword [esp]
add esp, 8
fmulp st(1)
pop ebx
ret

Function at 0x4044d8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4b1024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x404570
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x404550
xor eax, eax
push ebp
push 0x404549
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x40458c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404550
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
movzx eax, word [0x4b1024]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4b1024], ax
mov esp, ebp
pop ebp
ret

Function at 0x405384
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4b9048], 0
je 0x4053e5
cmp word [0x4b921c], 0xd7b2
jne 0x4053ad
cmp dword [0x4b9224], 0
jbe 0x4053ad
mov eax, 0x4b9218
call dword [0x4b9234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40540c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4b1030], 0
jne 0x405401
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x406e10
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x407040
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x406e93
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x407040
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x406e93
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x40705c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x406f1c
xor eax, eax
push ebp
push 0x406f15
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00406c4c
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x406efa
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x40707c
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x406efa
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406f1c
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x407036
cmp byte [ebp - 0xd], 0
jne 0x406f63
cmp byte [ebp - 0x12], 0
je 0x407036
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x406f7c
dec ebx
cmp byte [ebx], 0x2e
je 0x406f8b
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x406f7b
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x407036
inc ebx
cmp byte [ebp - 0x12], 0
je 0x406fc8
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x407036
cmp byte [ebp - 0xd], 0
je 0x407036
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x407036
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x409594
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, eax
mov eax, edx
test esi, esi
je 0x409624
mov edx, dword [esi - 4]
mov edi, eax
test edx, edx
jle 0x409624
mov ecx, dword [eax]
mov ebx, edx
test ecx, ecx
je 0x4095d7
test edx, 3
jne 0x4095c6
xor edx, dword [ecx - 4]
cmp edx, 3
jbe 0x4095d1
jmp 0x4095d7
or edx, 2
xor edx, dword [ecx - 4]
cmp edx, 1
ja 0x4095d7
cmp dword [ecx - 8], 1
je 0x4095e1
mov edx, ebx
or edx, 3
call fcn.00405c50
mov edi, dword [edi]
mov dword [edi - 4], ebx
mov byte [edi + ebx], 0
add ebx, 0xffffffff
and ebx, 0xfffffffc
mov eax, dword [esi + ebx]
mov ecx, eax
or eax, 0x80808080
mov edx, eax
sub eax, 0x7b7b7b7b
xor edx, ecx
or eax, 0x80808080
sub eax, 0x66666666
and eax, edx
shr eax, 2
xor eax, ecx
mov dword [edi + ebx], eax
mov eax, dword [esi + ebx - 4]
sub ebx, 4
jge 0x4095f3
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
pop ebx
jmp fcn.00405504

Function at 0x409630
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, eax
mov eax, edx
test esi, esi
je 0x4096c0
mov edx, dword [esi - 4]
mov edi, eax
test edx, edx
jle 0x4096c0
mov ecx, dword [eax]
mov ebx, edx
test ecx, ecx
je 0x409673
test edx, 3
jne 0x409662
xor edx, dword [ecx - 4]
cmp edx, 3
jbe 0x40966d
jmp 0x409673
or edx, 2
xor edx, dword [ecx - 4]
cmp edx, 1
ja 0x409673
cmp dword [ecx - 8], 1
je 0x40967d
mov edx, ebx
or edx, 3
call fcn.00405c50
mov edi, dword [edi]
mov dword [edi - 4], ebx
mov byte [edi + ebx], 0
add ebx, 0xffffffff
and ebx, 0xfffffffc
mov eax, dword [esi + ebx]
mov ecx, eax
or eax, 0x80808080
mov edx, eax
sub eax, 0x5b5b5b5b
xor edx, ecx
or eax, 0x80808080
sub eax, 0x66666666
and eax, edx
shr eax, 2
xor eax, ecx
mov dword [edi + ebx], eax
mov eax, dword [esi + ebx - 4]
sub ebx, 4
jge 0x40968f
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
pop ebx
jmp fcn.00405504

Function at 0x409fd8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.004059c8
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x409ff1
test al, 0x10
je 0x409ff5
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40ced8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40cf11
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004055f4
jmp 0x40cf1a
mov eax, ebx
mov edx, esi
call fcn.00405558
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40cf24
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40cf46
movzx eax, byte [esp]
jmp 0x40cf48
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x40d5d8
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40d450
mov eax, dword [0x4b8d68]
cmp byte [eax], 0
je 0x40d654
mov eax, dword [0x4b8b00]
call fcn.004036a8
call fcn.00402e88
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.0040a2f0
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40d69c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40d68a
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4b8a98]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4bb7f4]
call fcn.00406bf4
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret

Function at 0x40dee8
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40dfbe
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040559c
lea eax, [ebp - 4]
call fcn.00405a18
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004059c8
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40dfa8
mov eax, ebx
call fcn.00402d2c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40dfa1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004059c8
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40df8b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40dfd0
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40df8b
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40dfa8
mov eax, dword [ebp - 0x10]
call fcn.00402d48
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40dfc5
lea eax, [ebp - 4]
call fcn.00405504
ret
Function at 0x422c60
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4bc300
cmp dword [edi], 0
jne 0x422cdc
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4bc2fc]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4b1cb8
mov ecx, 2
call fcn.00402f1c
mov edx, 0x422c38
lea eax, [esi + 5]
call fcn.00422c58
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00422c58
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x422cb1
mov dword [0x4bc2fc], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4254b4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.004059c8
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x42550c
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4b8ec8]
mov dl, 1
mov eax, dword [0x424fd8]
call fcn.0040d798
call fcn.00404f4c
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004250e0
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4268ec
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x4268f2
ret
Function at 0x4365ec
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.004059b8
xor eax, eax
push ebp
push 0x436721
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x4366f4
xor edx, edx
push ebp
push 0x4366ed
push dword fs:[edx]
mov dword fs:[edx], esp
mov ebx, dword [ebp - 4]
mov eax, ebx
test eax, eax
je 0x436639
sub eax, 4
mov eax, dword [eax]
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4366c2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov esi, eax
xor eax, eax
push ebp
push 0x4366b1
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x436678
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [ebp - 4]
call fcn.004059c8
lea ecx, [ebx + 1]
mov edx, esi
call fcn.00402f1c
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4366b8
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x4b8a28]
mov dl, 1
mov eax, dword [0x4088e8]
call fcn.0040d75c
call fcn.00404f4c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x436728
lea eax, [ebp - 4]
call fcn.00405504
ret
Function at 0x436730
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4368eb
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00405cb4
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 4]
mov ecx, 0x436904
call fcn.00405814
mov eax, ebx
call fcn.004221e0
mov edi, eax
dec edi
test edi, edi
jl 0x4367e8
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.004221b4
mov edx, dword [0x432d40]
call fcn.00404864
test al, al
je 0x4367e4
push dword [ebp - 8]
mov edx, esi
mov eax, ebx
call fcn.004221b4
lea edx, [ebp - 0x14]
call fcn.0044af0c
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00405cb4
push dword [ebp - 0x18]
lea eax, [ebp - 8]
mov edx, 3
call fcn.00405888
inc esi
dec edi
jne 0x436796
movzx eax, byte [0x436908]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x436914
mov eax, dword [ebp - 8]
call fcn.0040e9ac
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 8]
call fcn.0040559c
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.0044af0c
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x436904
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x360]
call fcn.0044af0c
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x436904
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x436904
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x436920
call fcn.0040a9f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4368f2
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00405528
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00405528
lea eax, [ebp - 0x14]
call fcn.00405504
lea eax, [ebp - 0x10]
call fcn.00405504
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405528
ret

Function at 0x439784
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x4397d8]
test si, 4
je 0x439799
or bl, 1
test si, 8
je 0x4397a3
or bl, 4
test si, 1
je 0x4397ad
or bl, 8
test si, 2
je 0x4397b7
or bl, 0x10
test si, 0x10
je 0x4397c1
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4397d0
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x4397dc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x439818]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4397f6
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x439805
or bl, 4
test esi, 0x20000000
je 0x439810
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x440ecc
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x440ede
add esp, 0xfffffff0
call fcn.004049fc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00421ba0
mov eax, dword [0x4b8aa0]
mov dword [eax + 4], ebx
mov dword [eax], 0x441270
mov eax, dword [0x4b8aac]
mov dword [eax + 4], ebx
mov dword [eax], 0x44127c
mov eax, ebx
call fcn.00441288
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x419654]
call fcn.004046a8
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x419654]
call fcn.004046a8
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x419654]
call fcn.004046a8
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x419654]
call fcn.004046a8
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x419654]
call fcn.004046a8
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x43cd20
push eax
push 0
push 0
mov eax, dword [0x4b8c3c]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x425c18]
call fcn.0042746c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x425c18]
call fcn.0042746c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x425c18]
call fcn.0042746c
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.004416b8
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x441588
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x441588
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x441588
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44101b
call fcn.00404a54
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret