joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ef450
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57630b
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x5b3074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x21c], esi
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0x220], esi
push 0
push eax
mov dword [ebp - 0x224], 0
call fcn.00516940
add esp, 0xc
lea eax, [ebp - 0x218]
push 1
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.ComputerZ_PDFData
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
call fcn.00409c54
mov ecx, eax
test ecx, ecx
jne 0x4ef4e6
push 0x80004005
call fcn.0040b4a2
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4ef4fb
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x4ef4fd
call edx
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
test eax, 0xffff0000
jne 0x4ef5d0
movzx edi, ax
mov ecx, edi
call fcn.00408f5a
mov ebx, eax
test ebx, ebx
je 0x4ef5fe
mov eax, edi
shr eax, 4
inc eax
push 6
movzx eax, ax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4ef5fe
push edi
mov edx, eax
mov ecx, ebx
call fcn.00408f9e
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4ef5fe
mov eax, dword [esi]
mov ecx, 1
movzx edi, word [ebx]
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, edi
or ecx, eax
jge 0x4ef57e
push edi
mov ecx, esi
call fcn.00409225
movzx ecx, word [ebx]
lea eax, [ebx + 2]
push ecx
push eax
push edi
push dword [esi]
call fcn.0051deb6
add esp, 0x10
cmp eax, 0x50
ja case.0x4ef5a1.1
movzx eax, byte [eax + 0x4ef62c]
jmp dword [eax*4 + 0x4ef61c]
push 0x8007000e
call fcn.0040b4a2
push 0x80070057
call fcn.0040b4a2
mov eax, dword [esi]
cmp edi, dword [eax - 8]
jg case.0x4ef5a1.20
mov dword [eax - 0xc], edi
xor ecx, ecx
mov eax, dword [esi]
mov word [eax + edi*2], cx
jmp 0x4ef5fe
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4ef5e0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00409323
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050f7b9
mov esp, ebp
pop ebp
ret
Function at 0x4efd10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57640b
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x5b3074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x21c], esi
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0x220], esi
push 0
push eax
mov dword [ebp - 0x224], 0
call fcn.00516940
add esp, 0xc
lea eax, [ebp - 0x218]
push 1
push 0x2e
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test edi, edi
je 0x4efd93
push edi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
call fcn.00409c54
mov ecx, eax
test ecx, ecx
jne 0x4efda8
push 0x80004005
call fcn.0040b4a2
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4efdbd
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x4efdbf
call edx
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
test eax, 0xffff0000
jne 0x4efe92
movzx edi, ax
mov ecx, edi
call fcn.00408f5a
mov ebx, eax
test ebx, ebx
je 0x4efebe
mov eax, edi
shr eax, 4
inc eax
push 6
movzx eax, ax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4efebe
push edi
mov edx, eax
mov ecx, ebx
call fcn.00408f9e
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4efebe
mov eax, dword [esi]
mov ecx, 1
movzx edi, word [ebx]
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, edi
or ecx, eax
jge 0x4efe40
push edi
mov ecx, esi
call fcn.00409225
movzx ecx, word [ebx]
lea eax, [ebx + 2]
push ecx
push eax
push edi
push dword [esi]
call fcn.0051deb6
add esp, 0x10
cmp eax, 0x50
ja case.0x4efe63.1
movzx eax, byte [eax + 0x4efeec]
jmp dword [eax*4 + 0x4efedc]
push 0x8007000e
call fcn.0040b4a2
push 0x80070057
call fcn.0040b4a2
mov eax, dword [esi]
cmp edi, dword [eax - 8]
jg case.0x4efe63.20
mov dword [eax - 0xc], edi
xor ecx, ecx
mov eax, dword [esi]
mov word [eax + edi*2], cx
jmp 0x4efebe
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4efea0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00409323
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050f7b9
mov esp, ebp
pop ebp
ret

Function at 0x550de3
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005509e8

Function at 0x550dee
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00550b69

Function at 0x55a6a5
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00559e8a

Function at 0x55a6b0
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0055a0c5

Function at 0x55ac03
Capabilities:
Create thread
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0055a98a
Function at 0x457e30
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0x43c
cmp word [ecx], 0
push ebx
push ebp
push esi
mov esi, edx
je 0x45809b
cmp word [esi], 0
je 0x45809b
mov ebp, dword [esp + 0x44c]
cmp ebp, 1
je 0x457e64
cmp ebp, 2
je 0x457e64
xor bh, bh
jmp 0x457e66
mov bh, 1
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x34]
push eax
push 0x104
push ecx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
lea ecx, [esp + 0x30]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x457e83
sub ecx, edx
sar ecx, 1
je 0x457ea3
cmp word [esp + ecx*2 + 0x2e], 0x5c
jne 0x457ea3
xor eax, eax
mov word [esp + ecx*2 + 0x2e], ax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x240]
push eax
push 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
lea ecx, [esp + 0x23c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x457ec6
sub ecx, edx
sar ecx, 1
je 0x457eec
cmp word [esp + ecx*2 + 0x23a], 0x5c
jne 0x457eec
xor eax, eax
mov word [esp + ecx*2 + 0x23a], ax
mov bl, byte [esp + 0x450]
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test bl, bl
je 0x457f85
lea eax, [esp + 0x30]
push eax
call esi
cmp eax, 0xffffffff
je 0x45809b
test al, 0x10
je 0x45809b
movzx eax, word [esp + 0x30]
mov ecx, eax
add eax, 0xffffffbf
cmp ax, 0x19
ja 0x457f2c
or ecx, 0x20
movzx eax, word [esp + 0x23c]
mov edx, eax
add eax, 0xffffffbf
cmp ax, 0x19
ja 0x457f42
or edx, 0x20
cmp cx, dx
jne 0x457f4f
cmp word [esp + 0x32], 0x3a
je 0x457f85
movzx eax, bh
lea edx, [esp + 0x23c]
push 0
push eax
lea ecx, [esp + 0x38]
call fcn.00457e30
add esp, 8
test al, al
je 0x45809b
mov dl, 1
lea ecx, [esp + 0x30]
call fcn.004580b0
pop esi
pop ebp
pop ebx
add esp, 0x43c
ret
lea eax, [esp + 0x23c]
push eax
call esi
cmp eax, 0xffffffff
je 0x457faa
test al, 0x10
je 0x45809b
test bh, bh
je 0x45809b
test bl, bl
jne 0x457ff5
jmp 0x457fc2
test bl, bl
jne 0x457ff5
lea ecx, [esp + 0x23c]
call fcn.0041ff60
test al, al
je 0x45809b
lea ecx, [esp + 0x30]
add ecx, 0xfffffffe
nop dword [eax]
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x457fd0
mov eax, dword [0x4d9fb0]
mov dword [ecx], eax
mov eax, dword [0x4d9fb4]
mov dword [ecx + 4], eax
mov ax, word [0x4d9fb8]
mov word [ecx + 8], ax
lea ecx, [esp + 0x30]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x458000
sub ecx, edx
sar ecx, 1
xor eax, eax
mov word [esp + ecx*2 + 0x32], ax
lea ecx, [esp + 0x23c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x458020
xor eax, eax
sub ecx, edx
sar ecx, 1
xorps xmm0, xmm0
mov dword [esp + 0x10], eax
mov dword [esp + 0x2a], eax
movlpd qword [esp + 0x22], xmm0
mov word [esp + ecx*2 + 0x23e], ax
lea eax, [esp + 0x30]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x23c]
mov dword [esp + 0x1c], eax
movzx eax, bl
xor eax, 1
inc eax
mov dword [esp + 0x14], eax
mov eax, 0x614
mov word [esp + 0x20], ax
cmp ebp, 2
jne 0x458081
mov eax, 0x615
mov word [esp + 0x20], ax
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
pop esi
test eax, eax
pop ebp
sete al
pop ebx
add esp, 0x43c
ret
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x43c
ret
Function at 0x4b58c0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4b58ed
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4b58ed
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x402450
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jne 0x402475
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov ecx, 0x4030a8
sub ecx, 0x4030a4
sar ecx, 2
push ecx
push 0x4030a4
call fcn.00402560
add esp, 8
mov edx, 0x4030a0
sub edx, 0x40309c
sar edx, 2
push edx
push 0x40309c
call fcn.00402560
add esp, 8
mov eax, dword [ebp - 0x1c]
and eax, 1
je 0x4024cf
movzx ecx, word [ebp - 0x18]
mov dword [ebp - 0x54], ecx
jmp 0x4024d6
mov dword [ebp - 0x54], 0xa
mov edx, dword [ebp - 0x54]
push edx
mov eax, dword [ebp - 0x50]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov dword [ebp - 0x4c], eax
mov ecx, dword [0x40368c]
push ecx
mov edx, dword [0x403688]
push edx
call fcn.004025a0
add esp, 8
mov eax, dword [0x403688]
push eax
call fcn.00402420
add esp, 4
mov ecx, 0x4030b0
sub ecx, 0x4030ac
sar ecx, 2
push ecx
push 0x4030ac
call fcn.00402560
add esp, 8
mov edx, 0x4030b8
sub edx, 0x4030b4
sar edx, 2
push edx
push 0x4030b4
call fcn.00402560
add esp, 8
call fcn.004025d0
mov eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x4d95d0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x57335b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0056791e
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4d9652
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0056519f
mov eax, dword [eax]
push 0x6ead2c
push eax
call fcn.00557134
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00567ba9
test bl, bl
je 0x4d9652
push 0x6ead2c
lea ecx, [esp + 0xc]
call fcn.00567f39
push 0x6ead38
lea ecx, [esp + 0xc]
call fcn.00567f39
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x4d968e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00567ba9
jmp 0x4d9759
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x4d9712
lea edx, [esp + 0x7c]
push 0x6ead34
push edx
call fcn.00557134
add esp, 8
test eax, eax
je 0x4d9712
lea eax, [esp + 0x7c]
push 0x6ead30
push eax
call fcn.00557134
add esp, 8
test eax, eax
je 0x4d9712
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4d96a2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.00567ba9
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x4da9c0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x4daa22
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x4daa30
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x5734bb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x6fc0c8]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x4dab68
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4daa96
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00567ba9
xor eax, eax
jmp 0x4dabdf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00567ce6
push esi
lea ecx, [esp + 0xc]
call fcn.00567f75
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x6ead7c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x4dabbd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push bind
call fcn.004da9c0
test eax, eax
jne 0x4dabbd
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push bind
mov ecx, edi
call fcn.004da9c0
test eax, eax
jne 0x4dabbd
lea eax, [esp + 0x14]
push 0x6ead58
push eax
call fcn.005582a0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4dab9c
lea ecx, [esp + 0x14]
push 0x6ead54
push ecx
call fcn.00558220
mov esi, eax
add esp, 8
test esi, esi
jne 0x4dab9c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x4dab9f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00567c96
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4daaae
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00567ba9
xor eax, eax
jmp 0x4dabdf
mov byte [esi], 0
push 0x6ead50
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.00567ba9
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x4eed70
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x4eedde
cmp si, 0x69
ja 0x4eedde
add esi, 0xffd0
cmp si, 0x11
je 0x4eedae
push 0x11
call edi
test ax, ax
jge 0x4eedae
or esi, 0x2000
cmp si, 0x10
je 0x4eedc3
push 0x10
call edi
test ax, ax
jge 0x4eedc3
or esi, 0x4000
cmp si, 0x12
je 0x4eedd8
push 0x12
call edi
test ax, ax
jge 0x4eedd8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x4eedeb
mov esi, 0xbd
jmp 0x4eed9f
cmp si, 0x6e
jne 0x4eedf8
mov esi, 0xbe
jmp 0x4eed9f
cmp si, 0x6f
jne 0x4eed99
mov esi, 0xbf
jmp 0x4eed9f

Function at 0x4f0a10
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x70ca40]
xor edx, edx
cmp eax, edx
jne 0x4f0a36
xor eax, eax
mov byte [eax + 0x70c940], al
inc eax
cmp eax, 0x100
jl 0x4f0a1e
mov dword [0x70ca40], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x70c940
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4f0ac7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x4f0a9a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x4f0a68
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4f0b40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x4f0b93
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x4f0b7a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4f7c10
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
xor esi, esi
xor ecx, ecx
mov si, word [eax + 8]
mov cx, word [eax + 4]
xor ebp, ebp
xor edx, edx
mov bp, word [eax + 0xa]
mov dx, word [eax + 6]
sub esi, ecx
sub ebp, edx
inc esi
xor ebx, ebx
inc ebp
cmp esi, ebx
mov dword [esp + 0x14], esi
jle 0x4f7da8
cmp ebp, ebx
jle 0x4f7da8
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, 0x80000007
mov dword [esp + 0x10], edi
jns 0x4f7c6e
dec eax
or eax, 0xfffffff8
inc eax
je 0x4f7c75
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x4f7c84
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x4f7c8b
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.005678ea
add esp, 4
cmp eax, ebx
je 0x4f7cac
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov ebx, eax
mov eax, edi
mov dword [esp + 0x14], ebx
imul eax, ebp
push eax
mov dword [ebx], 7
mov dword [ebx + 4], esi
mov dword [ebx + 8], ebp
mov dword [ebx + 0x14], eax
call fcn.005678ea
mov ecx, dword [ebx + 0x14]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x10], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
test ebp, ebp
lea edx, [eax + 0x80]
jle 0x4f7d9e
xor eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
mov ebp, dword [ebx + 0x10]
xor ecx, ecx
add ebp, eax
mov dword [esp + 0x2c], ecx
test esi, esi
jle 0x4f7d85
mov al, byte [edx]
cmp al, 0xc0
jbe 0x4f7d71
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x4f7d66
xor eax, eax
mov ecx, esi
mov al, byte [edx]
mov edx, ecx
mov bl, al
mov edi, ebp
mov bh, bl
dec esi
mov eax, ebx
shl eax, 0x10
mov ax, bx
mov ebx, dword [esp + 0x14]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x24]
and ecx, 3
add ebp, esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
lea ecx, [eax + esi*8]
mov esi, dword [esp + 0x18]
jmp 0x4f7d74
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x4f7d74
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x4f7d10
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add eax, edi
dec ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jne 0x4f7d01
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
Function at 0x4fb0f0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5750a8
push eax
mov dword fs:[0], esp
sub esp, 0x28
push esi
push edi
mov edi, dword [esp + 0x44]
mov esi, ecx
test edi, edi
jne 0x4fb129
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret 0x24
push 0x400
lea ecx, [esp + 0xc]
call fcn.0056f2c1
mov eax, dword [esp + 0x40]
push 0
push edi
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x44], 0
call fcn.0056f30d
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x58]
push edx
push eax
lea edx, [esp + 0x20]
push ecx
push edx
mov ecx, esi
call fcn.004fb1b0
lea ecx, [esp + 8]
mov esi, eax
mov dword [esp + 0x38], 0xffffffff
call fcn.0056f34a
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x34
ret 0x24