joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41ec10
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x401600
push 0
push 0
mov dword [0x652024], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x652024], 0
jne 0x40174a
nop
push 0x65238c
push 0x32
push 0xa
call fcn.004047d0
add esp, 0xc
cmp dword [0x652024], 0
je 0x401730
call fcn.00418650
mov ecx, dword [0x652024]
mov dword [eax + 0x1c], ecx
ret
inc dword [0x652388]
push esi
push edi
call fcn.00418650
mov ecx, eax
call fcn.004121f0
xor edi, edi
mov dword [0x6523a0], edi
call fcn.0041eba0
call fcn.0045b640
call fcn.0045b680
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0x64d1a8
call dword [sym.imp.USER32.dll_SetRect]
call fcn.0044dbd0
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x17
mov dword [0x652590], edi
call esi
test eax, eax
je 0x41ec9b
mov dword [0x652390], 1
mov dword [0x64d198], 8
mov dword [0x64d19c], 0x10
mov dword [0x64d1a0], 2
mov dword [0x64d1a4], 4
jmp 0x41ecc9
mov dword [0x652390], edi
mov dword [0x64d198], 2
mov dword [0x64d19c], 4
mov dword [0x64d1a0], 8
mov dword [0x64d1a4], 0x10
push edi
call esi
push 1
mov dword [0x652398], eax
call esi
mov dword [0x652394], eax
mov dword [0x681f6c], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x6523a8], eax
call fcn.004395e0
pop edi
pop esi
jmp 0x401700

Function at 0x41f3d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4fdeb7
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6503d0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor edi, edi
mov dword [esi + 4], edi
mov dword [esp + 0x18], edi
mov dword [esi], vtable.Event.0
call fcn.004ac972
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x41f422
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0xc], eax
mov dword [esi + 8], edi
mov dword [esi + 0x10], 0x3e8
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esp + 0x18], 1
mov dword [esi], vtable.ForLoopEvent.0
call fcn.004ac972
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x41f469
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
lea ecx, [esi + 0x38]
mov byte [esp + 0x18], 6
call fcn.004190c0
mov dword [esi + 8], 8
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], 3
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x420ed0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4fe2d1
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x6503d0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
xor ebx, ebx
mov dword [esi + 4], ebx
mov dword [esp + 0x1c], ebx
mov dword [esi], vtable.Event.0
call fcn.004ac972
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x420f23
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0xc], eax
mov dword [esi + 8], ebx
mov dword [esi + 0x10], 0x3e8
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esp + 0x1c], 1
mov dword [esi], vtable.WaitWindowEvent.0
call fcn.004ac972
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x420f6a
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x20], eax
mov byte [esp + 0x1c], 2
lea edi, [esi + 0x28]
call fcn.004ac972
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x420f9b
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
lea ecx, [esi + 0x34]
mov byte [esp + 0x1c], 3
call fcn.004190c0
push 3
push 0x51179c
mov ecx, edi
mov byte [esp + 0x24], 4
mov dword [esi + 8], 0x1d
mov dword [esi + 0x1c], 1
mov dword [esi + 0x24], 0xa
call fcn.00401b80
mov dword [esi + 0x2c], 1
mov dword [esi + 0x30], ebx
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret

Function at 0x421310
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4fe35b
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6503d0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor edi, edi
mov dword [esi + 4], edi
mov dword [esp + 0x18], edi
mov dword [esi], vtable.Event.0
call fcn.004ac972
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x421362
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0xc], eax
mov dword [esi + 8], edi
mov dword [esi + 0x10], 0x3e8
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
push edi
push edi
push edi
push 0x4415e0
push 0x50eaa8
lea ecx, [esi + 0x1c]
mov dword [esp + 0x2c], 1
mov dword [esi], vtable.FunStartEvent.0
call fcn.00411940
lea ecx, [esi + 0x288]
mov byte [esp + 0x18], 2
call fcn.004190c0
mov dword [esi + 8], 0x2e
mov dword [esi + 0x10], edi
mov dword [esi + 0x30], esi
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x428ae0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 4]
sub ecx, 3
xor eax, eax
push edi
test ecx, ecx
jle 0x428b02
mov edi, dword [esp + 0xc]
mov edx, dword [esi]
xor dword [edx + eax], edi
add edx, eax
add eax, 4
cmp eax, ecx
jl 0x428af4
cmp eax, dword [esi + 4]
jge 0x428b20
lea edi, [esp + 0xc]
jmp 0x428b10
mov edx, dword [esi]
mov cl, byte [edi]
xor byte [edx + eax], cl
add edx, eax
inc eax
inc edi
cmp eax, dword [esi + 4]
jl 0x428b10
pop edi
pop esi
ret 4

Function at 0x429420
Capabilities:
Get mac address on windows

Disassembly:
push ecx
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push edi
push 0x288
push 0x40
xor ebx, ebx
call esi
mov edi, eax
lea eax, [esp + 0xc]
push eax
push edi
mov dword [esp + 0x14], 0x288
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
je 0x429460
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [esp + 0xc]
push ecx
push 0x40
call esi
mov edi, eax
lea edx, [esp + 0xc]
push edx
push edi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x4294db
mov esi, edi
test edi, edi
je 0x4294db
jmp 0x429480
lea eax, [esi + 0x10c]
push 0x6126fc
push eax
call fcn.004c78a0
add esp, 8
test eax, eax
ja 0x4294b5
cmp dword [esi + 0x1a0], 0x47
je 0x4294b5
mov esi, dword [esi]
test esi, esi
jne 0x429480
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
mov eax, ebx
pop ebx
pop ecx
ret
mov eax, dword [esi + 0x190]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push eax
add esi, 0x194
push esi
push edx
mov dword [ecx], eax
call fcn.004c6490
add esp, 0xc
mov ebx, 1
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
mov eax, ebx
pop ebx
pop ecx
ret

Function at 0x429600
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
push ebp
mov ebp, dword [esp + 0x14]
dec ebp
xor eax, eax
test edx, edx
jle 0x429639
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x1c]
jmp 0x429620
mov ecx, ebp
test ebp, ebp
jl 0x429631
mov bl, byte [ecx + edi]
xor byte [eax + esi], bl
sub ecx, 1
jns 0x429626
inc eax
cmp eax, edx
jl 0x429620
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x42bca0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
push ebx
mov ebx, dword [esp + 0x10]
push edi
push 0x612ba4
push eax
mov dword [ebx], 0xffffffff
call fcn.004c7cb3
mov edi, eax
add esp, 8
test edi, edi
je 0x42bce2
push edi
call fcn.004c8179
push eax
call fcn.004c807a
add esp, 8
mov dword [ebx], eax
test eax, eax
jne 0x42bce7
push edi
call fcn.004c7d41
add esp, 4
pop edi
xor eax, eax
pop ebx
ret
push ebp
mov ebp, dword [esp + 0x1c]
test ebp, ebp
je 0x42bcf3
add eax, 2
push esi
push eax
call fcn.004c6c5f
add esp, 4
mov esi, eax
push edi
test esi, esi
jne 0x42bd13
call fcn.004c7d41
add esp, 4
pop esi
pop ebp
pop edi
xor eax, eax
pop ebx
ret
mov ecx, dword [ebx]
push 1
push ecx
push esi
call fcn.004c805d
add esp, 0x10
test ebp, ebp
je 0x42bd2d
mov edx, dword [ebx]
xor eax, eax
mov word [esi + edx], ax
mov ecx, dword [esp + 0x18]
push edi
mov dword [ecx], esi
call fcn.004c7d41
add esp, 4
mov eax, esi
pop esi
pop ebp
pop edi
pop ebx
ret

Function at 0x42bd50
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 4]
push esi
push 0x612bac
push eax
call fcn.004c7cb3
mov esi, eax
add esp, 8
test esi, esi
jne 0x42bd6b
pop esi
ret
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push esi
push 1
push ecx
push edx
call fcn.004c830d
push esi
call fcn.004c7d41
add esp, 0x14
mov eax, 1
pop esi
ret
Function at 0x42bf10
Capabilities:
Check if file exists
Check os version
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4ff0f1
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x6503d0]
xor eax, esp
mov dword [esp + 0x12c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6503d0]
xor eax, esp
push eax
lea eax, [esp + 0x144]
mov dword fs:[0], eax
mov ebp, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.IsWow64Process
push str.kernel32
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42c015
push 0x110
xor ebx, ebx
lea eax, [esp + 0x34]
push ebx
push eax
call fcn.004c5c50
add esp, 0xc
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x30], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x30], 6
jne 0x42c015
mov eax, dword [esp + 0x34]
cmp eax, 1
je 0x42bfa9
cmp eax, 2
jne 0x42c015
mov dword [esp + 0x18], ebx
push str.ExtTools.dat
lea edx, [esp + 0x2c]
push 0x652570
push edx
mov dword [esp + 0x158], ebx
call fcn.0042be30
mov eax, dword [eax]
push ebx
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x2c]
push edx
push eax
call fcn.0042bca0
mov esi, eax
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
add esp, 0x1c
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c000
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, ebx
jne 0x42c03f
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x42c015
push eax
call fcn.004c7498
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x144]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x12c]
xor ecx, esp
call fcn.004c57d5
add esp, 0x13c
ret
push 0x16e000
mov ecx, esi
call fcn.0042bdd0
lea ecx, [esp + 0x1c]
mov edi, eax
call fcn.00428a40
push 0xa11c0
push edi
lea ecx, [esp + 0x24]
mov byte [esp + 0x154], 1
call fcn.00428ca0
push 0x4c6d5658
lea ecx, [esp + 0x20]
call fcn.00428ae0
lea ecx, [esp + 0x14]
call fcn.00405ed0
push 0x612bf4
lea ecx, [esp + 0x18]
push str.C:DD96699._s
push ecx
mov byte [esp + 0x158], 2
call fcn.00401df0
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x20]
push edx
push eax
push edi
call fcn.0042bd50
add esp, 0x18
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea ecx, [esp + 0x14]
cmp eax, 0xffffffff
jne 0x42c0ea
call fcn.00485000
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14c], bl
call fcn.00437200
lea ecx, [esp + 0x18]
call fcn.00427b90
jmp 0x42c015
call fcn.00485000
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14c], bl
call fcn.00437200
mov ecx, dword [esi + 0x3c]
mov edx, 0x10005d58
sub edx, dword [ecx + esi + 0x34]
mov ecx, esi
push edx
call fcn.0042bdd0
push ebx
push ebx
push ebx
mov byte [eax], 0xc2
mov byte [eax + 1], 0xc
mov byte [eax + 2], bl
call ebp
push eax
push esi
call fcn.0042cb10
add esp, 0x10
lea ecx, [esp + 0x18]
mov esi, eax
call fcn.00427b90
mov eax, esi
jmp 0x42c017
Function at 0x42cf00
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
ret
Function at 0x436280
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ff9b8
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push esi
push edi
mov eax, dword [0x6503d0]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov esi, dword [esp + 0x64]
cmp dword [esi], 0
je 0x436300
lea ecx, [esp + 0xc]
call fcn.004b43dc
push 0
lea eax, [esp + 0x68]
push eax
push 9
push 2
push 0x1ee
push esi
mov dword [esp + 0x74], 0
call fcn.004b4ee7
mov ecx, dword [esp + 0x7c]
add esp, 0x18
push 1
push ecx
lea ecx, [esp + 0x14]
call fcn.004b4748
cmp dword [esp + 0xc], 0
jne 0x436314
lea ecx, [esp + 0xc]
mov dword [esp + 0x5c], 0xffffffff
call fcn.004b448a
xor eax, eax
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x54
ret
mov eax, dword [esp + 0x68]
xor edx, edx
push eax
lea ecx, [esp + 0x28]
mov word [esp + 0x28], dx
call fcn.004b547f
lea ecx, [esp + 0x24]
push ecx
push 0x64de04
lea edx, [esp + 0x6c]
push edx
push 9
push 2
lea eax, [esp + 0x20]
push 0xaa
push eax
mov byte [esp + 0x78], 1
call fcn.004b4ee7
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
add esp, 0x1c
lea ecx, [esp + 0x24]
push ecx
mov byte [esp + 0x60], 0
call esi
mov edi, dword [esp + 0x64]
test edi, edi
je 0x4362ef
lea ecx, [esp + 0x1c]
call fcn.004b43dc
push 1
push edi
lea ecx, [esp + 0x24]
mov byte [esp + 0x64], 2
call fcn.004b4748
lea ecx, [esp + 0x14]
call fcn.004b43dc
push 0
lea edx, [esp + 0x68]
push edx
push 9
push 2
lea eax, [esp + 0x2c]
push 0xee
push eax
mov byte [esp + 0x74], 3
call fcn.004b4ee7
mov ecx, dword [esp + 0x7c]
add esp, 0x18
push 1
push ecx
lea ecx, [esp + 0x1c]
call fcn.004b4748
mov eax, dword [esp + 0x74]
xor edx, edx
push eax
lea ecx, [esp + 0x28]
mov word [esp + 0x28], dx
call fcn.004b547f
mov ecx, dword [esp + 0x70]
push 3
push ecx
lea ecx, [esp + 0x4c]
mov byte [esp + 0x64], 4
call fcn.004b4ff5
mov edi, eax
mov edx, dword [esp + 0x6c]
push 3
push edx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x64], 5
call fcn.004b4ff5
lea ecx, [esp + 0x24]
push ecx
push edi
push eax
push 0x64ddc8
push 0
push 0
push 4
lea edx, [esp + 0x30]
push 0xaa
push edx
mov byte [esp + 0x80], 6
call fcn.004b4ee7
add esp, 0x24
lea eax, [esp + 0x34]
push eax
call esi
lea ecx, [esp + 0x44]
push ecx
call esi
lea edx, [esp + 0x24]
push edx
call esi
lea ecx, [esp + 0x14]
mov byte [esp + 0x5c], 2
call fcn.004b448a
lea ecx, [esp + 0x1c]
mov byte [esp + 0x5c], 0
call fcn.004b448a
lea ecx, [esp + 0xc]
mov dword [esp + 0x5c], 0xffffffff
call fcn.004b448a
mov eax, 1
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x54
ret
Function at 0x437850
Capabilities:
Capture screenshot

Disassembly:
push 0xffffffffffffffff
push 0x4ffbf0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6503d0]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
push 0
push 0
push 0
push 0x50ece4
call dword [sym.imp.GDI32.dll_CreateDCW]
mov esi, eax
test esi, esi
je 0x4379d6
lea ecx, [esp + 0x14]
call fcn.004ad057
push esi
lea ecx, [esp + 0x18]
mov dword [esp + 0x40], 0
call fcn.004ad41c
lea ecx, [esp + 0x24]
call fcn.004ad057
mov edi, dword [esp + 0x58]
mov byte [esp + 0x3c], 1
test edi, edi
jne 0x4378c7
lea edi, [esp + 0x24]
cmp dword [edi + 4], 0
jne 0x4379b7
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, edi
call fcn.004ad41c
test eax, eax
je 0x4379b7
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x76
push ecx
call esi
mov edx, dword [esp + 0x18]
mov ebp, dword [esp + 0x48]
push 0x75
push edx
mov dword [ebp], eax
call esi
mov ebx, dword [esp + 0x4c]
mov dword [ebx], eax
mov eax, dword [esp + 0x18]
push 8
push eax
call esi
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x50]
push 0xa
push edx
mov dword [ecx], eax
call esi
mov ecx, dword [esp + 0x54]
mov dword [ecx], eax
mov edx, dword [ebx]
mov eax, dword [ebp]
mov ecx, dword [esp + 0x18]
push edx
push eax
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov esi, eax
test esi, esi
je 0x4379b7
mov eax, dword [edi + 4]
push esi
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0x18]
mov eax, dword [ebx]
mov ecx, dword [ebp]
mov edi, dword [edi + 4]
push 0x40cc0020
push 0
push 0
push edx
push eax
push ecx
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0x44]
push esi
call fcn.004ad6d8
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], 0
call fcn.004ad485
lea ecx, [esp + 0x14]
mov dword [esp + 0x3c], 0xffffffff
call fcn.004ad485
mov eax, 1
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], 0
call fcn.004ad485
lea ecx, [esp + 0x14]
mov dword [esp + 0x3c], 0xffffffff
call fcn.004ad485
xor eax, eax
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
Function at 0x4390c0
Capabilities:
Log keystrokes

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebx
call fcn.00438ff0
add esp, 4
test eax, eax
je 0x4390d7
or dword [esp + 0xc], 1
mov eax, dword [esp + 0xc]
push 0
push eax
movzx ecx, bl
push 0
push ecx
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
push eax
push ebx
call dword [sym.imp.USER32.dll_keybd_event]
pop ebx
ret

Function at 0x439100
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov eax, ebp
push edi
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x438f30
sub eax, edx
sar eax, 1
mov esi, eax
xor edi, edi
mov dword [esp + 0xc], esi
test esi, esi
jle 0x438fe8
push ebx
movzx eax, word [ebp + edi*2]
mov ecx, 0x100
cmp ax, cx
jae 0x438fd5
cmp ax, 0xd
je 0x438fde
push eax
call dword [sym.imp.USER32.dll_VkKeyScanW]
movzx ebx, ax
cmp bx, 0xffff
jne 0x438f7d
movzx edx, word [ebp + edi*2]
push edx
jmp 0x438fd6
test bx, bx
jge 0x438f88
not ebx
inc ebx
movzx ebx, bx
mov esi, ebx
sar esi, 8
push 0x14
and esi, 1
call dword [sym.imp.USER32.dll_GetKeyState]
test al, 1
je 0x438fc2
movzx eax, word [ebp + edi*2]
cmp ax, 0x61
jb 0x438fad
cmp ax, 0x7a
jbe 0x438fb9
cmp ax, 0x41
jb 0x438fc2
cmp ax, 0x5a
ja 0x438fc2
xor eax, eax
test esi, esi
sete al
mov esi, eax
movzx ecx, bl
push esi
push ecx
call fcn.00438de0
mov esi, dword [esp + 0x18]
add esp, 8
jmp 0x438fde
push eax
call fcn.00438ce0
add esp, 4
inc edi
cmp edi, esi
jl 0x438f50
pop ebx
pop edi
pop esi
pop ebp
pop ecx
ret
push ecx
mov eax, dword [0x6525d8]
mov edx, dword [esp + 8]
test eax, eax
jne 0x439181
movzx eax, word [edx]
mov ecx, edx
test ax, ax
je 0x439132
movzx eax, ax
jmp 0x439120
cmp ax, 0x7f
ja 0x439181
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x439120
push esi
lea eax, [esp + 4]
push eax
push edx
mov dword [esp + 0xc], 0
call fcn.00404130
mov esi, dword [esp + 0xc]
add esp, 8
cmp byte [esi], 0
je 0x4391c8
push ebx
mov ebx, dword [sym.imp.USER32.dll_MapVirtualKeyW]
push edi
mov edi, dword [sym.imp.USER32.dll_keybd_event]
mov al, byte [esi]
cmp al, 0x7f
jae 0x4391ae
cmp al, 0xa
je 0x43918d
cmp al, 0xd
je 0x4391ab
movsx cx, al
movzx edx, cx
push edx
call fcn.00405490
add esp, 4
inc esi
jmp 0x4391bd
add esp, 4
mov dword [esp + 4], edx
jmp 0x438f20
push 0
push 0
push 0
push 0xd
call ebx
push eax
push 0xd
call edi
push 0
push 2
push 0
push 0xd
call ebx
push eax
push 0xd
call edi
inc esi
jmp 0x4391bd
movzx eax, word [esi]
push eax
call fcn.00405490
add esp, 4
add esi, 2
cmp byte [esi], 0
jne 0x439160
mov esi, dword [esp + 0xc]
pop edi
pop ebx
push esi
call dword [sym.imp.ole32.dll_CoTaskMemFree]
pop esi
pop ecx
ret

Function at 0x43997f
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 4]
push esi
push 0x612bac
push eax
call fcn.004c7cb3
mov esi, eax
add esp, 8
test esi, esi
jne 0x43997b
pop esi
ret
push edi
push esi
push 1
push 2
push 0x6140f4
call fcn.004c830d
mov edi, dword [esp + 0x20]
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
add eax, eax
push 1
push eax
push edi
call fcn.004c830d
push esi
call fcn.004c7d41
add esp, 0x14
pop edi
mov eax, 1
pop esi
ret
Function at 0x4787c3
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push esi
mov esi, ecx
cmp dword [esi + 0x14], 0xffffffff
jne 0x47884a
mov eax, dword [esi + 0x10]
push ebx
push ebp
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
xor ebx, ebx
push ebx
push ebx
push ebx
push eax
call edi
push ebx
lea ecx, [esp + 0x18]
push ecx
push 2
lea edx, [esp + 0x1c]
mov ebp, eax
mov eax, dword [esi + 0x10]
push edx
push eax
mov dword [esp + 0x28], ebx
mov byte [esp + 0x24], bl
mov byte [esp + 0x25], bl
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x478820
cmp eax, 2
jne 0x47883b
cmp byte [esp + 0x10], 0xff
jne 0x47883b
cmp byte [esp + 0x11], 0xfe
jne 0x47883b
mov ecx, dword [esi + 0x10]
push ebx
push ebx
push ebp
push ecx
mov dword [esi + 0x14], 1
call edi
mov eax, dword [esi + 0x14]
pop edi
pop ebp
pop ebx
pop esi
add esp, 8
ret
mov ecx, dword [esi + 0x10]
push ebx
push ebx
push ebp
push ecx
mov dword [esi + 0x14], ebx
call edi
pop edi
pop ebp
pop ebx
mov eax, dword [esi + 0x14]
pop esi
add esp, 8
ret
Function at 0x482ca0
Capabilities:
Accept command line arguments

Disassembly:
push 0xffffffffffffffff
push 0x505ed9
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6503d0]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
lea eax, [esp + 0x1c]
xor ebx, ebx
push eax
mov dword [esp + 0x24], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebp, eax
cmp ebp, ebx
jne 0x482cff
mov eax, dword [esp + 0x3c]
mov dword [eax], ebx
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
lea ecx, [esp + 0x14]
push ecx
call dword [0x64de4c]
mov esi, dword [eax]
add esp, 4
mov dword [esp + 0x24], esi
cmp esi, ebx
je 0x482d1a
inc dword [esi + 4]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 1
cmp eax, ebx
je 0x482d42
dec dword [eax + 4]
mov ecx, eax
add eax, 4
cmp dword [eax], ebx
jg 0x482d3e
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [esp + 0x14], ebx
xor edi, edi
cmp dword [esp + 0x1c], ebx
jle 0x482dbe
lea ebx, [ebx]
mov ecx, dword [ebp + edi*4]
push ecx
lea edx, [esp + 0x1c]
push edx
call dword [0x64de38]
mov eax, dword [eax]
add esp, 4
mov ecx, esp
mov byte [esp + 0x38], 2
mov dword [esp + 0x2c], esp
mov dword [ecx], eax
cmp eax, ebx
je 0x482d79
inc dword [eax + 4]
push ecx
mov eax, esp
mov dword [esp + 0x30], esp
mov dword [eax], esi
cmp esi, ebx
je 0x482d89
inc dword [esi + 4]
call dword [0x64de6c]
mov eax, dword [esp + 0x20]
add esp, 8
mov byte [esp + 0x34], 1
cmp eax, ebx
je 0x482db7
dec dword [eax + 4]
mov ecx, eax
add eax, 4
cmp dword [eax], ebx
jg 0x482db3
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [esp + 0x18], ebx
inc edi
cmp edi, dword [esp + 0x1c]
jl 0x482d50
push ebp
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov edi, dword [esp + 0x3c]
mov dword [edi], esi
cmp esi, ebx
je 0x482dd2
inc dword [esi + 4]
mov dword [esp + 0x20], 1
mov byte [esp + 0x34], bl
cmp esi, ebx
je 0x482df4
dec dword [esi + 4]
cmp dword [esi + 4], ebx
jg 0x482df4
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
mov eax, edi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret