joyce8/EMBER2024-capa huggingface dataset:
Function at 0x423430
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x218
mov eax, dword [0x67f864]
xor eax, esp
mov dword [esp + 0x210], eax
mov ecx, dword [esp + 0x21c]
test ecx, ecx
push ebx
push esi
push edi
je 0x423596
mov eax, dword [ecx]
test eax, eax
je 0x423596
sub eax, 1
mov dword [esp + 0x14], eax
shl eax, 4
mov eax, dword [eax + ecx + 0xc]
xor ecx, ecx
test eax, eax
setne cl
mov edi, ecx
cmp edi, 1
jne 0x4234c5
mov eax, dword [eax + 0x56c]
test eax, eax
je 0x4234be
mov esi, eax
mov edi, 0xfe
lea eax, [esp + 0x18]
movzx edx, word [esi]
test dx, dx
je 0x4234a5
sub edi, 1
je 0x4234a5
mov ecx, 1
jmp 0x4234a7
xor ecx, ecx
mov word [eax], dx
add eax, 2
add esi, 2
test ecx, ecx
jne 0x423491
mov word [esp + 0x214], cx
jmp 0x423535
mov ebx, 1
jmp 0x4234ca
mov ebx, 2
cmp dword [0x6928c0], 0
jne 0x423506
push 0xa
push 0x80
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
add eax, 2
mov dword [0x690b40], eax
mov dword [0x6928c0], 1
jmp 0x42350b
mov eax, dword [0x690b40]
movzx esi, word [eax + 0xc]
movzx edx, bx
add esi, edx
call fcn.0057ee1a
mov eax, dword [eax + 4]
mov edx, dword [eax + 0x44]
push 0xff
lea ecx, [esp + 0x1c]
push ecx
push esi
push edx
call dword [sym.imp.USER32.dll_LoadStringW]
test edi, edi
je 0x423563
mov eax, dword [esp + 0x22c]
movzx edx, word [eax]
movzx ecx, word [esp + 0x18]
add eax, 2
cmp ecx, edx
jne 0x423563
lea esi, [esp + 0x1a]
sub esi, eax
test ecx, ecx
je 0x42357a
movzx ecx, word [esi + eax]
movzx edx, word [eax]
add eax, 2
cmp ecx, edx
je 0x423551
cmp dword [esp + 0x14], 0
je 0x423596
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x228]
jmp 0x423460
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.005ce60a
add esp, 0x218
ret
mov ecx, dword [esp + 0x21c]
pop edi
pop esi
pop ebx
xor ecx, esp
or eax, 0xffffffff
call fcn.005ce60a
add esp, 0x218
ret
Function at 0x42e920
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [0x6911b0]
push esi
push edi
mov edi, dword [eax + 0x20]
call fcn.0049a700
push 1
mov dword [0x68d164], 0
call fcn.0042e830
add esp, 4
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jge 0x42e961
mov edx, dword [0x6911f4]
mov esi, edx
call fcn.0042e5d0
test eax, eax
jne 0x42e963
xor esi, esi
push esi
mov eax, edi
call fcn.0042e730
add esp, 4
pop edi
mov eax, 1
pop esi
ret
Function at 0x432530
Capabilities:
Get system information on windows

Disassembly:
mov eax, dword [0x692ba0]
sub esp, 0x28
push esi
push edi
xor edi, edi
xor esi, esi
cmp eax, edi
push 0x6876d8
je 0x43254b
call eax
jmp 0x432550
call fcn.005ca980
add esp, 4
cmp eax, edi
jne 0x432715
cmp dword [0x69120c], edi
push ebp
mov dword [esp + 0xc], 1
jne 0x4326e5
push ebx
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 0x28]
cmp eax, 0x200
mov ebx, eax
jle 0x43258e
mov ebx, 0x200
lea ecx, [ebx*8]
sub ecx, ebx
add ecx, ecx
add ecx, ecx
push ecx
call fcn.005ce76b
add esp, 4
cmp eax, edi
mov dword [0x691208], eax
je 0x4326e0
xor ebp, ebp
cmp ebx, edi
jle 0x4326ae
jmp 0x4325c0
mov ecx, dword [0x692b98]
lea esi, [edi + eax]
xor eax, eax
test ecx, ecx
mov dword [esi + 0x10], 0
mov dword [esi], eax
mov dword [esi + 4], eax
lea eax, [esi + 8]
push 0
push eax
je 0x4325e5
call ecx
jmp 0x4325ea
call fcn.005c9e90
add esp, 8
test eax, eax
jne 0x432640
mov ecx, dword [0x692be0]
test ecx, ecx
lea eax, [esi + 0xc]
push 0
push eax
je 0x432605
call ecx
jmp 0x43260a
call fcn.005cc2b0
add esp, 8
test eax, eax
jne 0x432626
add ebp, 1
add edi, 0x1c
cmp ebp, ebx
jge 0x4326ae
mov eax, dword [0x691208]
jmp 0x4325c0
mov ecx, dword [0x692b9c]
test ecx, ecx
lea eax, [esi + 8]
push eax
je 0x432638
call ecx
jmp 0x43263d
call fcn.005cbaa0
add esp, 4
test ebp, ebp
jle 0x43268b
mov esi, dword [0x691208]
add esi, 0xc
mov edi, ebp
nop
mov eax, dword [0x692b9c]
test eax, eax
je 0x432661
lea edx, [esi - 4]
push edx
call eax
jmp 0x43266a
lea eax, [esi - 4]
push eax
call fcn.005cbaa0
mov eax, dword [0x692be4]
add esp, 4
test eax, eax
push esi
je 0x43267b
call eax
jmp 0x432680
call fcn.005cd7f0
add esp, 4
add esi, 0x1c
sub edi, 1
jne 0x432650
mov ecx, dword [0x691208]
push ecx
mov dword [esp + 0x14], 0
call fcn.005ce619
add esp, 4
mov dword [0x691208], 0
jmp 0x4326e4
push 0x10
mov dword [0x69120c], ebx
call fcn.005ce76b
xor ecx, ecx
add esp, 4
cmp eax, ecx
je 0x4326e4
mov edx, dword [0x691150]
mov dword [eax], edx
mov dword [0x691150], eax
mov dword [eax + 4], ecx
mov dword [eax + 8], 0x4323a0
mov dword [eax + 0xc], ecx
jmp 0x4326e4
mov dword [esp + 0x10], edi
pop ebx
mov eax, dword [0x692bac]
test eax, eax
pop ebp
push 0x6876d8
je 0x432703
call eax
mov eax, dword [esp + 0xc]
add esp, 4
pop edi
pop esi
add esp, 0x28
ret
call fcn.005cad20
mov eax, dword [esp + 0xc]
add esp, 4
pop edi
pop esi
add esp, 0x28
ret
pop edi
mov eax, esi
pop esi
add esp, 0x28
ret
Function at 0x435260
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x408
mov eax, dword [0x67f864]
xor eax, esp
mov dword [esp + 0x404], eax
push ebx
push ebp
push esi
push edi
push 0x200
lea eax, [esp + 0x18]
push eax
push 0x31
push 3
call fcn.0051a1e0
mov cx, word [esp + 0x24]
add esp, 0x10
mov word [0x6b367c], cx
mov dword [esp + 0x10], 1
mov edi, 0x68da10
jmp 0x4352b0
mov ebp, dword [esp + 0x10]
xor ebx, ebx
lea ebp, [ebp + ebp - 2]
lea ebx, [ebx]
cmp dword [0x6928c0], 0
jne 0x4352fc
push 0xa
push 0x80
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
add eax, 2
mov dword [0x690b40], eax
mov dword [0x6928c0], 1
jmp 0x435301
mov eax, dword [0x690b40]
movzx eax, word [eax]
xor edx, edx
test ebx, ebx
setne dl
add dx, bp
movzx esi, dx
add esi, eax
call fcn.0057ee1a
mov eax, dword [eax + 4]
mov edx, dword [eax + 0x44]
push 0x200
lea ecx, [esp + 0x18]
push ecx
push esi
push edx
call dword [sym.imp.USER32.dll_LoadStringW]
xor esi, esi
push edi
mov eax, esi
lea ecx, [esp + 0x18]
call fcn.004351a0
add esi, 1
add esp, 4
add edi, 4
cmp esi, 6
jl 0x435332
add ebx, 1
cmp ebx, 2
jl 0x4352c0
add dword [esp + 0x10], 1
cmp edi, 0x68eac0
jl 0x4352b0
mov ecx, dword [esp + 0x414]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005ce60a
add esp, 0x408
ret
Function at 0x435cb0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x2c
mov eax, dword [0x67f864]
xor eax, esp
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [0x691214]
push ebx
push ebp
push esi
mov dword [esp + 0x10], eax
mov eax, dword [ecx + 0x18]
xor ebx, ebx
push edi
xor esi, esi
xor edi, edi
cmp eax, ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ebx
jl 0x435df0
lea esp, [esp]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x1c]
push edx
push eax
mov eax, dword [0x691214]
lea edx, [esp + 0x28]
call fcn.00432240
add esp, 8
test eax, eax
je 0x435d1c
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
lea eax, [edx + ecx]
jmp 0x435d1e
xor eax, eax
movzx ebp, word [eax]
mov ecx, dword [0x687a10]
movsx edx, bp
sub edx, 1
cmp edx, ecx
movzx eax, bp
jge 0x435de3
test bp, bp
jg 0x435d42
mov eax, 1
movsx eax, ax
sub eax, 1
js 0x435e55
cmp eax, ecx
jge 0x435e55
push 0
imul eax, eax, 0x64
add eax, dword [0x687a0c]
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
add eax, 4
je 0x435de3
lea esi, [eax + 1]
and esi, 0xfffffffe
cmp ebx, esi
jae 0x435daa
test edi, edi
je 0x435d93
push edi
call fcn.005ce619
add esp, 4
lea ebx, [esi + 0xa]
push 0
call fcn.0043ace0
mov edi, eax
add esp, 4
test edi, edi
je 0x435e3d
mov eax, ebp
mov ecx, edi
call fcn.004e1090
mov eax, dword [esp + 0x40]
push edi
push 0x4b1
push eax
mov eax, esi
call fcn.004b17e0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x435de3
mov eax, dword [esp + 0x10]
add eax, 1
cmp eax, dword [esp + 0x18]
mov dword [esp + 0x10], eax
jle 0x435cf0
test edi, edi
je 0x435df0
push edi
call fcn.005ce619
add esp, 4
mov ecx, dword [esp + 0x14]
cmp dword [ecx + 0xc], 4
jb 0x435ee5
mov edx, dword [0x691218]
mov ebx, dword [edx + 0x18]
xor edi, edi
test ebx, ebx
jl 0x435ee5
mov ebp, dword [esp + 0x40]
lea eax, [esp + 0x18]
push eax
mov eax, dword [0x691218]
push edi
lea edx, [esp + 0x1c]
call fcn.00432240
add esp, 8
test eax, eax
je 0x435e5a
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
lea eax, [edx + ecx]
jmp 0x435e5c
pop edi
pop esi
pop ebp
mov eax, 0x64
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.005ce60a
add esp, 0x2c
ret
jmp fcn.00574b84
xor eax, eax
movzx ecx, word [eax + 0x16]
mov word [eax], cx
movzx edx, cx
mov word [esp + 0x24], dx
movzx ecx, word [eax + 2]
mov word [esp + 0x26], cx
movzx edx, word [eax + 4]
mov word [esp + 0x28], dx
movzx ecx, word [eax + 6]
mov word [esp + 0x2a], cx
movzx edx, word [eax + 8]
mov word [esp + 0x2c], dx
movzx ecx, word [eax + 0xa]
mov word [esp + 0x2e], cx
movzx edx, word [eax + 0xc]
mov word [esp + 0x30], dx
movzx ecx, word [eax + 0xe]
mov word [esp + 0x32], cx
movzx edx, word [eax + 0x10]
lea ecx, [esp + 0x24]
push ecx
mov word [esp + 0x38], dx
mov ax, word [eax + 0x12]
mov word [esp + 0x3a], ax
push 0x4b3
push ebp
mov eax, 0x14
call fcn.004b17e0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x435ee5
add edi, 1
cmp edi, ebx
jle 0x435e15
mov ecx, dword [esp + 0x38]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005ce60a
add esp, 0x2c
ret
Function at 0x442d10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x64
push ebx
mov ebx, dword [esp + 0x6c]
push ebp
push esi
mov esi, eax
push edi
lea eax, [esp + 0x18]
push eax
add ebx, 0x9c
lea edx, [esi + 0x30]
lea edi, [esi + 0x10]
xor ebp, ebp
call fcn.00439910
add esp, 4
test eax, eax
je 0x442e9b
mov ecx, dword [esp + 0x78]
movzx edx, word [ecx + 0xf0]
test edx, edx
mov eax, dword [ecx + 0xf4]
mov dword [esp + 0x14], edx
je 0x442e9b
jmp 0x442d64
mov ecx, dword [esp + 0x78]
sub dword [esp + 0x14], 1
lea edi, [eax + 0x10]
jne 0x442d74
mov edi, dword [ecx + 0xf4]
fld qword [edi]
mov ecx, dword [eax]
fsub qword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x38], ecx
mov ecx, dword [eax + 8]
fst qword [esp + 0x58]
mov dword [esp + 0x3c], edx
fld qword [edi + 8]
mov edx, dword [eax + 0xc]
fsub qword [eax + 8]
mov dword [esp + 0x40], ecx
mov ecx, dword [edi]
mov dword [esp + 0x44], edx
mov edx, dword [edi + 4]
fst qword [esp + 0x60]
fld qword [0x62c6f8]
mov dword [esp + 0x48], ecx
mov ecx, dword [edi + 8]
fucomp st(2)
mov dword [esp + 0x4c], edx
mov edx, dword [edi + 0xc]
mov dword [esp + 0x50], ecx
fnstsw ax
mov dword [esp + 0x54], edx
test ah, 0x44
jnp 0x442dd3
fdivrp st(1)
fstp qword [esp + 0x68]
jmp 0x442dd7
fstp st(1)
fstp st(0)
push 0
lea eax, [esp + 0x2c]
push eax
push 0xd
mov ebx, 0xe
lea edx, [esp + 0x44]
mov ecx, esi
call fcn.00442a20
add esp, 0xc
test eax, eax
je 0x442e8e
test ebp, ebp
jne 0x442e26
fld qword [esi + 0x20]
mov dword [esp + 0x18], 1
fabs
fld qword [esi + 0x28]
fabs
fcompp
fnstsw ax
test ah, 5
jnp 0x442e1e
mov dword [esp + 0x18], ebp
fild dword [esp + 0x18]
fstp qword [esp + 0x18]
fld qword [0x62c6f8]
fcomp qword [esp + 0x18]
fnstsw ax
fld qword [esp + 0x30]
test ah, 0x44
fld qword [esp + 0x28]
jnp 0x442e48
fld st(0)
fsub qword [esi]
fdiv qword [esi + 0x20]
jmp 0x442e50
fld st(1)
fsub qword [esi + 8]
fdiv qword [esi + 0x28]
fld qword [0x650fa8]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x442e88
test ebp, ebp
je 0x442e70
fld qword [esp + 0x20]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x442e88
mov eax, dword [esp + 0x7c]
fxch st(1)
fstp qword [eax]
mov ebp, 1
fxch st(1)
fstp qword [eax + 8]
fstp qword [esp + 0x20]
jmp 0x442e8e
fstp st(1)
fstp st(0)
fstp st(0)
cmp dword [esp + 0x14], 0
mov eax, edi
jne 0x442d60
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x64
ret

Function at 0x44a8c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x44a8d9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x44a914
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x44a910
lea ebx, [ebx]
cmp esi, eax
jae 0x44a914
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x44a900
cmp esi, eax
jb 0x44a91a
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x456760
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x60fc88
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x67f864]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, edx
mov eax, dword [esi]
test eax, eax
jne 0x4567f0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
mov dword [esp + 0xc], edi
jne 0x4567c6
push 1
push 0x6875b8
lea ecx, [esp + 0x18]
call fcn.005d08bd
push 0x671f40
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x18], vtable.std::bad_alloc.0
call fcn.005d6638
lea eax, [esp + 0xc]
mov dword [esp + 0x30], 0
call fcn.00456680
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret
push 2
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GlobalReAlloc]
test eax, eax
jne 0x456825
push 1
push 0x6875b8
lea ecx, [esp + 0x24]
call fcn.005d08bd
push 0x671f40
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x24], vtable.std::bad_alloc.0
call fcn.005d6638
mov dword [esi], eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret
Function at 0x459550
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x218
mov eax, dword [0x67f864]
xor eax, esp
mov dword [esp + 0x214], eax
mov edx, dword [esp + 0x21c]
push ebp
xor ebp, ebp
cmp word [edx], bp
mov dword [esp + 0x10], edx
mov eax, edx
je 0x459594
lea esp, [esp]
add eax, 2
add ebp, 1
cmp word [eax], 0
jne 0x459580
test ebp, ebp
mov dword [esp + 0xc], ebp
jne 0x4595ac
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.005ce60a
add esp, 0x218
ret
push ebx
push esi
mov ecx, ebp
mov eax, edx
push edi
sub ecx, 1
cmp word [eax], 0x7b
je 0x4595de
add eax, 2
test ecx, ecx
jne 0x4595b3
xor eax, eax
mov ecx, dword [esp + 0x224]
pop edi
pop esi
pop ebx
pop ebp
xor ecx, esp
call fcn.005ce60a
add esp, 0x218
ret
mov ebx, eax
mov dword [esp + 0x10], ebx
jmp 0x4595f4
mov ebx, dword [esp + 0x10]
xor edi, edi
cmp dword [0x6928c0], 0
mov dword [esp + 0x14], edi
jne 0x459636
push 0xa
push 0x80
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
add eax, 2
mov dword [0x690b40], eax
mov dword [0x6928c0], 1
jmp 0x45963b
mov eax, dword [0x690b40]
movzx esi, word [eax + 0x5c]
movzx eax, di
add esi, eax
call fcn.0057ee1a
mov eax, dword [eax + 4]
mov edx, dword [eax + 0x44]
push 0x100
lea ecx, [esp + 0x28]
push ecx
push esi
push edx
call dword [sym.imp.USER32.dll_LoadStringW]
xor esi, esi
cmp word [esp + 0x24], si
lea eax, [esp + 0x24]
je 0x459743
add eax, 2
add esi, 1
cmp word [eax], 0
jne 0x459672
test esi, esi
je 0x459743
lea ecx, [esp + 0x24]
mov eax, ebx
call fcn.004c70f0
cmp ebx, eax
jne 0x459737
lea ecx, [edi + 1]
call fcn.00458710
mov ebp, eax
test ebp, ebp
je 0x459737
xor edi, edi
cmp dword [ebp], 7
jne 0x459726
mov ebx, dword [ebp + 0x40]
test ebx, ebx
je 0x4596c3
mov eax, dword [ebp + 0x3c]
mov dword [esp + 0x20], eax
jmp 0x4596cb
mov dword [esp + 0x20], 0
mov ecx, dword [esp + 0x18]
sub ecx, esi
lea edx, [ecx + ebx + 1]
cmp edx, dword [esp + 0x230]
jae 0x459722
mov edi, dword [esp + 0x10]
lea edx, [edi + esi*2]
xor ecx, ecx
cmp word [edx], cx
mov eax, edx
je 0x4596fc
mov edi, edi
add eax, 2
add ecx, 1
cmp word [eax], 0
jne 0x4596f0
lea eax, [ecx + ecx + 2]
push eax
lea esi, [ebx + ebx]
push edx
lea ecx, [esi + edi]
push ecx
call fcn.005cf840
mov edx, dword [esp + 0x2c]
push esi
push edx
push edi
call fcn.005dffd0
add esp, 0x18
mov edi, 1
mov ebx, dword [esp + 0x10]
push ebp
call fcn.00467450
add esp, 4
test edi, edi
jne 0x45977a
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
add edi, 2
jmp 0x4595f6
mov eax, ebx
sub eax, dword [esp + 0x1c]
mov ecx, ebp
add eax, 2
sar eax, 1
sub ecx, eax
je 0x459767
lea eax, [ebx + 2]
sub ecx, 1
cmp word [eax], 0x7b
je 0x459769
add eax, 2
test ecx, ecx
jne 0x459757
xor eax, eax
test eax, eax
mov dword [esp + 0x10], eax
jne 0x4595f0
jmp 0x4595c3
mov ecx, dword [esp + 0x230]
mov edx, dword [esp + 0x1c]
push ecx
push edx
call fcn.00459550
add esp, 8
mov eax, 1
jmp 0x4595c5
Function at 0x45ce10
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x54
mov eax, dword [0x67f864]
xor eax, esp
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x58]
push ebx
push ebp
push esi
xor ebx, ebx
push edi
lea edi, [eax + 0x2a0]
lea ebp, [ebx + 1]
cmp dword [0x6928c0], 0
jne 0x45ce69
push 0xa
push 0x80
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
add eax, 2
mov dword [0x690b40], eax
mov dword [0x6928c0], ebp
jmp 0x45ce6e
mov eax, dword [0x690b40]
movzx esi, word [eax + 0x28]
movzx eax, bx
add esi, eax
call fcn.0057ee1a
mov eax, dword [eax + 4]
mov edx, dword [eax + 0x44]
push 0x28
lea ecx, [esp + 0x14]
push ecx
push esi
push edx
call dword [sym.imp.USER32.dll_LoadStringW]
xor ecx, ecx
cmp word [esp + 0x10], cx
mov dword [edi], 0
lea eax, [esp + 0x10]
je 0x45ceaf
add eax, 2
add ecx, ebp
cmp word [eax], 0
jne 0x45cea4
mov eax, ebp
cmp eax, ecx
sbb ecx, ecx
add ecx, eax
mov dword [edi + 4], ecx
mov dword [edi + 8], ebp
add ebx, ebp
add edi, 0xc
cmp ebx, 0x15
jl 0x45ce31
mov ecx, dword [esp + 0x60]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005ce60a
add esp, 0x54
ret
Function at 0x46af70
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x2c
push ebx
push ebp
mov ebp, dword [esp + 0x38]
mov eax, dword [ebp + 0x2c]
mov ecx, dword [eax]
cmp ecx, 1
push esi
push edi
je 0x46af92
cmp ecx, 9
jne 0x46afa3
mov eax, dword [eax + 4]
call fcn.00471ec0
xor esi, esi
cmp eax, esi
je 0x46afa3
mov eax, dword [eax + 0x40]
cmp eax, esi
mov dword [esp + 0x40], eax
jne 0x46afb3
movsx eax, word [ebp + 0x28]
movsx ecx, word [ebp + 0x24]
sub eax, ecx
mov dword [esp + 0x40], eax
xor esi, esi
movsx ebx, word [esp + 0x44]
movsx edx, word [ebp + 0x24]
sub ebx, edx
sub ebx, eax
mov eax, dword [ebp + 0x34]
cmp eax, dword [ebp + 0x38]
mov dword [esp + 0x44], ebx
jne 0x46aff3
cmp dword [ebp + 0x74], esi
mov dword [ebp + 0x80], esi
mov dword [ebp + 0x84], esi
je 0x46aff3
mov ecx, dword [ebp + 0x7c]
mov edx, dword [ebp + 0x78]
push esi
push ecx
push edx
mov eax, ebp
call fcn.00510f30
add esp, 0xc
mov dword [ebp + 0x74], esi
push 0x17
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x46b013
push 2
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
xor ecx, ecx
test ax, ax
setl cl
mov eax, ecx
jmp 0x46b025
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
xor edx, edx
test ax, ax
setl dl
mov eax, edx
test eax, eax
je 0x46b0b5
push 0
push 0x202
push 0x202
push 0
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x46b0b5
lea edi, [esp + 0x14]
call fcn.004f10c0
movsx ecx, word [ebp + 0x24]
movsx esi, word [esp + 0x14]
sub esi, ecx
sub esi, ebx
test esi, esi
jle 0x46b096
cmp esi, dword [esp + 0x40]
je 0x46b096
push esi
mov ebx, 1
lea eax, [ebp + 0x2c]
call fcn.00472130
mov edx, dword [ebp + 0x98]
mov eax, dword [ebp + 0x94]
add esp, 4
push edx
push ebp
mov dword [esp + 0x48], esi
call eax
mov ebx, dword [esp + 0x4c]
add esp, 8
mov eax, dword [ebp + 0x90]
test eax, eax
je 0x46aff3
mov ecx, dword [ebp + 0x98]
push ecx
call eax
add esp, 4
jmp 0x46aff3
mov edx, dword [ebp + 0x34]
cmp edx, dword [ebp + 0x38]
jne 0x46b0c4
mov ebx, ebp
call fcn.0046aa40
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
Function at 0x47cab0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
xor eax, eax
test edi, edi
jle 0x47cae2
xor ecx, ecx
jmp 0x47cac0
mov edx, ecx
and edx, 0x800000ff
jns 0x47cad2
dec edx
or edx, 0xffffff00
inc edx
xor byte [eax + esi], dl
add eax, 1
add ecx, 0xfb
cmp eax, edi
jl 0x47cac0
ret

Function at 0x47f410
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
push ebx
push ebp
push edi
lea ecx, [esi + 0x18]
call fcn.0049c1a0
lea edi, [esi + 0x28]
push 0
xor ebx, ebx
mov eax, edi
call fcn.00472130
add esp, 4
xor eax, eax
lea ebx, [esi + 0x34]
call fcn.00511920
mov dword [ebx], eax
mov eax, dword [edi]
push eax
call fcn.00469660
mov ecx, dword [edi]
add esp, 4
push ecx
mov ecx, ebx
call fcn.00467be0
mov edx, dword [ebx]
add esp, 4
push edx
call fcn.005119c0
mov ebp, dword [edi]
mov ecx, dword [esi + 0x2c]
mov edi, dword [esi + 0x10]
mov dword [ebx], 0
mov edx, dword [ebp + 0x34]
add edx, dword [ebp + 0x30]
add esp, 4
lea eax, [esp + 0x18]
push eax
mov eax, dword [ebp + 0x28]
add eax, dword [ebp + 0x24]
push ecx
push edx
push eax
lea ebx, [esp + 0x1c]
lea eax, [esp + 0x20]
call fcn.00519480
movzx eax, word [esi + 0x16]
movzx edx, word [esi + 0x14]
movzx edi, dx
add word [esp + 0x20], di
add word [esp + 0x24], di
movzx ecx, ax
add word [esp + 0x22], cx
add word [esp + 0x26], cx
movzx edi, dx
add word [esp + 0x28], di
add word [esp + 0x2c], di
mov edi, dword [esp + 0x20]
movzx ecx, ax
add word [esp + 0x2a], cx
add word [esp + 0x2e], cx
mov dword [esi + 0x18], edi
mov edi, dword [esp + 0x24]
lea ecx, [esi + 0x18]
mov dword [ecx + 4], edi
mov edi, dword [esp + 0x28]
mov dword [esi + 0x20], edi
mov edi, dword [esp + 0x2c]
mov dword [esi + 0x24], edi
mov edi, dword [esp + 0x1c]
add edx, edi
mov word [esi + 0x50], dx
mov dx, word [ebp + 0x30]
add dx, ax
add esp, 0x10
add dx, word [esp + 0xe]
mov word [esi + 0x52], dx
pop edi
pop ebp
pop ebx
add esp, 0x18
jmp fcn.0049c1a0