joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100c9650
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword fs:[0x2c]
mov ecx, dword [0x103357d4]
push esi
push edi
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x103392e8]
cmp eax, dword [ecx + 4]
jle 0x100c96e7
push 0x103392e8
call fcn.1014be59
add esp, 4
cmp dword [0x103392e8], 0xffffffff
jne 0x100c96e7
mov eax, dword [0x10335868]
mov esi, dword [eax + 0x30]
test esi, esi
je 0x100c96d2
mov edx, dword [esi + 0xc]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100c9698
sub eax, edi
mov ecx, 0x4fa38bcd
lea edi, [eax + 1]
test edi, edi
je 0x100c96cb
nop dword [eax]
movsx eax, byte [edx]
lea edx, [edx + 1]
xor eax, ecx
imul ecx, eax, 0xf1546419
sub edi, 1
jne 0x100c96b0
cmp ecx, 0x8ff61511
je 0x100c96d4
mov esi, dword [esi + 4]
test esi, esi
jne 0x100c9690
xor esi, esi
push 0x103392e8
mov dword [0x103392f0], esi
call fcn.1014be08
add esp, 4
mov eax, dword [0x103392f0]
pop edi
pop esi
ret

Function at 0x100c98b0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101ab74d
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x10242040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [ebp + 8]
call fcn.10018220
push dword [ebp + 0xc]
lea ecx, [esi + 0x18]
mov dword [ebp - 4], 0
call fcn.10018220
mov ecx, dword [ebp + 0x10]
movss xmm0, dword [ebp + 0x18]
movzx eax, byte [ecx]
mov byte [esi + 0x30], al
mov eax, dword [ecx + 4]
mov dword [esi + 0x34], eax
mov eax, dword [ecx + 8]
mov dword [esi + 0x38], eax
mov eax, dword [ecx + 0xc]
mov dword [esi + 0x3c], eax
mov eax, dword [ecx + 0x10]
mov dword [esi + 0x40], eax
movzx eax, byte [ecx + 0x14]
mov byte [esi + 0x44], al
movzx eax, byte [ecx + 0x15]
mov byte [esi + 0x45], al
mov eax, dword [ecx + 0x18]
mov dword [esi + 0x48], eax
movzx eax, byte [ecx + 0x1c]
mov byte [esi + 0x4c], al
mov eax, dword [ecx + 0x20]
mov dword [esi + 0x50], eax
movzx eax, byte [ecx + 0x24]
mov byte [esi + 0x54], al
mov eax, dword [ecx + 0x28]
mov dword [esi + 0x58], eax
mov eax, dword [ecx + 0x2c]
mov ecx, dword [ebp + 0x14]
mov dword [esi + 0x5c], eax
mov eax, dword [ecx]
mov dword [esi + 0x60], eax
mov eax, dword [ecx + 4]
mov dword [esi + 0x64], eax
mov eax, dword [ecx + 8]
mov dword [esi + 0x68], eax
mov eax, esi
movss dword [esi + 0x6c], xmm0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x14
Function at 0x100d44b0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword fs:[0x2c]
mov ecx, dword [0x103357d4]
push esi
push edi
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10339314]
cmp eax, dword [ecx + 4]
jle 0x100d4547
push 0x10339314
call fcn.1014be59
add esp, 4
cmp dword [0x10339314], 0xffffffff
jne 0x100d4547
mov eax, dword [0x10335868]
mov esi, dword [eax + 0x30]
test esi, esi
je 0x100d4532
mov edx, dword [esi + 0xc]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100d44f8
sub eax, edi
mov ecx, 0x4fa38bcd
lea edi, [eax + 1]
test edi, edi
je 0x100d452b
nop dword [eax]
movsx eax, byte [edx]
lea edx, [edx + 1]
xor eax, ecx
imul ecx, eax, 0xf1546419
sub edi, 1
jne 0x100d4510
cmp ecx, 0xb5599648
je 0x100d4534
mov esi, dword [esi + 4]
test esi, esi
jne 0x100d44f0
xor esi, esi
push 0x10339314
mov dword [0x10339300], esi
call fcn.1014be08
add esp, 4
mov eax, dword [0x10339300]
pop edi
pop esi
ret

Function at 0x100d4550
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword fs:[0x2c]
mov ecx, dword [0x103357d4]
push esi
push edi
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1033931c]
cmp eax, dword [ecx + 4]
jle 0x100d45e7
push 0x1033931c
call fcn.1014be59
add esp, 4
cmp dword [0x1033931c], 0xffffffff
jne 0x100d45e7
mov eax, dword [0x10335868]
mov esi, dword [eax + 0x30]
test esi, esi
je 0x100d45d2
mov edx, dword [esi + 0xc]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100d4598
sub eax, edi
mov ecx, 0x4fa38bcd
lea edi, [eax + 1]
test edi, edi
je 0x100d45cb
nop dword [eax]
movsx eax, byte [edx]
lea edx, [edx + 1]
xor eax, ecx
imul ecx, eax, 0xf1546419
sub edi, 1
jne 0x100d45b0
cmp ecx, 0xb5599648
je 0x100d45d4
mov esi, dword [esi + 4]
test esi, esi
jne 0x100d4590
xor esi, esi
push 0x1033931c
mov dword [0x10339318], esi
call fcn.1014be08
add esp, 4
mov eax, dword [0x10339318]
pop edi
pop esi
ret
Function at 0x100d45f0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [0x10336270]
push ebx
push esi
push edi
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x100d46dc
mov eax, dword [ecx]
mov eax, dword [eax + 0x734]
call eax
mov ebx, eax
test ebx, ebx
je 0x100d46dc
mov ecx, dword fs:[0x2c]
mov edx, dword [0x103357d4]
mov edx, dword [ecx + edx*4]
mov ecx, dword [0x103392fc]
cmp ecx, dword [edx + 4]
jle 0x100d46ac
push 0x103392fc
call fcn.1014be59
add esp, 4
cmp dword [0x103392fc], 0xffffffff
jne 0x100d46ac
mov eax, dword [0x10335868]
mov esi, dword [eax + 0x30]
test esi, esi
je 0x100d4697
mov edx, dword [esi + 0xc]
mov ecx, edx
lea edi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100d4660
sub ecx, edi
lea edi, [ecx + 1]
mov ecx, 0x4fa38bcd
test edi, edi
je 0x100d4690
movsx eax, byte [edx]
lea edx, [edx + 1]
xor eax, ecx
imul ecx, eax, 0xf1546419
sub edi, 1
jne 0x100d4675
cmp ecx, 0xb5599648
je 0x100d4699
mov esi, dword [esi + 4]
test esi, esi
jne 0x100d4657
xor esi, esi
push 0x103392fc
mov dword [0x10339310], esi
call fcn.1014be08
add esp, 4
mov ecx, dword [0x10339310]
mov eax, dword [ecx + 0x1c]
mov eax, dword [eax + 0x30]
xor eax, ecx
movd xmm0, eax
mov eax, dword [0x10335828]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [eax + 0x20]
divss xmm0, dword [ebx + 0xdc]
cvttss2si eax, xmm0
inc eax
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
mov eax, 1
pop ebx
ret

Function at 0x100d49a0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword fs:[0x2c]
mov ecx, dword [0x103357d4]
push esi
push edi
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10339308]
cmp eax, dword [ecx + 4]
jle 0x100d4a37
push 0x10339308
call fcn.1014be59
add esp, 4
cmp dword [0x10339308], 0xffffffff
jne 0x100d4a37
mov eax, dword [0x10335868]
mov esi, dword [eax + 0x30]
test esi, esi
je 0x100d4a22
mov edx, dword [esi + 0xc]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100d49e8
sub eax, edi
mov ecx, 0x4fa38bcd
lea edi, [eax + 1]
test edi, edi
je 0x100d4a1b
nop dword [eax]
movsx eax, byte [edx]
lea edx, [edx + 1]
xor eax, ecx
imul ecx, eax, 0xf1546419
sub edi, 1
jne 0x100d4a00
cmp ecx, 0xb5599648
je 0x100d4a24
mov esi, dword [esi + 4]
test esi, esi
jne 0x100d49e0
xor esi, esi
push 0x10339308
mov dword [0x1033930c], esi
call fcn.1014be08
add esp, 4
mov eax, dword [0x1033930c]
pop edi
pop esi
ret
Function at 0x100dc040
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
mov dword [esp + 4], ecx
mov ecx, dword [0x103358cc]
push ebx
push ebp
push esi
mov eax, dword [ecx]
push edi
mov eax, dword [eax + 0x20]
call eax
mov ebx, eax
mov dword [esp + 0x10], eax
test ebx, ebx
je 0x100dc126
mov edx, dword [ebx + 8]
mov ecx, edx
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100dc070
sub ecx, esi
lea esi, [ecx + 1]
mov ecx, 0x4fa38bcd
test esi, esi
je 0x100dc098
movsx eax, byte [edx]
lea edx, [edx + 1]
xor eax, ecx
imul ecx, eax, 0xf1546419
sub esi, 1
jne 0x100dc085
cmp ecx, dword [esp + 0x1c]
jne 0x100dc0fa
mov edi, dword [ebx + 0xc]
xor ebx, ebx
mov ebp, dword [edi + 4]
test ebp, ebp
jle 0x100dc0f6
mov edi, dword [edi]
nop dword [eax]
test edi, edi
je 0x100dc0ee
mov edx, dword [edi]
mov eax, edx
lea esi, [eax + 1]
nop dword [eax + eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100dc0c0
sub eax, esi
mov esi, 0x4fa38bcd
lea ecx, [eax + 1]
test ecx, ecx
je 0x100dc0e8
movsx eax, byte [edx]
lea edx, [edx + 1]
xor eax, esi
imul esi, eax, 0xf1546419
sub ecx, 1
jne 0x100dc0d5
cmp esi, dword [esp + 0x20]
je 0x100dc113
inc ebx
add edi, 0x3c
cmp ebx, ebp
jl 0x100dc0b0
mov ebx, dword [esp + 0x10]
mov ebx, dword [ebx + 0x10]
mov dword [esp + 0x10], ebx
test ebx, ebx
jne 0x100dc066
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
mov ecx, dword [esp + 0x14]
mov dword [ecx], edi
mov eax, dword [edi + 0x20]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x24]
mov dword [edi + 0x20], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
Function at 0x100e19a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101aca99
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x10242040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x10335fb8]
cmp dword [eax + 0x4806], 0
je 0x100e1ba3
mov eax, dword fs:[0x2c]
mov ecx, dword [0x103357d4]
mov edi, dword [eax + ecx*4]
mov eax, dword [0x10335dc4]
cmp eax, dword [edi + 4]
jle 0x100e1a40
push 0x10335dc4
call fcn.1014be59
add esp, 4
cmp dword [0x10335dc4], 0xffffffff
jne 0x100e1a40
push ecx
push 0x2c0ffa6
mov dword [ebp - 4], 0
mov ecx, dword [0x10336104]
push 0xbbcce2b5
call fcn.100bb3f0
push 0x10335dc4
mov dword [0x10335dc0], eax
mov dword [ebp - 4], 0xffffffff
call fcn.1014be08
add esp, 4
mov ecx, dword [0x10335888]
mov eax, dword [0x10335dc0]
mov esi, dword [ebp + 0xc]
mov edx, dword [ecx]
push dword [eax + esi]
call dword [edx + 0x10]
mov ecx, dword [0x10336270]
mov esi, dword [ecx + 8]
test esi, esi
je 0x100e1ba3
test eax, eax
je 0x100e1ba3
cmp eax, esi
jne 0x100e1ba3
mov eax, dword [0x10335c4c]
cmp eax, dword [edi + 4]
jle 0x100e1ad0
push 0x10335c4c
call fcn.1014be59
add esp, 4
cmp dword [0x10335c4c], 0xffffffff
jne 0x100e1ad0
push ecx
push 0xc4cbab11
mov dword [ebp - 4], 1
mov ecx, dword [0x10336104]
push 0x3a46cc70
call fcn.100bb3f0
push 0x10335c4c
mov dword [0x10335c14], eax
mov dword [ebp - 4], 0xffffffff
call fcn.1014be08
add esp, 4
mov ecx, dword [0x10335888]
mov eax, dword [0x10335c14]
mov edx, dword [ecx]
push dword [eax + esi]
call dword [edx + 0x10]
mov esi, eax
test esi, esi
je 0x100e1ba3
mov ecx, dword [0x10335848]
cmp ecx, dword [edi + 4]
jle 0x100e1b47
push 0x10335848
call fcn.1014be59
add esp, 4
cmp dword [0x10335848], 0xffffffff
jne 0x100e1b47
push ecx
push 0x8d29f550
mov dword [ebp - 4], 2
mov ecx, dword [0x10336104]
push 0x19c23329
call fcn.100bb3f0
push 0x10335848
mov dword [0x1033584c], eax
mov dword [ebp - 4], 0xffffffff
call fcn.1014be08
add esp, 4
mov eax, dword [0x1033584c]
movsx ecx, word [eax + esi]
call fcn.100df070
mov esi, eax
test esi, esi
je 0x100e1ba3
cmp dword [esi + 0x14], 0xf
mov ebx, dword [ebp + 8]
jbe 0x100e1b66
mov esi, dword [esi]
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100e1b70
sub ecx, edx
mov edi, 0x4fa38bcd
add ecx, 1
je 0x100e1b96
movsx eax, byte [esi]
lea esi, [esi + 1]
xor eax, edi
imul edi, eax, 0xf1546419
sub ecx, 1
jne 0x100e1b83
mov edx, dword [ebx + 8]
mov ecx, edi
call fcn.100e17b0
mov dword [ebx + 8], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x100e4920
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x28
mov eax, dword [0x10242040]
xor eax, esp
mov dword [esp + 0x24], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x100e49e2
cmp byte [esi + 0x3d], 0
je 0x100e49e2
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x100e49cf
mov ecx, dword [esi + 0x38]
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x100e4993
sub eax, 1
je 0x100e4997
sub eax, 2
jne 0x100e49cf
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.1014ba4f
add esp, 0x28
ret
mov byte [esi + 0x3d], 0
mov edi, dword [esp + 8]
lea eax, [esp + 0xc]
sub edi, eax
je 0x100e49b7
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x100e49cf
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.1014ba4f
add esp, 0x28
ret
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.1014ba4f
add esp, 0x28
ret
mov ecx, dword [esp + 0x28]
mov al, 1
pop esi
xor ecx, esp
call fcn.1014ba4f
add esp, 0x28
ret

Function at 0x100e5640
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101ad12d
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x10242040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x18]
push esi
push dword [ebp + 8]
push eax
call fcn.100e58d0
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ebp - 0x24], xmm0
mov dword [ebp - 0x1c], eax
test al, al
je 0x100e56a2
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [0x10339368], 0x38e38e3
je 0x100e5747
mov eax, dword [0x10339364]
mov dword [ebp + 0xc], eax
mov dword [ebp - 0x14], 0x10339364
mov dword [ebp - 4], 0
push 0x48
mov dword [ebp - 0x10], 0
call fcn.1014ba5d
mov ebx, eax
add esp, 4
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], 1
lea edi, [ebx + 0x14]
mov ecx, dword [esi]
add esi, 4
mov dword [ebx + 0x10], ecx
mov ecx, edi
push esi
mov dword [ebp + 8], edi
call fcn.10018220
lea eax, [esi + 0x18]
mov byte [ebp - 4], 2
push eax
lea ecx, [edi + 0x18]
call fcn.10018220
mov eax, dword [esi + 0x30]
mov ecx, 0x10339364
mov dword [edi + 0x30], eax
mov eax, dword [ebp + 0xc]
push ebx
push dword [ebp - 0x20]
mov dword [ebx], eax
push dword [ebp - 0x24]
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov word [ebx + 0xc], 0
call fcn.1003f980
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.10035c60
int3
Function at 0x100e7330
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101ad30d
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x10242040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
push 8
call fcn.1014ba5d
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov esi, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [eax], esi
mov dword [eax + 4], ecx
lea esi, [edi + 4]
mov dword [ebp - 4], 0
push esi
push 0
push eax
push 0x100e74d0
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x1c
mov dword [edi], eax
test eax, eax
jne 0x100e739e
push 6
mov dword [esi], eax
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100e9960
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword fs:[0x2c]
mov ecx, dword [0x103357d4]
push esi
push edi
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x103393b8]
cmp eax, dword [ecx + 4]
jle 0x100e99f7
push 0x103393b8
call fcn.1014be59
add esp, 4
cmp dword [0x103393b8], 0xffffffff
jne 0x100e99f7
mov eax, dword [0x10335868]
mov esi, dword [eax + 0x30]
test esi, esi
je 0x100e99e2
mov edx, dword [esi + 0xc]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100e99a8
sub eax, edi
mov ecx, 0x4fa38bcd
lea edi, [eax + 1]
test edi, edi
je 0x100e99db
nop dword [eax]
movsx eax, byte [edx]
lea edx, [edx + 1]
xor eax, ecx
imul ecx, eax, 0xf1546419
sub edi, 1
jne 0x100e99c0
cmp ecx, 0xbc340f3b
je 0x100e99e4
mov esi, dword [esi + 4]
test esi, esi
jne 0x100e99a0
xor esi, esi
push 0x103393b8
mov dword [0x103393a8], esi
call fcn.1014be08
add esp, 4
mov eax, dword [0x103393a8]
pop edi
pop esi
ret
Function at 0x401225
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40a01c
push 0x40109a
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [0x40a020], 0x401219
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
mov dword [0x40a038], eax
push eax
fnstcw word [esp]
or word [esp], 0x300
fldcw word [esp]
add esp, 4
lea eax, [0x40803c]
fnstenv [eax]
push 0
push 0x40a030
push 0x40a02c
push 0x40a028
call sub.CRTDLL.DLL___GetMainArgs
mov ecx, 0x408058
mov edx, dword [ecx]
or edx, edx
je 0x40129f
call ecx
push dword [0x40a030]
push dword [0x40a02c]
push dword [0x40a028]
mov dword [0x40a014], esp
call fcn.004012d4
add esp, 0x18
xor ecx, ecx
mov dword [ebp - 4], ecx
push eax
call sub.CRTDLL.DLL_exit
leave
ret

Function at 0x401a5c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
cmp edi, 1
je 0x401aea
cmp edi, 4
jne 0x401adf
mov eax, dword [sym.imp.CRTDLL.DLL__iob]
add eax, 0x40
push eax
push 1
push 7
push str.signal
call sub.CRTDLL.DLL_fwrite
push 0xa
lea eax, [ebp - 0x80]
push eax
push dword [ebp + 0xc]
call sub.CRTDLL.DLL__itoa
add esp, 0x1c
lea ecx, [ebp - 0x80]
or eax, 0xffffffff
inc eax
cmp byte [ecx + eax], 0
jne 0x401aa3
mov ebx, dword [sym.imp.CRTDLL.DLL__iob]
add ebx, 0x40
push ebx
push 1
push eax
lea esi, [ebp - 0x80]
push esi
call sub.CRTDLL.DLL_fwrite
add esp, 0x10
mov eax, dword [sym.imp.CRTDLL.DLL__iob]
add eax, 0x40
push eax
push 1
push 1
push 0x40a208
call sub.CRTDLL.DLL_fwrite
add esp, 0x10
jmp 0x401aea
cmp edi, 3
je 0x401aea
push dword [ebp + 0xc]
call edi
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40f990
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x46b38b
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.0045fdd9
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40fa12
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0045dcf0
mov eax, dword [eax]
push 0x4a0210
push eax
call fcn.00450924
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00460064
test bl, bl
je 0x40fa12
push 0x4a0210
lea ecx, [esp + 0xc]
call fcn.004603f4
push 0x4a3d8c
lea ecx, [esp + 0xc]
call fcn.004603f4
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 0x40fa4e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00460064
jmp 0x40fb19
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 0x40fad2
lea edx, [esp + 0x7c]
push 0x4a3d88
push edx
call fcn.00450924
add esp, 8
test eax, eax
je 0x40fad2
lea eax, [esp + 0x7c]
push 0x4a3d84
push eax
call fcn.00450924
add esp, 8
test eax, eax
je 0x40fad2
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 0x40fa62
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.00460064
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 0x410310
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 0x410372
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 0x410380
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x46b40b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4aa2e0]
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 0x4104b8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4103e6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00460064
xor eax, eax
jmp 0x41052f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004601a1
push esi
lea ecx, [esp + 0xc]
call fcn.00460430
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x4a3dc4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x41050d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00410310
test eax, eax
jne 0x41050d
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.00410310
test eax, eax
jne 0x41050d
lea eax, [esp + 0x14]
push 0x4a3da0
push eax
call fcn.00451960
mov esi, eax
add esp, 8
test esi, esi
jne 0x4104ec
lea ecx, [esp + 0x14]
push 0x4a3d9c
push ecx
call fcn.004518e0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4104ec
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x4104ef
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00460151
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4103fe
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00460064
xor eax, eax
jmp 0x41052f
mov byte [esi], 0
push 0x4a3d98
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.00460064
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