joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44adf0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push esi
push 0x10000
xor esi, esi
push esi
push 0x633520
mov dword [0x5f187c], 6
call fcn.00557650
movzx eax, word [0x5e690a]
movzx ecx, word [0x5e6908]
movzx edx, word [0x5e690c]
mov dword [0x5f1884], eax
movzx eax, word [0x5e690e]
push 0x10000
push 0x60ecc0
mov dword [0x643644], ecx
mov dword [0x64365c], edx
mov dword [0x64364c], eax
mov dword [0x643658], esi
mov dword [0x643654], esi
call dword [0x643660]
add esp, 0x14
mov dword [0x5f1880], eax
cmp eax, esi
je 0x44aeba
cmp eax, 0xffffffff
je 0x44aeba
mov dword [0x5f1878], esi
cmp eax, 0x106
jae 0x44ae99
lea esp, [esp]
cmp dword [0x5f1878], esi
jne 0x44ae99
call fcn.0044b020
cmp dword [0x5f1880], 0x106
jb 0x44ae80
movzx ecx, byte [0x60ecc0]
movzx edx, byte [0x60ecc1]
shl ecx, 5
xor ecx, edx
and ecx, 0x7fff
mov dword [0x5f1888], ecx
pop esi
ret
mov dword [0x5f1880], esi
mov dword [0x5f1878], 1
pop esi
ret
Function at 0x44e960
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test ecx, ecx
jne 0x44e967
xor eax, eax
ret
push esi
not eax
cmp edx, 8
jb 0x44ea44
mov esi, edx
shr esi, 3
push edi
lea esp, [esp]
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x5b1680]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
inc ecx
shr eax, 8
xor eax, dword [edi*4 + 0x5b1680]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
inc ecx
shr eax, 8
xor eax, dword [edi*4 + 0x5b1680]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x5b1680]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x5b1680]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x5b1680]
movzx edi, byte [ecx + 1]
inc ecx
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x5b1680]
movzx edi, byte [ecx + 1]
inc ecx
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x5b1680]
inc ecx
sub edx, 8
sub esi, 1
jne 0x44e980
pop edi
test edx, edx
je 0x44ea6b
jmp 0x44ea50
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x5b1680]
inc ecx
sub edx, 1
jne 0x44ea50
not eax
pop esi
ret

Function at 0x44f200
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, ebx
imul esi, dword [esp + 8]
cmp byte [edi], 0
je 0x44f232
mov ecx, dword [edi + 4]
push 0
lea eax, [esp + 0xc]
push eax
push esi
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x44f228
mov byte [edi + 8], 1
mov eax, dword [esp + 8]
xor edx, edx
div ebx
pop esi
ret
mov ecx, dword [edi + 0x18]
mov eax, dword [edi + 0x14]
push ebp
lea ebp, [ecx + esi]
cmp ebp, eax
pop ebp
jbe 0x44f245
sub eax, ecx
mov esi, eax
mov eax, dword [edi + 0x10]
push esi
add eax, ecx
push eax
push edx
call fcn.00558100
add dword [edi + 0x18], esi
mov eax, esi
add esp, 0xc
xor edx, edx
div ebx
pop esi
ret

Function at 0x44f260
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
cmp byte [esi], 0
push edi
mov edi, 1
je 0x44f293
mov edx, dword [esi + 4]
push 0
lea eax, [esp + 0xc]
push eax
push edi
lea ecx, [esp + 0x13]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x44f28d
mov byte [esi + 8], 1
mov edi, dword [esp + 8]
jmp 0x44f2bf
mov eax, dword [esi + 0x14]
push ebx
mov ebx, dword [esi + 0x18]
lea ecx, [ebx + 1]
cmp ecx, eax
jbe 0x44f2a5
sub eax, ebx
mov edi, eax
mov edx, dword [esi + 0x10]
push edi
add edx, ebx
push edx
lea eax, [esp + 0x13]
push eax
call fcn.00558100
add esp, 0xc
add ebx, edi
mov dword [esi + 0x18], ebx
pop ebx
cmp edi, 1
pop edi
jne 0x44f2d6
movzx ecx, byte [esp + 3]
mov edx, dword [esp + 0xc]
mov dword [edx], ecx
xor eax, eax
add esp, 8
ret
cmp byte [esi], 0
je 0x44f2d0
cmp byte [esi + 8], 0
je 0x44f2d0
or eax, 0xffffffff
add esp, 8
ret
Function at 0x44f410
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x18
cmp byte [esi], 0
je 0x44f455
cmp byte [esi + 1], 0
je 0x44f45d
mov eax, dword [esi + 4]
push 2
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp byte [esi], 0
push ebp
je 0x44f471
cmp byte [esi + 1], 0
je 0x44f463
mov edx, dword [esi + 4]
push 1
push 0
push 0
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ebp, eax
sub ebp, dword [esi + 0xc]
mov dword [esp + 4], ebp
jmp 0x44f47a
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x18], ecx
jmp 0x44f42e
xor eax, eax
add esp, 0x18
ret
mov dword [esp + 4], 0
mov ebp, dword [esp + 4]
jmp 0x44f47a
mov eax, dword [esi + 0x18]
mov dword [esp + 4], eax
mov ebp, eax
push edi
mov edi, 0xffff
mov dword [esp + 0xc], edi
cmp ebp, edi
jae 0x44f48e
mov dword [esp + 0xc], ebp
mov edi, ebp
push ebx
push 0x404
call fcn.00550ce4
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x44f4a9
pop ebx
pop edi
pop ebp
add esp, 0x18
ret
mov eax, 4
mov dword [esp + 0x18], 0
cmp edi, eax
jbe 0x44f5bc
jmp 0x44f4cc
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0xc]
add eax, 0x400
mov dword [esp + 0x14], edi
cmp eax, edi
ja 0x44f4dd
mov dword [esp + 0x14], eax
mov eax, ebp
sub eax, dword [esp + 0x14]
sub ebp, eax
mov dword [esp + 0x20], eax
cmp ebp, 0x404
jbe 0x44f4f6
mov ebp, 0x404
cmp byte [esi], 0
je 0x44f51b
cmp byte [esi + 1], 0
je 0x44f5bc
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 4]
push 0
push 0
add ecx, eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x44f51e
mov dword [esi + 0x18], eax
cmp byte [esi], 0
mov edi, ebp
je 0x44f546
mov ecx, dword [esi + 4]
push 0
lea eax, [esp + 0x20]
push eax
push ebp
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x44f540
mov byte [esi + 8], 1
mov eax, dword [esp + 0x1c]
jmp 0x44f56c
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x14]
lea edx, [eax + ebp]
cmp edx, ecx
jbe 0x44f557
sub ecx, eax
mov edi, ecx
mov ecx, dword [esi + 0x10]
push edi
add ecx, eax
push ecx
push ebx
call fcn.00558100
add esp, 0xc
add dword [esi + 0x18], edi
mov eax, edi
xor edx, edx
div ebp
cmp eax, 1
jne 0x44f5bc
lea eax, [ebp - 3]
test eax, eax
jle 0x44f5ae
lea esp, [esp]
dec eax
cmp byte [eax + ebx], 0x50
jne 0x44f59c
cmp byte [eax + ebx + 1], 0x4b
jne 0x44f59c
cmp byte [eax + ebx + 2], 5
jne 0x44f59c
cmp byte [eax + ebx + 3], 6
je 0x44f5a2
test eax, eax
jg 0x44f580
jmp 0x44f5ae
mov edx, dword [esp + 0x20]
add eax, edx
mov dword [esp + 0x18], eax
jne 0x44f5bc
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x14], eax
jb 0x44f4c0
push ebx
call fcn.00550c07
mov eax, dword [esp + 0x1c]
add esp, 4
pop ebx
pop edi
pop ebp
add esp, 0x18
ret
Function at 0x450400
Capabilities:
Get common file path

Disassembly:
push ecx
cmp dword [ebx], 0
push ebp
mov ebp, dword [esp + 0x14]
push esi
push edi
jne 0x4504a7
cmp dword [ebx + 4], 0xffffffff
jne 0x4504a7
lea esi, [ebx + 0x138]
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
dec esi
mov edi, edi
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x450430
mov ax, word [0x5af6f0]
mov edi, esi
mov word [edi], ax
cmp ebp, 1
jne 0x450463
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, ebp
je 0x450463
mov eax, 0x2000000
pop edi
pop esi
pop ebp
pop ecx
ret 0xc
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x14]
push edx
push eax
push ecx
mov edi, ebp
call fcn.0044f0c0
add esp, 0xc
test eax, eax
jne 0x45048b
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ecx
ret 0xc
call fcn.0044f5d0
mov dword [ebx], eax
neg eax
sbb eax, eax
and eax, 0xfffff900
add eax, 0x700
pop edi
pop esi
pop ebp
pop ecx
ret 0xc
pop edi
pop esi
mov eax, 0x1000000
pop ebp
pop ecx
ret 0xc

Function at 0x45eb75
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x45ebbc
call fcn.004516bb
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x45ebbc
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x45ebd8
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0045e6ef
mov esi, eax
test edi, edi
je 0x45ebd6
test ebx, ebx
je 0x45ebd6
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x45f3df
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x57c211
call fcn.00555ec1
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x45f404
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x45f44a
lea ecx, [ebp - 0x10]
call fcn.00402490
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00454f22
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401200
mov eax, esi
call fcn.00555f99
ret 8
Function at 0x460e44
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.004516bb
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x460e7d
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.00460a95
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x4674e5
Capabilities:
Create http request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov dword [esi], vtable.CInternetSession.0
test eax, eax
jne 0x467510
call fcn.004516bb
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi + 8], eax
test eax, eax
jne 0x467533
push eax
push dword [esi + 4]
call fcn.00467446
push esi
push eax
mov ecx, 0x5e9208
call fcn.004670fa
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x469a5e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x469aa6
call fcn.004516bb
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x469aa6
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x469ae9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x469ad2
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x469ad2
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x469ae6
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x47a28a
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push esi
mov esi, ecx
push edi
xor edi, edi
push str.UxTheme.dll
mov dword [esi], vtable.CMFCBaseVisualManager.0
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
call fcn.00459de4
pop ecx
mov dword [esi + 0x48], eax
cmp eax, edi
je 0x47a345
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.OpenThemeData
push eax
call edi
push str.CloseThemeData
push dword [esi + 0x48]
mov dword [esi + 0x4c], eax
call edi
push str.DrawThemeBackground
push dword [esi + 0x48]
mov dword [esi + 0x50], eax
call edi
push str.GetThemeColor
push dword [esi + 0x48]
mov dword [esi + 0x54], eax
call edi
push str.GetThemeSysColor
push dword [esi + 0x48]
mov dword [esi + 0x58], eax
call edi
push str.GetCurrentThemeName
push dword [esi + 0x48]
mov dword [esi + 0x5c], eax
call edi
push str.GetWindowTheme
push dword [esi + 0x48]
mov dword [esi + 0x60], eax
call edi
mov ecx, esi
mov dword [esi + 0x64], eax
call fcn.00479d74
jmp 0x47a35a
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
pop edi
mov eax, esi
pop esi
ret

Function at 0x47fae1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
cmp dword [0x5e9480], 0
mov dword [ebp - 4], ecx
jne 0x47faf7
xor eax, eax
jmp 0x47fb31
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x47fb07
call fcn.004516bb
mov esi, dword [eax + 0xc]
push edi
push dword [0x5e98b4]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x47fb2d
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x47fb35
xor eax, eax
pop edi
pop esi
leave
ret 8
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x47fb53
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x47fb2f
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.0047f95b
mov esi, eax
jmp 0x47fb45
Function at 0x481459
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0x54
mov eax, 0x573a0a
call fcn.00555ef4
mov esi, ecx
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], ebx
call fcn.00456135
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.00455a7b
push ebx
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
call fcn.00401df0
mov edi, vtable.CBitmap.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], edi
push dword [esi + 0x54]
lea eax, [ebp - 0x60]
push dword [esi + 0x50]
lea ecx, [ebp - 0x20]
push eax
mov byte [ebp - 4], 3
call fcn.00401dc0
cmp eax, ebx
jne 0x4814f0
push 0xffffffffffffffff
push ebx
push 0x3e8a
call fcn.004553e5
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
mov dword [ebp - 0x20], edi
call fcn.00401ae0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.0045608d
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], bl
call fcn.00456189
xor eax, eax
call fcn.00555f99
ret 4
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00401e30
mov ecx, dword [esi + 0x50]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x54]
mov dword [ebp - 0x40], eax
push 0x5e939c
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x44], ecx
push eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
call fcn.00401ea0
push ebx
push ecx
push ecx
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], ebx
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x18], esp
push eax
mov ecx, esi
call fcn.0047f2f5
push 0xff
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp + 8]
lea eax, [ebp - 0x3c]
push ebx
push ebx
push eax
mov ecx, esi
call fcn.004808f3
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.0047debb
push dword [ebp - 0x14]
lea ecx, [ebp - 0x3c]
call fcn.00401e30
call fcn.00401aa0
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4814b3
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x4815a2
push 0xffffffffffffffff
push ebx
push 0x3e8a
call fcn.004553e5
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x4814c0
lea ecx, [ebp - 0x20]
call fcn.0045630c
push eax
push 2
call dword [sym.imp.USER32.dll_SetClipboardData]
cmp eax, ebx
jne 0x4815c4
push 0xffffffffffffffff
push ebx
push 0x3e8a
call fcn.004553e5
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
mov dword [ebp - 0x20], edi
call fcn.00401ae0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.0045608d
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], bl
call fcn.00456189
xor eax, eax
inc eax
jmp 0x4814e8
Function at 0x48c261
Capabilities:
Get keyboard layout
Log keystrokes
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x5e4a44]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push edi
mov edi, dword [ebp + 8]
lea eax, [edi - 0x60]
mov ebx, 0x8000
cmp eax, 9
ja 0x48c29a
push 0x12
call esi
mov ecx, ebx
test cx, ax
je 0x48c2c1
cmp dword [0x5e9af0], 0
jne 0x48c2c1
lea eax, [edi - 0x41]
cmp eax, 0x19
jbe 0x48c2b4
push 0x12
call esi
test bx, ax
je 0x48c2b8
mov eax, edi
jmp 0x48c32c
push edi
call fcn.0055a256
pop ecx
jmp 0x48c32c
and dword [ebp - 0x10c], 0
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
call fcn.00457120
push dword [eax + 0x30]
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push 1
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push edi
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
push eax
push edi
call dword [sym.imp.USER32.dll_ToAsciiEx]
mov al, byte [ebp - 0x10c]
mov byte [ebp - 0x108], al
lea eax, [ebp - 0x108]
push eax
mov byte [ebp - 0x107], 0
call dword [sym.imp.USER32.dll_CharUpperA]
movsx eax, byte [ebp - 0x108]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005509f8
leave
ret 4
Function at 0x49bf46
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
movzx ebx, word [ebp + 8]
push esi
push edi
mov edi, ecx
test ebx, ebx
jne 0x49bf60
call fcn.0045553c
call fcn.004516bb
mov esi, dword [eax + 0xc]
push 0xf1
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
jne 0x49bf80
xor eax, eax
jmp 0x49c09b
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x49bf79
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x49bf79
movzx eax, word [esi + 6]
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00450cdb
pop ecx
mov dword [ebp - 8], eax
test eax, eax
je 0x49bf5b
cmp dword [ebp + 0x10], 0
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
push ecx
push eax
lea ebx, [ecx + 6]
lea edx, [eax + 6]
push ebx
push edx
je 0x49bfdd
mov ecx, edi
call fcn.00494ba3
jmp 0x49bfe2
call fcn.00494a8d
mov eax, dword [ebp + 0xc]
xor ebx, ebx
inc ebx
cmp dword [eax + 4], 0
jne 0x49bff4
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
cmp dword [edi + 0xbe0], 0
jne 0x49c00f
push dword [ebp + 0x10]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x310]
test eax, eax
je 0x49c087
mov eax, dword [edi + 0xad0]
mov dword [ebp + 0xc], eax
xor eax, eax
xor ebx, ebx
cmp ax, word [esi + 6]
jae 0x49c05e
lea eax, [esi + 8]
mov dword [ebp - 4], eax
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp - 4]
movzx eax, word [eax]
mov ecx, dword [ebp - 8]
mov dword [ecx + ebx*4], eax
jne 0x49c051
test eax, eax
jbe 0x49c051
push eax
mov ecx, 0x5e19d4
call fcn.004af870
mov ecx, dword [ebp + 0xc]
inc dword [ebp + 0xc]
mov dword [eax], ecx
movzx eax, word [esi + 6]
add dword [ebp - 4], 2
inc ebx
cmp ebx, eax
jl 0x49c028
mov eax, dword [ebp + 8]
mov dword [edi + 0xbe0], eax
movzx ecx, word [esi + 6]
mov eax, dword [edi]
push 1
push ecx
push dword [ebp - 8]
mov ecx, edi
call dword [eax + 0x318]
mov ebx, eax
test ebx, ebx
jne 0x49c087
and dword [edi + 0xbe0], eax
push dword [ebp - 8]
call fcn.00450d0a
pop ecx
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x4a1b47
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, ecx
mov ecx, dword [ebx + 0xe4]
mov dword [ebp - 4], ebx
test ecx, ecx
je 0x4a1c88
push esi
push edi
push 0x58f304
call fcn.004570b4
mov edi, eax
neg edi
sbb edi, edi
inc edi
cmp dword [ebp + 8], 0
je 0x4a1bd7
mov esi, dword [ebx + 0x168]
jmp 0x4a1bc3
mov eax, esi
mov edi, dword [eax + 8]
mov esi, dword [esi]
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4a1bc3
push edi
call fcn.0045b5ef
push eax
push 0x5e1fb0
call fcn.004570d2
pop ecx
pop ecx
test eax, eax
je 0x4a1bc3
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x178]
test eax, eax
jle 0x4a1bc3
push 4
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
test esi, esi
jne 0x4a1b83
lea ecx, [ebx + 0x164]
call fcn.0049efc8
jmp 0x4a1c86
mov eax, dword [ebx + 0xcc]
mov dword [ebp - 8], eax
test eax, eax
je 0x4a1c86
jmp 0x4a1bed
mov ebx, dword [ebp - 4]
lea eax, [ebp - 8]
push eax
lea ecx, [ebx + 0xc8]
call fcn.004f9c95
mov esi, dword [eax]
test esi, esi
jne 0x4a1c06
xor ebx, ebx
jmp 0x4a1c09
mov ebx, dword [esi + 0x20]
push ebx
mov dword [ebp + 8], ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4a1c7c
push ebx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4a1c7c
test edi, edi
je 0x4a1c4e
push esi
push 0x5e1fb0
call fcn.004570d2
mov edx, dword [eax]
pop ecx
pop ecx
mov ecx, eax
call dword [edx + 0x180]
push eax
push 0x595b50
call fcn.004570d2
pop ecx
pop ecx
test eax, eax
je 0x4a1c7c
push 0
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [ebp - 4]
push 0
lea eax, [ebp + 8]
add esi, 0x164
push eax
mov ecx, esi
call fcn.004a1099
test eax, eax
jne 0x4a1c7c
lea eax, [ebp + 8]
push eax
mov ecx, esi
call fcn.004a1069
cmp dword [ebp - 8], 0
jne 0x4a1bea
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x4a61d4
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x5e4a44]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
xor esi, esi
lea ecx, [ebp - 0x10c]
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x10c], esi
mov dword [ebp - 0x108], esi
call fcn.004a5c94
mov ebx, eax
cmp ebx, esi
je 0x4a6241
lea ecx, [ebp - 0x10c]
call fcn.00475612
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005509f8
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x4a625f
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebp - 0x10c]
call fcn.004a61d4
cmp eax, esi
jne 0x4a62a6
lea eax, [ebp - 0x11c]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x104]
push eax
push esi
push dword [ebp - 0x10c]
mov dword [ebp - 0x110], 0x100
call ebx
test eax, eax
je 0x4a6249
lea ecx, [ebp - 0x10c]
call fcn.00475612
push dword [ebp - 0x114]
mov ecx, edi
call fcn.004a5c35
lea ecx, [ebp - 0x10c]
mov esi, eax
call fcn.00475612
mov eax, esi
jmp 0x4a6230