joyce8/EMBER2024-capa huggingface dataset:
Function at 0x55f4bc
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x14]
movzx edx, byte [eax + 0x461]
movzx ecx, dl
cmp ecx, 6
ja case.0x55f556.0
jmp dword [ecx*4 + 0x55f4ef]
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x55f521
sub dl, 8
je 0x55f530
jmp case.0x55f556.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x55f168
jmp case.0x55f556.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x55f1c0
jmp case.0x55f556.0
movzx ecx, byte [eax + 0x460]
cmp ecx, 0x10
ja case.0x55f556.0
movzx ecx, byte [ecx + 0x55f55d]
jmp dword [ecx*4 + 0x55f56e]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x55f26c
jmp case.0x55f556.0
cmp dl, 3
jne 0x55f59b
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x55f2c0
jmp case.0x55f556.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x55f27c
jmp case.0x55f556.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x55f304
jmp case.0x55f556.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x55f5c6
sub dl, 8
je 0x55f5d2
jmp case.0x55f556.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x55f330
jmp case.0x55f556.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x55f39c
jmp case.0x55f556.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x55f5f1
sub dl, 8
je 0x55f5fd
jmp case.0x55f556.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x55f458
jmp case.0x55f556.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x55f480
mov edx, dword [eax + 0x468]
mov ecx, dword [ebx + 0x1c]
dec ecx
imul edx, ecx
mov esi, edx
add esi, dword [eax + 0x450]
mov dword [ebp - 0xc], esi
mov esi, dword [eax + 0x454]
mov dword [ebp - 8], esi
mov esi, edx
add esi, dword [eax + 0x44c]
mov dword [ebp - 0x10], esi
mov esi, ecx
test esi, esi
jb 0x55f6a1
inc esi
mov eax, dword [ebx + 0x20]
inc eax
push eax
lea eax, [ebx + 0x4c]
push eax
mov eax, dword [ebp + 8]
push eax
movzx eax, byte [ebx + 0x48]
mov ecx, dword [ebx + eax*4 + 0x40]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.0055e674
test eax, eax
je 0x55f6a1
mov eax, ebx
call fcn.0055f6ac
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x10]
push eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
lea edx, [eax + 1]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
call dword [ebp - 0x18]
movzx eax, byte [ebx + 0x48]
xor al, 1
mov byte [ebx + 0x48], al
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0x468]
sub dword [ebp - 0xc], eax
sub dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x18]
add dword [ebp - 8], eax
dec esi
jne 0x55f63a
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x55f6ac
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax]
dec al
je 0x55f6dd
dec al
je 0x55f718
dec al
je 0x55f75d
dec al
je 0x55f7c6
jmp 0x55f850
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x55f850
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x55f6ed
jmp 0x55f850
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x55f850
mov esi, 1
movzx eax, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x55f728
jmp 0x55f850
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x55f850
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x55f78c
xor ebp, ebp
jmp 0x55f79c
mov ecx, esi
sub ecx, edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x55f7a5
adc eax, 0
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x55f76d
jmp 0x55f850
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x55f850
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x55f81f
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
movzx edx, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
movzx ecx, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.0055c858
add al, byte [esp]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x55f7da
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x58bd30
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x58bd8a
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.0058bd20
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.0058ba3c
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.0058b554
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x58bd91
lea eax, [ebp - 4]
call fcn.004055a8
ret
Function at 0x592200
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 4
push 0
push 0
dec ecx
jne 0x592209
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x5923e0
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
test esi, esi
je 0x5923bd
mov eax, dword [ebp - 8]
call fcn.00456e30
test al, al
je 0x592297
mov edx, dword [0x5ca5d0]
mov edx, dword [edx]
lea eax, [ebp - 0x18]
mov ecx, dword [ebp - 8]
call fcn.004058c0
mov eax, dword [ebp - 0x18]
call fcn.004c23a8
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x14]
mov eax, 8
call fcn.004569d8
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.00455d3c
mov eax, dword [ebp - 0x10]
push eax
lea edx, [ebp - 0x1c]
mov eax, esi
call fcn.00455d3c
mov edx, dword [ebp - 0x1c]
pop eax
call fcn.004059d0
je 0x5923bd
cmp dword [ebp + 8], 0
je 0x5923bd
mov eax, dword [0x5ca760]
mov eax, dword [eax]
mov eax, dword [eax + 0x28]
mov edx, dword [eax + 0x14]
mov eax, dword [0x5ca898]
mov eax, dword [eax]
call fcn.005aae58
lea ecx, [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.0059213c
push 0xffff
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x469688]
call fcn.0046e868
mov esi, eax
lea ecx, [ebp - 0x24]
mov edx, dword [ebp + 8]
mov eax, dword [ebx + 4]
call fcn.0056cea4
mov ecx, dword [ebp - 0x24]
mov eax, dword [0x5ca760]
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x14]
lea eax, [ebp - 0x20]
call fcn.004058c0
mov edx, dword [ebp - 0x20]
mov ecx, esi
mov eax, dword [ebx + 4]
mov edi, dword [eax]
call dword [edi + 0xc]
test al, al
jne 0x592331
mov byte [ebp - 9], 1
mov eax, dword [0x5ca760]
mov eax, dword [eax]
mov eax, dword [eax + 0x28]
mov edx, dword [eax + 0x38]
mov eax, dword [0x5ca898]
mov eax, dword [eax]
call fcn.005aae58
mov eax, esi
call fcn.00404564
cmp byte [ebp - 9], 0
jne 0x5923af
push 0
mov eax, dword [0x5ca898]
mov eax, dword [eax]
xor ecx, ecx
mov edx, 0x5923fc
call fcn.005ab024
mov dl, 1
mov eax, dword [0x5a9bdc]
call fcn.005a9fbc
mov esi, eax
mov dword [ebx + 8], esi
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.005a9f18
test al, al
jne 0x592392
mov byte [ebp - 9], 1
mov eax, dword [0x5ca760]
mov eax, dword [eax]
mov eax, dword [eax + 0x28]
mov edx, dword [eax + 0x38]
mov eax, dword [0x5ca898]
mov eax, dword [eax]
call fcn.005aae58
mov eax, dword [ebx + 8]
call fcn.00404564
push 0
mov eax, dword [0x5ca898]
mov eax, dword [eax]
xor ecx, ecx
mov edx, 0x59240c
call fcn.005ab024
mov eax, dword [ebp - 4]
call fcn.00405a38
push eax
call sub.kernel32.dll_DeleteFileA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5923e7
lea eax, [ebp - 0x24]
mov edx, 6
call fcn.004055cc
lea eax, [ebp - 4]
call fcn.004055a8
ret
Function at 0x59830c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x59833a
mov eax, ebx
call fcn.00598dc0
cmp dword [ebx + 0x40], 0
je 0x598333
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x5983ab
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x59839d
cmp dword [ebx + 8], 0
je 0x59835c
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x59836e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x59839d
cmp dword [ebx + 8], 0
je 0x59834f
cmp eax, 3
je 0x598381
dec eax
jne 0x59834f
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x59834f
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x59834f
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x5983c9
cmp dword [ebx + 0x14], 0xcc
je 0x5983c9
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.005983d4
pop ebx
ret

Function at 0x5b2580
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
test dl, dl
je 0x5b259a
add esp, 0xfffffff0
call fcn.004048c8
mov edi, ecx
mov byte [ebp - 1], dl
mov ebx, eax
xor eax, eax
push ebp
push 0x5b263a
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, ebx
call fcn.00404534
xor ecx, ecx
mov dl, 1
mov eax, dword [0x5b048c]
call fcn.005b0980
mov esi, eax
mov dword [ebx + 8], esi
lea eax, [esi + 0x30]
mov edx, 0x5b266c
call fcn.004055fc
lea eax, [ebp - 8]
mov edx, edi
call fcn.00405f70
mov eax, dword [ebp - 8]
mov edx, dword [ebx + 8]
add edx, 0x3c
call fcn.00407bf8
mov dl, 1
mov eax, dword [0x469464]
call fcn.00404534
mov dword [ebx + 0xc], eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x5b1e28]
call fcn.00529630
mov esi, eax
mov ecx, 0x5b2680
mov edx, esi
mov eax, ebx
call fcn.005b2ee0
mov eax, esi
call fcn.00404564
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b2641
lea eax, [ebp - 8]
call fcn.00405db0
ret
Function at 0x5b26d8
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x5b1e28]
call fcn.00529630
mov dword [ebp - 8], eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x5b1e28]
call fcn.00529630
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x5b2844
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x1b0]
mov ecx, 0x5b285c
mov dl, 1
call fcn.004f56d0
mov ebx, eax
mov edx, edi
mov eax, ebx
call fcn.004f6910
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x1b0]
mov edx, ebx
call fcn.004f56c8
push 1
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x1b0]
mov ecx, 0x5b285c
mov dl, 1
call fcn.004f56d0
mov ebx, eax
mov edx, edi
mov eax, ebx
call fcn.004f6910
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1b0]
mov edx, ebx
call fcn.004f56c8
push 1
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x1b0]
mov ecx, 0x5b2868
mov dl, 3
call fcn.004f56d0
mov ebx, eax
movzx edx, byte [ebp + 8]
mov eax, ebx
call fcn.004f67e0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x1b0]
mov edx, ebx
call fcn.004f56c8
push 1
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x1b0]
mov ecx, 0x5b2878
mov dl, 1
call fcn.004f56d0
mov ebx, eax
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.004f6910
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x1b0]
mov edx, ebx
call fcn.004f56c8
mov ecx, 0x5b2888
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.005b2dbc
mov eax, dword [ebp - 8]
call fcn.004f9b28
mov eax, dword [ebp - 8]
cmp byte [eax + 0xa1], 0
jne 0x5b2817
mov ecx, 0x5b28c0
mov edx, dword [ebp - 0xc]
mov eax, esi
call fcn.005b2ee0
jmp 0x5b2826
mov ecx, 0x5b2910
mov edx, dword [ebp - 0xc]
mov eax, esi
call fcn.005b2ee0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b284b
mov eax, dword [ebp - 8]
call fcn.00404564
mov eax, dword [ebp - 0xc]
call fcn.00404564
ret

Function at 0x5b2a94
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp + 8]
add ebx, 0xfffffffc
xor eax, eax
push ebp
push 0x5b2b5f
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov dl, 1
mov eax, dword [0x5b1e28]
call fcn.00529630
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5b2b42
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx]
mov ecx, 0x5b2b74
mov edx, dword [ebp - 4]
call fcn.005b2dbc
mov eax, dword [ebp - 4]
call fcn.004f9b28
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx + 0x44]
jmp 0x5b2b20
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
xor edx, edx
call fcn.004ed028
lea edx, [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 8]
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 4]
call fcn.004f9da8
mov eax, dword [ebp - 4]
cmp byte [eax + 0xa1], 0
je 0x5b2af6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b2b49
mov eax, dword [ebp - 4]
call fcn.00404564
ret
Function at 0x5b45b4
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov esi, eax
xor eax, eax
push ebp
push 0x5b46be
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [esi + 0x18]
call fcn.004da4a0
mov ebx, eax
test bl, bl
je 0x5b46a8
mov ecx, dword [esi + 0x18]
mov dl, 1
mov eax, dword [0x5b3044]
call fcn.005b33f0
mov edi, eax
mov dword [esi + 0x1c], edi
lea edx, [ebp - 4]
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x10]
call fcn.005b4bf0
mov byte [ebp - 5], al
cmp byte [ebp - 5], 0
je 0x5b4623
mov eax, dword [esi + 0x1c]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x10]
call fcn.00405a38
push eax
call sub.kernel32.dll_DeleteFileA
mov eax, dword [esi + 0x1c]
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x10]
mov edx, dword [0x5ca5d0]
mov edx, dword [edx]
lea eax, [ebp - 0xc]
call fcn.004058c0
mov eax, dword [ebp - 0xc]
call fcn.005b4d10
mov eax, dword [esi + 0x1c]
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x10]
mov dl, 1
mov eax, dword [0x5b23a8]
call fcn.005b2580
mov edi, eax
mov dword [esi + 0xc], edi
mov eax, edi
call fcn.005b2c40
mov eax, dword [esi + 0xc]
call fcn.005b2ba8
mov dl, 1
mov eax, dword [0x5aacd4]
call fcn.005ab0fc
mov edx, dword [0x5ca898]
mov dword [edx], eax
cmp byte [ebp - 5], 0
je 0x5b4696
mov eax, dword [0x5ca898]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
call fcn.005aaec4
mov ecx, dword [esi + 0x10]
mov dl, 1
mov eax, dword [0x5ad0f4]
call fcn.005ada28
mov dword [esi + 0x14], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b46c5
lea eax, [ebp - 0xc]
call fcn.004055a8
ret

Function at 0x5b4b34
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405a28
xor eax, eax
push ebp
push 0x5b4be3
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00403c30
lea eax, [ebp - 0x58]
xor ecx, ecx
mov edx, 0x10
call fcn.00403c30
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0x220
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00405a38
push eax
push 0
call sub.kernel32.dll_CreateProcessA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
je 0x5b4bbb
test bl, bl
je 0x5b4bbb
push 0xffffffffffffffff
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_WaitForSingleObject
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b4bea
lea eax, [ebp - 4]
call fcn.004055a8
ret
Function at 0x40b850
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4b5deb
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.004aad38
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40b8d2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004a8c4a
mov eax, dword [eax]
push 0x727c68
push eax
call fcn.0049a624
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004aafc3
test bl, bl
je 0x40b8d2
push 0x727c68
lea ecx, [esp + 0xc]
call fcn.004ab353
push 0x727c74
lea ecx, [esp + 0xc]
call fcn.004ab353
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 0x40b90e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004aafc3
jmp 0x40b9d9
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 0x40b992
lea edx, [esp + 0x7c]
push 0x727c70
push edx
call fcn.0049a624
add esp, 8
test eax, eax
je 0x40b992
lea eax, [esp + 0x7c]
push 0x727c6c
push eax
call fcn.0049a624
add esp, 8
test eax, eax
je 0x40b992
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 0x40b922
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.004aafc3
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 0x40c1d0
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 0x40c232
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 0x40c240
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4b5e6b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x7407d8]
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 0x40c378
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40c2a6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004aafc3
xor eax, eax
jmp 0x40c3ef
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004ab100
push esi
lea ecx, [esp + 0xc]
call fcn.004ab38f
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x727ca8
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x40c3cd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0040c1d0
test eax, eax
jne 0x40c3cd
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 closesocket
mov ecx, edi
call fcn.0040c1d0
test eax, eax
jne 0x40c3cd
lea eax, [esp + 0x14]
push 0x727c84
push eax
call fcn.0049b730
mov esi, eax
add esp, 8
test esi, esi
jne 0x40c3ac
lea ecx, [esp + 0x14]
push 0x727c80
push ecx
call fcn.0049b6b0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40c3ac
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40c3af
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004ab0b0
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40c2be
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004aafc3
xor eax, eax
jmp 0x40c3ef
mov byte [esi], 0
push 0x727c7c
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.004aafc3
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