joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408210
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test ecx, ecx
jne 0x408217
xor eax, eax
ret
push esi
not eax
cmp edx, 8
jb 0x4082f4
mov esi, edx
shr esi, 3
push edi
lea esp, [esp]
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x41f278]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
inc ecx
shr eax, 8
xor eax, dword [edi*4 + 0x41f278]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
inc ecx
shr eax, 8
xor eax, dword [edi*4 + 0x41f278]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x41f278]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x41f278]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x41f278]
movzx edi, byte [ecx + 1]
inc ecx
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x41f278]
movzx edi, byte [ecx + 1]
inc ecx
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x41f278]
inc ecx
sub edx, 8
sub esi, 1
jne 0x408230
pop edi
test edx, edx
je 0x40831b
jmp 0x408300
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x41f278]
inc ecx
sub edx, 1
jne 0x408300
not eax
pop esi
ret

Function at 0x408320
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov eax, dword [edx]
movsx ecx, cl
xor ecx, eax
shr eax, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x41f278]
xor ecx, eax
movzx eax, cl
add eax, dword [edx + 4]
mov dword [edx], ecx
mov ecx, dword [edx + 8]
imul eax, eax, 0x8088405
inc eax
mov dword [edx + 4], eax
shr eax, 0x18
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0x41f278]
mov dword [edx + 8], ecx
ret

Function at 0x408370
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov ecx, dword [esi + 8]
push ebx
mov edx, ecx
and edx, 0xfffd
or edx, 2
mov ebx, edx
xor ebx, 1
imul ebx, edx
mov edx, dword [esi]
shr ebx, 8
push edi
xor al, bl
movsx edi, al
xor edi, edx
shr edx, 8
and edi, 0xff
mov ebx, dword [edi*4 + 0x41f278]
xor ebx, edx
movzx edx, bl
add edx, dword [esi + 4]
mov dword [esi], ebx
imul edx, edx, 0x8088405
inc edx
mov dword [esi + 4], edx
shr edx, 0x18
xor edx, ecx
and edx, 0xff
shr ecx, 8
xor ecx, dword [edx*4 + 0x41f278]
pop edi
mov dword [esi + 8], ecx
pop ebx
ret

Function at 0x408a80
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, ebx
imul esi, dword [esp + 8]
cmp byte [edi], 0
je 0x408ab2
mov ecx, dword [edi + 2]
push 0
lea eax, [esp + 0xc]
push eax
push esi
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x408aa8
mov byte [edi + 6], 1
mov eax, dword [esp + 8]
xor edx, edx
div ebx
pop esi
ret
mov ecx, dword [edi + 0x14]
mov eax, dword [edi + 0x10]
push ebp
lea ebp, [ecx + esi]
cmp ebp, eax
pop ebp
jbe 0x408ac5
sub eax, ecx
mov esi, eax
mov eax, dword [edi + 0xc]
push esi
add eax, ecx
push eax
push edx
call fcn.0040eee0
add dword [edi + 0x14], esi
mov eax, esi
add esp, 0xc
xor edx, edx
div ebx
pop esi
ret
Function at 0x408ae0
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
cmp byte [esi], 0
push edi
mov edi, 1
je 0x408b13
mov edx, dword [esi + 2]
push 0
lea eax, [esp + 0xc]
push eax
push edi
lea ecx, [esp + 0x13]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x408b0d
mov byte [esi + 6], 1
mov edi, dword [esp + 8]
jmp 0x408b3f
mov eax, dword [esi + 0x10]
push ebx
mov ebx, dword [esi + 0x14]
lea ecx, [ebx + 1]
cmp ecx, eax
jbe 0x408b25
sub eax, ebx
mov edi, eax
mov edx, dword [esi + 0xc]
push edi
add edx, ebx
push edx
lea eax, [esp + 0x13]
push eax
call fcn.0040eee0
add esp, 0xc
add ebx, edi
mov dword [esi + 0x14], ebx
pop ebx
cmp edi, 1
pop edi
jne 0x408b56
movzx ecx, byte [esp + 3]
mov edx, dword [esp + 0xc]
mov dword [edx], ecx
xor eax, eax
add esp, 8
ret
cmp byte [esi], 0
je 0x408b50
cmp byte [esi + 6], 0
je 0x408b50
or eax, 0xffffffff
add esp, 8
ret
Function at 0x408bf0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x18
cmp byte [esi], 0
je 0x408c35
cmp byte [esi + 1], 0
je 0x408c3d
mov eax, dword [esi + 2]
push 2
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp byte [esi], 0
push ebp
je 0x408c52
cmp byte [esi + 1], 0
je 0x408c44
mov edx, dword [esi + 2]
push 1
push 0
push 0
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ebp, eax
sub ebp, dword [esi + 7]
mov dword [esp + 4], ebp
jmp 0x408c5b
mov ecx, dword [esi + 0x10]
mov dword [esi + 0x14], ecx
jmp 0x408c0e
or eax, 0xffffffff
add esp, 0x18
ret
mov dword [esp + 4], 0
mov ebp, dword [esp + 4]
jmp 0x408c5b
mov eax, dword [esi + 0x14]
mov dword [esp + 4], eax
mov ebp, eax
push edi
mov edi, 0xffff
mov dword [esp + 0xc], edi
cmp ebp, edi
jae 0x408c6f
mov dword [esp + 0xc], ebp
mov edi, ebp
push ebx
push 0x404
call fcn.0040b5e6
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x408c8d
pop ebx
pop edi
or eax, 0xffffffff
pop ebp
add esp, 0x18
ret
mov eax, 4
mov dword [esp + 0x18], 0xffffffff
cmp edi, eax
jbe 0x408da1
jmp 0x408cb0
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0xc]
add eax, 0x400
mov dword [esp + 0x14], edi
cmp eax, edi
ja 0x408cc1
mov dword [esp + 0x14], eax
mov eax, ebp
sub eax, dword [esp + 0x14]
sub ebp, eax
mov dword [esp + 0x20], eax
cmp ebp, 0x404
jbe 0x408cda
mov ebp, 0x404
cmp byte [esi], 0
je 0x408cff
cmp byte [esi + 1], 0
je 0x408da1
mov ecx, dword [esi + 7]
mov edx, dword [esi + 2]
push 0
push 0
add ecx, eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x408d02
mov dword [esi + 0x14], eax
cmp byte [esi], 0
mov edi, ebp
je 0x408d2a
mov ecx, dword [esi + 2]
push 0
lea eax, [esp + 0x20]
push eax
push ebp
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x408d24
mov byte [esi + 6], 1
mov eax, dword [esp + 0x1c]
jmp 0x408d50
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
lea edx, [eax + ebp]
cmp edx, ecx
jbe 0x408d3b
sub ecx, eax
mov edi, ecx
mov ecx, dword [esi + 0xc]
push edi
add ecx, eax
push ecx
push ebx
call fcn.0040eee0
add esp, 0xc
add dword [esi + 0x14], edi
mov eax, edi
xor edx, edx
div ebp
cmp eax, 1
jne 0x408da1
lea eax, [ebp - 3]
test eax, eax
jl 0x408d8c
dec eax
cmp byte [eax + ebx], 0x50
jne 0x408d7c
cmp byte [eax + ebx + 1], 0x4b
jne 0x408d7c
cmp byte [eax + ebx + 2], 5
jne 0x408d7c
cmp byte [eax + ebx + 3], 6
je 0x408d82
test eax, eax
jge 0x408d60
jmp 0x408d8c
mov edx, dword [esp + 0x20]
add eax, edx
mov dword [esp + 0x18], eax
cmp dword [esp + 0x18], 0
jne 0x408da1
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x14], eax
jb 0x408ca4
push ebx
call fcn.0040bb47
mov eax, dword [esp + 0x1c]
add esp, 4
pop ebx
pop edi
pop ebp
add esp, 0x18
ret
Function at 0x409770
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push edi
mov edi, eax
xor ebx, ebx
cmp edi, ebx
jne 0x40978e
pop edi
pop ebp
mov eax, 0xffffff9a
pop ebx
add esp, 0xc
ret
cmp dword [edi + 0x18], ebx
je 0x409782
cmp dword [edi + 0x7c], ebx
je 0x40979d
call fcn.00409b50
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.004094e0
add esp, 0xc
test eax, eax
je 0x4097c4
pop edi
pop ebp
mov eax, 0xffffff99
pop ebx
add esp, 0xc
ret
push esi
push 0x7e
call fcn.0040b5e6
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x409802
push 0x4000
call fcn.0040b5e6
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
add esp, 4
mov dword [esi], eax
mov dword [esi + 0x44], ecx
mov dword [esi + 0x48], edx
mov dword [esi + 0x4c], ebx
cmp eax, ebx
jne 0x40980f
push esi
call fcn.0040bb47
add esp, 4
pop esi
pop edi
pop ebp
mov eax, 0xffffff98
pop ebx
add esp, 0xc
ret
mov dword [esi + 0x40], ebx
mov ecx, dword [edi + 0x3c]
xor eax, eax
cmp dword [edi + 0x34], ebx
mov dword [esi + 0x54], ecx
mov dword [esi + 0x50], ebx
mov edx, dword [edi + 0x34]
sete al
mov dword [esi + 0x64], edx
mov ecx, dword [edi]
mov dword [esi + 0x60], ecx
mov edx, dword [edi + 0xc]
mov dword [esi + 0x68], edx
mov dword [esi + 0x18], ebx
cmp eax, ebx
jne 0x409857
lea eax, [esi + 4]
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
call fcn.00408630
test eax, eax
jne 0x409857
mov dword [esi + 0x40], 1
mov eax, dword [edi + 0x40]
mov dword [esi + 0x58], eax
mov ecx, dword [edi + 0x44]
mov dword [esi + 0x5c], ecx
mov dl, byte [edi + 0x30]
and dl, 1
mov byte [esi + 0x6c], dl
mov eax, dword [edi + 0x30]
shr eax, 3
test al, 1
je 0x40987e
mov cl, byte [edi + 0x39]
mov byte [esi + 0x7d], cl
jmp 0x409884
mov dl, byte [edi + 0x3f]
mov byte [esi + 0x7d], dl
movzx eax, byte [esi + 0x6c]
neg eax
sbb eax, eax
and eax, 0xc
lea edx, [esi + 0x6d]
mov dword [esi + 0x79], eax
mov dword [edx], 0x12345678
mov dword [esi + 0x71], 0x23456789
mov dword [esi + 0x75], 0x34567890
cmp ebp, ebx
je 0x4098c1
lea ecx, [ecx]
mov cl, byte [ebp]
cmp cl, bl
je 0x4098c1
call fcn.00408320
add ebp, 1
jne 0x4098b0
mov ecx, dword [edi + 0x78]
mov edx, dword [esp + 0x18]
lea eax, [ecx + edx + 0x1e]
mov dword [esi + 0x3c], eax
mov dword [esi + 8], ebx
mov dword [edi + 0x7c], esi
pop esi
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret
Function at 0x409cb0
Capabilities:
Get common file path

Disassembly:
cmp dword [esi], 0
push edi
jne 0x409d63
cmp dword [esi + 4], 0xffffffff
jne 0x409d63
lea edi, [esi + 0x244]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov eax, edi
lea edx, [eax + 2]
jmp 0x409ce0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x409ce0
sub eax, edx
sar eax, 1
movzx eax, word [esi + eax*2 + 0x242]
cmp ax, 0x5c
je 0x409d19
cmp ax, 0x2f
je 0x409d19
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x409d06
mov eax, dword [0x41f710]
mov dword [edi], eax
push 0x18
call fcn.0040b029
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
add esp, 4
mov byte [eax], 0
mov byte [eax + 1], 1
mov byte [eax + 0xb], 0
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], 0
mov dword [eax + 7], 0
call fcn.00408dc0
mov dword [esi], eax
neg eax
sbb eax, eax
and eax, 0xfffffe00
add eax, 0x200
pop edi
ret 8
mov eax, 0x1000000
pop edi
ret 8

Function at 0x40a5f6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x422044]
jne 0x40a600
repz ret
jmp fcn.0040c2e9

Function at 0x4152b1
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040c649
and dword [ebp - 4], 0
cmp dword [0x423f30], 0
mov ebx, eax
jne 0x415362
push 0x41cb98
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x415413
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x41cb8c
push edi
call esi
test eax, eax
je 0x415413
push eax
call fcn.0040c5d7
mov dword [esp], 0x41cb7c
push edi
mov dword [0x423f30], eax
call esi
push eax
call fcn.0040c5d7
mov dword [esp], 0x41cb68
push edi
mov dword [0x423f34], eax
call esi
push eax
call fcn.0040c5d7
mov dword [esp], 0x41cb4c
push edi
mov dword [0x423f38], eax
call esi
push eax
call fcn.0040c5d7
pop ecx
mov dword [0x423f40], eax
test eax, eax
je 0x415362
push 0x41cb34
push edi
call esi
push eax
call fcn.0040c5d7
pop ecx
mov dword [0x423f3c], eax
mov eax, dword [0x423f3c]
cmp eax, ebx
je 0x4153ba
cmp dword [0x423f40], ebx
je 0x4153ba
push eax
call fcn.0040c652
push dword [0x423f40]
mov esi, eax
call fcn.0040c652
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4153ba
test edi, edi
je 0x4153ba
call esi
test eax, eax
je 0x4153b1
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4153b1
test byte [ebp - 0xc], 1
jne 0x4153ba
or dword [ebp + 0x10], 0x200000
jmp 0x4153f3
mov eax, dword [0x423f34]
cmp eax, ebx
je 0x4153f3
push eax
call fcn.0040c652
pop ecx
test eax, eax
je 0x4153f3
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4153f3
mov eax, dword [0x423f38]
cmp eax, ebx
je 0x4153f3
push eax
call fcn.0040c652
pop ecx
test eax, eax
je 0x4153f3
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x423f30]
call fcn.0040c652
pop ecx
test eax, eax
je 0x415413
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x415415
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401ee2
Capabilities:
Terminate process

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

Function at 0x4025e7
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x40f530
call fcn.00403770
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x4024e7
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x4024e7
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x4024e7
cmp dword [eax + 0x400074], 0xe
jbe 0x4024e7
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x4024eb
and dword [ebp - 0x1c], 0
push 1
call fcn.00407571
pop ecx
test eax, eax
jne 0x4024ff
push 0x1c
call fcn.00407571
pop ecx
call fcn.00405287
test eax, eax
jne 0x402510
push 0x10
call fcn.00407571
pop ecx
call fcn.00405952
and dword [ebp - 4], 0
call fcn.004032ff
test eax, eax
jge 0x40252a
push 0x1b
call fcn.00407571
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x412ba0], eax
call fcn.00407571
mov dword [0x41203c], eax
call fcn.00407571
test eax, eax
jge 0x402550
push 8
call fcn.00407571
pop ecx
call fcn.00405fde
test eax, eax
jge 0x402561
push 9
call fcn.00407571
pop ecx
push 1
call fcn.00407571
pop ecx
test eax, eax
je 0x402574
push eax
call fcn.00407571
pop ecx
mov eax, dword [0x412018]
mov dword [0x41201c], eax
push eax
push dword [0x412010]
push dword [0x41200c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4025a2
push eax
call fcn.00407571
call fcn.00402400
jmp 0x4025d7
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.004037b5
ret
call fcn.00407571
jmp 0x402495

Function at 0x407571
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x407580
pop dword [ebp - 0x10]
mov eax, 0x8748e9d6
sub eax, 0x87087456
sub dword [ebp - 0x10], eax
push 0x40
push 0x1000
push 0x35e80
push 0
mov eax, 0x744babdd
add eax, 0x8bf534fb
add eax, dword [ebp - 0x10]
call dword [eax]
mov ecx, 0x32ee3c18
add ecx, 0xcd11fe66
xor edx, edx
add edx, eax
mov ebx, 0xff801e8a
add ebx, 0xc11d3a
add ebx, dword [ebp - 0x10]
mov esi, 0x1acaea8
add esi, 0xd74ffb57
mov edi, dword [ebx]
mov dword [ebp - 4], 0xf7dc8c0a
xor edi, esi
mov dword [edx], edi
add dword [ebp - 0xc], edx
add edx, 0xea5f4ec
add edx, 0xf15a0b18
add ebx, 0x594ccfa3
sub ebx, 0x594ccf9f
loop 0x4075e1
add eax, 0xdccb
xor ebx, ebx
add ebx, eax
add eax, 0x2e655d10
add eax, 0xd19aa2f5
mov ecx, 0x6e171cee
sub ecx, 0x6dd71cee
add ecx, dword [ebp - 0x10]
call ebx
leave
ret
Function at 0x406a06
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x406a2a
xor eax, eax
test eax, eax
je 0x406a3d
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x406a3d
xor ecx, ecx
jmp 0x406a40
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x406b63
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x4275ec], 0
push esi
jne 0x406b9a
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406b74
mov dword [ecx*4 + 0x4275e8], eax
inc ecx
cmp ecx, 0x100
jl 0x406b6f
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406bcb
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4275e8]
xor eax, esi
inc ecx
dec edx
jne 0x406bad
pop edi
not eax
pop esi
ret 0xc

Function at 0x401550
Capabilities:
Encode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
push ebx
lea eax, [ebp - 0x124]
sub esp, 0x144
mov dword [ebp - 0x124], 0xa
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x116]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x10c]
mov dword [esp + 8], 1
mov dword [esp + 4], 1
mov dword [esp], eax
mov byte [ebp - 0x10c], 0
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
movsx ebx, byte [ebp - 0x116]
lea eax, [ebp - 0x120]
sub esp, 0x14
mov dword [esp], eax
call dword [sym.imp.USER32.dll_GetCursorPos]
sub ebx, 0x41
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, ebx
mov ebx, dword [ebp - 4]
leave
ret

Function at 0x4015c8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0xa0
mov dword [ebp - 0x88], 0
call fcn.00401550
mov dword [esp], 0x40169c
mov dword [ebp - 0x8c], 0
mov ebx, eax
lea eax, [ebp - 0x8c]
mov dword [esp + 0xc], eax
mov eax, ebx
or eax, 0x40
mov dword [esp + 8], eax
mov eax, 0x4020fe
sub eax, 0x40169c
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
cmp dword [ebp - 0x8c], 0
je 0x401665
mov dword [esp], ebx
lea esi, [ebp - 0x88]
call fcn.00401463
mov dword [esp], ebx
mov dword [esp + 4], esi
call fcn.004014c4
mov cl, bl
mov dword [esp + 8], esi
lea eax, [ebx + 0x1b800]
sar eax, cl
mov ecx, 0x40300c
shl ebx, cl
mov dword [esp + 4], eax
add ebx, ecx
mov dword [esp], ebx
call fcn.00401e01
lea esp, [ebp - 8]
xor eax, eax
pop ebx
pop esi
pop ebp
ret
Function at 0x401ee2
Capabilities:
Terminate process

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

Function at 0x404532
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x404541
pop dword [ebp - 0x44]
mov eax, 0x2e361a69
sub eax, 0x2df5d528
sub dword [ebp - 0x44], eax
push 0x40
push 0x1000
push 0x3ae02
push 0
mov eax, 0x559157ed
add eax, 0xaaaf88eb
add eax, dword [ebp - 0x44]
call dword [eax]
mov ecx, 0x8b2a22d8
add ecx, 0x74d62bd6
xor ebx, ebx
add ebx, eax
mov edx, 0x84e7f45f
sub edx, 0x84a6b89b
add edx, dword [ebp - 0x44]
mov edi, 0xb3bdf4d6
add edi, 0x7eef5ee8
xor dword [ebp - 0x10], 0x155ad884
mov esi, dword [edx]
xor dword [ebp - 0x1c], 0x577e2b52
sub esi, edi
mov dword [ebx], esi
xor dword [ebp - 0x20], 0xb3759286
add ebx, 0x7a02d259
sub ebx, 0x7a02d255
add edx, 4
loop 0x4045a2
add eax, 0xf9f57888
sub eax, 0xf9f44afd
mov ebx, eax
add eax, 0x38e272f4
sub eax, 0x38e272ef
mov ecx, 0xbf249447
sub ecx, 0xbee49447
add ecx, dword [ebp - 0x44]
call ebx
leave
ret

Function at 0x40344c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x40345b
pop dword [ebp - 0x18]
mov eax, 0xd5e91085
add eax, 0x2a5723d6
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0xfd131e9e
add dword [ebp - 0x28], 0x513f26ad
mov dword [ebp - 0x24], 0x238a2ec4
sub dword [ebp - 0x24], 0xf156e27f
mov dword [ebp - 0x20], 0x33779d45
add dword [ebp - 0x20], 0x18d4a6e9
mov dword [ebp - 0x1c], 0xf784bd69
add dword [ebp - 0x1c], 0x87b4297
lea eax, [ebp - 0x28]
push eax
mov eax, 0xe05c974c
sub eax, 0xe01c56f8
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0x62ab33b
sub dword [ebp - 0x28], 0x91b849e5
mov dword [ebp - 0x24], 0xdba1a539
sub dword [ebp - 0x24], 0x9a3543c4
mov dword [ebp - 0x20], 0x54caf49c
add dword [ebp - 0x20], 0xea477d0
mov dword [ebp - 0x1c], 0xa29e5058
add dword [ebp - 0x1c], 0x5d61afa8
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, 0x9b2242bd
add eax, 0x651dfd93
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x3841b
push 0
call eax
mov ecx, 0xa3c3e0c
add ecx, 0xf5c40f85
xor esi, esi
add esi, eax
mov edi, 0x162fdd7f
add edi, 0xea10a681
add edi, dword [ebp - 0x18]
mov edx, 0x92cc5a99
sub edx, 0xeeda10f2
mov dword [ebp - 0xc], 0xda16d6ea
mov ebx, dword [edi]
mov dword [ebp - 4], 0xd3e34a03
xor ebx, edx
add dword [ebp - 0x14], 0xde686ef8
mov dword [esi], ebx
mov dword [ebp - 0xc], 0x4aacf67
add esi, 0xa04477a1
add esi, 0x5fbb8863
add edi, 0x14d76b2
sub edi, 0x14d76ae
loop 0x40357f
add eax, 0x12917
mov ebx, eax
add eax, 0xeef138cd
add eax, 0x110ec738
mov ecx, 0x400000
add ecx, dword [ebp - 0x18]
call ebx
leave
ret
Function at 0x402f80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4511ef
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x1c], 1
mov ecx, dword [eax - 8]
mov eax, dword [esp + 0x2c]
lea edx, [eax + 3]
cmp ecx, edx
jle 0x4030f1
push ebx
push eax
lea eax, [esp + 0xc]
lea ecx, [esp + 0x30]
push eax
call fcn.0044da1c
lea ecx, [esp + 0x30]
mov byte [esp + 0x20], 2
call fcn.0044d89c
mov ebx, 3
push 0x5c
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], bl
call fcn.0044d9e0
cmp eax, 0xffffffff
je 0x40301e
lea ecx, [esp + 0x14]
push eax
push ecx
lea ecx, [esp + 0x10]
call fcn.0044d9e6
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x24], 4
call fcn.0044d9aa
mov byte [esp + 0x20], bl
lea ecx, [esp + 0x14]
jmp 0x40304f
push 0x5c
lea ecx, [esp + 0x30]
call fcn.0044d9c2
lea edx, [esp + 0x14]
push eax
push edx
lea ecx, [esp + 0x34]
call fcn.0044d9e6
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x24], 5
call fcn.0044d9aa
mov byte [esp + 0x20], bl
lea ecx, [esp + 0x14]
call fcn.0044d8b4
lea eax, [esp + 0xc]
push ebx
push eax
lea ecx, [esp + 0x34]
call fcn.0044d9bc
lea ecx, [esp + 0xc]
push 0x46b240
lea edx, [esp + 0x18]
push ecx
push edx
mov byte [esp + 0x2c], 6
call fcn.0044da16
mov esi, dword [esp + 0x28]
lea ecx, [esp + 0x30]
push ecx
push eax
push esi
mov byte [esp + 0x2c], 7
call fcn.0044d9b0
mov dword [esp + 0x10], 1
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], 6
call fcn.0044d8b4
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], bl
call fcn.0044d8b4
lea ecx, [esp + 0x30]
mov byte [esp + 0x20], 2
call fcn.0044d8b4
lea ecx, [esp + 8]
mov byte [esp + 0x20], 1
call fcn.0044d8b4
lea ecx, [esp + 0x2c]
mov byte [esp + 0x20], 0
call fcn.0044d8b4
mov eax, esi
pop ebx
pop esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
mov esi, dword [esp + 0x24]
lea edx, [esp + 0x28]
push edx
mov ecx, esi
call fcn.0044d9b6
lea ecx, [esp + 0x28]
mov dword [esp + 0xc], 1
mov byte [esp + 0x1c], 0
call fcn.0044d8b4
mov ecx, dword [esp + 0x14]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret