joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10006f2a
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x100213ec
call fcn.10009950
sub esp, 0x41c
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x18], esi
mov dword [esi + 4], 0x10023acc
and dword [ebp - 4], 0
lea ecx, [esi + 0xc]
call fcn.1000707d
mov byte [ebp - 4], 1
call fcn.10007310
mov dword [esi + 0x24], eax
mov dword [esi + 0x20], 0x10023abc
lea edi, [esi + 0x28]
mov byte [ebp - 4], 2
mov ecx, edi
call fcn.10005e29
lea ebx, [esi + 0x38]
mov dword [ebx], 0x10023ad0
and dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0x10023ac0
lea ecx, [esi + 0x44]
mov byte [ebp - 4], 5
call fcn.10005523
lea ecx, [esi + 0x50]
mov byte [ebp - 4], 6
call fcn.10005523
mov dword [esi], 0x10023ac4
mov ecx, dword [esi + 0x24]
add ecx, 4
lea edx, [ebp - 0x10]
push edx
mov byte [ebp - 4], 7
mov eax, dword [ecx + 4]
mov dword [ebp - 0x10], ebx
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.10007342
mov ecx, dword [esi + 0x24]
lea edx, [ebp - 0x10]
add ecx, 4
push edx
mov dword [ebp - 0x10], edi
mov eax, dword [ecx + 4]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.10007342
mov ecx, dword [esi + 0x24]
lea eax, [esi + 0xc]
add ecx, 4
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x10]
mov eax, dword [ecx + 4]
push edx
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.10007342
mov eax, edi
lea ecx, [esi + 0x30]
neg eax
sbb eax, eax
and eax, ecx
lea ecx, [ebp - 0x428]
mov dword [esi + 0x40], eax
call fcn.10003142
push dword [0x1002d6c4]
lea ecx, [ebp - 0x428]
call fcn.10003179
push eax
lea ecx, [esi + 4]
call fcn.10007286
push dword [0x1002d6b8]
lea ecx, [ebp - 0x428]
call fcn.10003179
push eax
lea ecx, [esi + 0x50]
call fcn.10007188
push dword [0x1002d6bc]
lea ecx, [ebp - 0x428]
call fcn.10003179
push eax
lea ecx, [esi + 0x44]
call fcn.10007188
push dword [0x1002d6c0]
lea ecx, [ebp - 0x428]
call fcn.10003179
push eax
mov ecx, edi
call fcn.100070ca
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x1001100e
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
cmp eax, ecx
jne 0x1001101c
push 1
pop eax
ret
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov word [eax + 0x1c], cx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x60], ecx
mov dword [eax + 0x64], ecx
xor eax, eax
ret
Function at 0x1001399c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x18]
call fcn.10013943
cmp dword [ebp + 0x10], 0
pop ecx
je 0x100139f7
cmp dword [ebp + 0x10], eax
jl 0x100139f7
mov ecx, dword [ebp + 0xc]
push esi
xor esi, esi
and word [ecx], 0
cmp dword [ebp + 0x18], esi
jle 0x100139f1
push ebx
mov eax, esi
push 4
cdq
pop ebx
idiv ebx
mov al, byte [edx + 0x10025f38]
mov edx, dword [ebp + 0x14]
add al, byte [ebp + 8]
xor al, byte [esi + edx]
xor al, 0x80
movzx ax, al
mov word [ecx], ax
and word [ecx + 2], 0
inc esi
inc ecx
inc ecx
cmp esi, dword [ebp + 0x18]
jl 0x100139c3
pop ebx
push 1
pop eax
pop esi
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x10018ed1
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
ret
Function at 0x402770
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
cmp dword [ecx + 0x38], 0
push ebx
push esi
push edi
mov dword [esp + 0xc], ecx
je 0x402856
mov esi, dword [ebp + 0x10]
mov ebx, esi
mov edx, dword [ebp + 0xc]
mov edi, edx
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], eax
test esi, esi
jl 0x402845
jg 0x4027b0
test edx, edx
je 0x402845
nop dword [eax]
call fcn.00403a70
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x402804
jg 0x4027c7
test esi, esi
je 0x402804
cmp ebx, eax
jg 0x4027d7
jl 0x4027d1
cmp edi, esi
jae 0x4027d7
mov esi, edi
mov dword [esp + 0x14], ebx
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
push esi
push eax
mov eax, dword [ecx + 0x20]
push dword [eax]
call fcn.00407120
mov ecx, dword [esp + 0x18]
add esp, 0xc
sub edi, esi
sbb ebx, dword [esp + 0x14]
mov eax, dword [ecx + 0x30]
sub dword [eax], esi
mov eax, dword [ecx + 0x20]
add dword [eax], esi
jmp 0x402829
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov edx, dword [ecx]
movzx eax, byte [eax]
push eax
call dword [edx + 0xc]
cmp eax, 0xffffffff
je 0x40283f
mov ecx, dword [esp + 0xc]
add edi, 0xffffffff
mov esi, 1
adc ebx, 0xffffffff
add dword [esp + 0x10], esi
test ebx, ebx
jg 0x4027b0
jl 0x40283f
test edi, edi
jne 0x4027b0
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
sub edx, edi
mov eax, edx
sbb esi, ebx
mov edx, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ecx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10], eax
test eax, eax
je 0x402878
mov eax, dword [ecx + 0x30]
mov eax, dword [eax]
jmp 0x40287a
xor eax, eax
cdq
mov ebx, eax
mov eax, edx
mov dword [esp + 0x14], eax
test edi, edi
jl 0x4028f8
jg 0x40288d
test esi, esi
je 0x4028f8
test eax, eax
jl 0x4028dc
jg 0x402897
test ebx, ebx
je 0x4028dc
cmp edi, eax
jg 0x4028a7
jl 0x4028a1
cmp esi, ebx
jae 0x4028a7
mov ebx, esi
mov dword [esp + 0x14], edi
push ebx
push dword [ebp + 8]
push dword [esp + 0x18]
call fcn.00407120
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
sub esi, ebx
sbb edi, dword [esp + 0x14]
add edx, ebx
mov eax, dword [ecx + 0x30]
sub dword [eax], ebx
mov eax, dword [ecx + 0x20]
add dword [eax], ebx
test edi, edi
jl 0x4028f8
jg 0x4028df
test esi, esi
je 0x4028f8
jmp 0x4028df
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0x4c]
test eax, eax
je 0x4028f8
push eax
push esi
push 1
push edx
call fcn.0040de18
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x402910
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0xc], edi
test eax, eax
jg 0x402942
jl 0x402935
test ecx, ecx
jne 0x402942
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x402a02
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
mov ecx, ebx
call fcn.00403a90
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x4029ae
jg 0x40296d
test esi, esi
je 0x4029ae
mov ecx, dword [esp + 0xc]
cmp ecx, eax
jg 0x402985
mov eax, dword [esp + 0x10]
jl 0x40297f
cmp eax, esi
jae 0x402985
mov esi, eax
mov dword [esp + 0x14], ecx
mov eax, dword [ebx + 0x1c]
push esi
push dword [eax]
push edi
call fcn.00407120
mov eax, dword [ebx + 0x2c]
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
sub ecx, esi
sbb edx, dword [esp + 0x14]
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
jmp 0x4029cf
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
mov edx, dword [esp + 0xc]
cmp eax, 0xffffffff
je 0x4029eb
mov ecx, dword [esp + 0x10]
mov esi, 1
add ecx, 0xffffffff
mov byte [edi], al
adc edx, 0xffffffff
add edi, esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
test edx, edx
jg 0x402954
jl 0x4029eb
test ecx, ecx
jne 0x402954
mov eax, dword [ebp + 0xc]
sub eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0x10]
sbb ecx, edx
mov edx, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x1c]
mov edi, ecx
mov edx, dword [eax]
test edx, edx
je 0x402a41
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
test eax, eax
je 0x402a41
mov edi, dword [esp + 0xc]
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push edx
push edi
call fcn.00407120
mov eax, dword [ebx + 0x2c]
add edi, esi
mov dword [esp + 0x18], edi
add esp, 0xc
mov edi, dword [ebp + 0xc]
sub edi, esi
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
cmp dword [ebx + 0x4c], 0
mov ecx, edi
je 0x402ab0
mov esi, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [esi], eax
jne 0x402a67
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [esi], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [ebx + 0x2c]
mov dword [eax], edx
mov esi, dword [esp + 0xc]
mov ecx, edi
cmp edi, 0xfff
jbe 0x402a99
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call fcn.0040e46f
sub edi, eax
add esp, 0x10
add esi, eax
mov ecx, edi
cmp eax, 0xfff
jne 0x402ac4
cmp edi, eax
ja 0x402a75
test ecx, ecx
je 0x402ab0
push dword [ebx + 0x4c]
push edi
push 1
push esi
call fcn.0040e46f
mov ecx, edi
add esp, 0x10
sub ecx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, ecx
sbb edx, 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, edi
pop edi
pop esi
sbb edx, 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x402e30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x435008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x402e60
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00404e52
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x402e9c
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x402e9c
lea ecx, [edi - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00404e52
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x402f84
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x402ec4
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x402ef7
push dword [esi + 0x4c]
movsx eax, bl
push eax
call fcn.0040cf30
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00404e52
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x25], bl
mov edx, dword [ecx]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x25]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x1c]
sub eax, 0
je 0x402f57
sub eax, 1
je 0x402f57
sub eax, 2
jne 0x402f84
push dword [esi + 0x4c]
movsx eax, byte [ebp - 0x25]
push eax
call fcn.0040cf30
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00404e52
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x402f74
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.0040de18
add esp, 0x10
cmp edi, eax
jne 0x402f84
lea eax, [ebp - 0x25]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
jne 0x402e87
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404e52
mov esp, ebp
pop ebp
ret 4
Function at 0x4037a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x435008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x40385a
cmp byte [esi + 0x3d], 0
je 0x40385a
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x403848
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
mov edx, dword [ecx]
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x403810
sub eax, 1
je 0x403814
sub eax, 2
jne 0x403848
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00404e52
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x403831
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.0040de18
add esp, 0x10
cmp edi, eax
jne 0x403848
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00404e52
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00404e52
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.00404e52
mov esp, ebp
pop ebp
ret

Function at 0x403dc0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x426860
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x435008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 8
mov dword [eax], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0040505d
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.00405de4
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41981d
Capabilities:
Read file on windows

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

Function at 0x41cbfb
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041c74e
Function at 0x40265a
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 8
call fcn.004112a8
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.004112a8
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x14], 0
cmp dword [ebp + 8], 0
jne 0x4026d6
mov eax, dword [0x811db4]
mov dword [ebp + 8], eax
mov dword [ebp - 0x18], esp
push dword [ebp + 8]
push 0
push 0x1f0fff
mov eax, 3
call fcn.004112c0
cmp dword [ebp - 0x18], esp
je 0x402702
push 6
call fcn.004112ba
add esp, 4
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], esp
lea eax, [ebp - 8]
push eax
push 0xf01ff
push dword [ebp - 4]
mov eax, 8
call fcn.004112c0
cmp dword [ebp - 0x18], esp
je 0x402730
push 6
call fcn.004112ba
add esp, 4
mov dword [ebp - 0x18], esp
push dword [ebp - 0xc]
push str.SeDebugPrivilege
push 0
mov eax, 9
call fcn.004112c0
cmp dword [ebp - 0x18], esp
je 0x40275c
push 6
call fcn.004112ba
add esp, 4
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x10]
add ebx, 0xc
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 2
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov dword [ebp - 0x18], esp
push 0
push 0
push 0
push dword [ebp - 0x10]
push 0
push dword [ebp - 8]
mov eax, 0xa
call fcn.004112c0
cmp dword [ebp - 0x18], esp
je 0x4027eb
push 6
call fcn.004112ba
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], esp
push dword [ebp - 4]
mov eax, 0xb
call fcn.004112c0
cmp dword [ebp - 0x18], esp
je 0x402810
push 6
call fcn.004112ba
add esp, 4
mov eax, dword [ebp - 0x14]
jmp 0x402818
push eax
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.004112ae
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.004112ae
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8
Function at 0x41eef0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4eae6b
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.004dc584
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x41ef72
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004d93a1
mov eax, dword [eax]
push 0x7f9298
push eax
call fcn.004b8a04
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004dc80f
test bl, bl
je 0x41ef72
push 0x7f9298
lea ecx, [esp + 0xc]
call fcn.004dcbeb
push 0x7fce30
lea ecx, [esp + 0xc]
call fcn.004dcbeb
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 0x41efae
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004dc80f
jmp 0x41f079
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 0x41f032
lea edx, [esp + 0x7c]
push 0x7fce2c
push edx
call fcn.004b8a04
add esp, 8
test eax, eax
je 0x41f032
lea eax, [esp + 0x7c]
push 0x7fce28
push eax
call fcn.004b8a04
add esp, 8
test eax, eax
je 0x41f032
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 0x41efc2
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.004dc80f
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 0x41f870
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 0x41f8d2
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 0x41f8e0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4eaeeb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x80c814]
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 0x41fa18
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x41f946
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004dc80f
xor eax, eax
jmp 0x41fa8f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004dc998
push esi
lea ecx, [esp + 0xc]
call fcn.004dcc27
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x7fce68
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x41fa6d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push 0x7fce60
push accept
call fcn.0041f870
test eax, eax
jne 0x41fa6d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push 0x7fce4c
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push accept
mov ecx, edi
call fcn.0041f870
test eax, eax
jne 0x41fa6d
lea eax, [esp + 0x14]
push 0x7fce44
push eax
call fcn.004b9bc0
mov esi, eax
add esp, 8
test esi, esi
jne 0x41fa4c
lea ecx, [esp + 0x14]
push 0x7fce40
push ecx
call fcn.004b9b40
mov esi, eax
add esp, 8
test esi, esi
jne 0x41fa4c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41fa4f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004dc948
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41f95e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004dc80f
xor eax, eax
jmp 0x41fa8f
mov byte [esi], 0
push 0x7fce3c
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.004dc80f
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