joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419c90
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x47e7c1
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
mov eax, dword [0x4a2350]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x3c]
xor ebx, ebx
mov dword [esp + 0xc], ebx
xor eax, eax
push 0xffffffffffffffff
mov word [esp + 0x18], ax
mov eax, dword [esp + 0x44]
push ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], ebx
call fcn.004189c0
mov dword [esp + 0x34], 1
mov eax, edi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x419cf0
sub eax, edx
sar eax, 1
push eax
mov eax, edi
lea ecx, [esp + 0x14]
call fcn.004191a0
xor ecx, ecx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
push 0xffffffffffffffff
mov word [esi + 4], cx
push ebx
mov ecx, esi
call fcn.004189c0
mov dword [esp + 0xc], 1
mov byte [esp + 0x34], bl
cmp dword [esp + 0x28], 8
jb 0x419d45
mov edx, dword [esp + 0x14]
push edx
call fcn.00461232
add esp, 4
xor eax, eax
mov word [esp + 0x14], ax
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], ebx
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x2c
ret

Function at 0x41d5c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x47f92e
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x4a2350]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
lea eax, [esp + 0x10]
push eax
call fcn.004235e0
mov dword [esp + 0x38], 1
lea ecx, [esp + 0x10]
mov esi, 5
push ecx
lea eax, [esp + 0xc]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], 0
call fcn.004231d0
lea edx, [esp + 0x10]
mov dword [eax], 1
push edx
lea eax, [esp + 0xc]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], 1
call fcn.004231d0
mov dword [eax], 2
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0xc]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], 2
call fcn.004231d0
mov dword [eax], esi
lea ecx, [esp + 0x10]
mov esi, 6
push ecx
lea eax, [esp + 0xc]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], 0
call fcn.004231d0
lea edx, [esp + 0x10]
mov dword [eax], 3
push edx
lea eax, [esp + 0xc]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], 1
call fcn.004231d0
mov dword [eax], 4
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0xc]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], 2
call fcn.004231d0
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov dword [eax], 7
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0xc]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
call fcn.004231d0
mov eax, dword [eax]
mov esi, 7
test eax, eax
je 0x41d6e7
mov esi, eax
mov dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0x10]
push ecx
call fcn.00423270
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x34
ret
Function at 0x42be10
Capabilities:
Encode data using base64

Disassembly:
sub esp, 8
push ebx
push ebp
push edi
mov edi, eax
test edi, edi
je 0x42bfb5
mov ebx, dword [esp + 0x18]
test ebx, ebx
je 0x42bfb5
mov ebp, dword [esp + 0x1c]
test ebp, ebp
je 0x42bfb5
cmp dword [esp + 0x20], 0
je 0x42bfb5
push esi
xor esi, esi
cmp ebx, 2
jbe 0x42beec
lea ebp, [esi + 4]
mov al, byte [edi]
mov cl, byte [edi + 1]
sub ebx, 3
mov dword [esp + 0x1c], ebx
mov bl, al
shr bl, 2
inc edi
mov dl, byte [edi + 1]
mov byte [esp + 0x14], bl
mov bl, cl
and al, 3
inc edi
shr bl, 4
and cl, 0xf
shl al, 4
add al, bl
add cl, cl
mov bl, dl
add cl, cl
shr bl, 6
and dl, 0x3f
inc edi
add cl, bl
mov byte [esp + 0x17], dl
cmp ebp, dword [esp + 0x24]
ja 0x42bf9c
movzx edx, byte [esp + 0x14]
movzx edx, byte [edx + 0x48e078]
mov ebx, dword [esp + 0x20]
mov byte [esi + ebx], dl
movzx eax, al
movzx edx, byte [eax + 0x48e078]
mov byte [esi + ebx + 1], dl
movzx edx, byte [esp + 0x17]
inc esi
movzx eax, cl
mov cl, byte [eax + 0x48e078]
inc esi
inc ebp
mov byte [esi + ebx], cl
mov al, byte [edx + 0x48e078]
inc ebp
inc esi
inc ebp
mov byte [esi + ebx], al
mov ebx, dword [esp + 0x1c]
inc esi
inc ebp
cmp ebx, 2
ja 0x42be52
mov ebp, dword [esp + 0x20]
test ebx, ebx
je 0x42bf96
xor al, al
xor cl, cl
mov byte [esp + 0x12], 0
mov byte [esp + 0x11], al
mov byte [esp + 0x10], cl
test ebx, ebx
jbe 0x42bf20
push ebx
lea ecx, [esp + 0x14]
push edi
push ecx
call fcn.00466240
mov al, byte [esp + 0x1d]
mov cl, byte [esp + 0x1c]
add esp, 0xc
mov dl, cl
shr dl, 2
mov byte [esp + 0x14], dl
mov dl, al
and cl, 3
shr dl, 4
and al, 0xf
shl cl, 4
add cl, dl
mov dl, byte [esp + 0x12]
add al, al
shr dl, 6
add al, al
add al, dl
lea edx, [esi + 4]
cmp edx, dword [esp + 0x24]
jbe 0x42bf5b
pop esi
pop edi
pop ebp
mov eax, 0xffffffff
pop ebx
add esp, 8
ret
movzx edx, byte [esp + 0x14]
movzx edx, byte [edx + 0x48e078]
mov byte [esi + ebp], dl
movzx ecx, cl
movzx edx, byte [ecx + 0x48e078]
inc esi
mov byte [esi + ebp], dl
inc esi
cmp ebx, 1
jne 0x42bf84
mov byte [esi + ebp], 0x3d
jmp 0x42bf90
movzx eax, al
mov cl, byte [eax + 0x48e078]
mov byte [esi + ebp], cl
inc esi
mov byte [esi + ebp], 0x3d
inc esi
cmp esi, dword [esp + 0x24]
jb 0x42bfa7
pop esi
pop edi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 8
ret
mov byte [esi + ebp], 0
mov eax, esi
pop esi
pop edi
pop ebp
pop ebx
add esp, 8
ret
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
Function at 0x42c400
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x47f6f8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4a2350]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
mov eax, dword [0x4a2350]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x40]
push ecx
push edx
push eax
lea eax, [esp + 0x1c]
xor ebx, ebx
push eax
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
call fcn.0042c050
mov dword [esp + 0x38], ebx
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x4c]
push edx
push eax
push ecx
lea edx, [esp + 0x20]
push edx
push esi
call fcn.0042c340
mov dword [esp + 0x38], 0xffffffff
cmp dword [esp + 0x28], 0x10
jb 0x42c495
mov eax, dword [esp + 0x14]
push eax
call fcn.00461232
add esp, 4
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.0046123d
add esp, 0x34
ret 0x18

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

Disassembly:
push 0xffffffffffffffff
push 0x47d408
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x4a2350]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, dword [esp + 0x20]
mov ax, word [esp + 0x34]
xor ebx, ebx
push ecx
mov dword [esi], 0x48c074
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov word [esi + 0x18], ax
mov byte [esi + 0x1a], bl
mov byte [esi + 0x1b], 3
call fcn.004314a0
mov dword [esp + 0x18], ebx
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [esi + 0x1c], edx
mov edx, dword [esp + 0x30]
mov dword [esi], 0x48c2f8
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], ecx
mov dword [esi + 0x28], edx
mov dword [esp + 0x18], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret 0x18

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

Disassembly:
push 0xffffffffffffffff
push 0x47d408
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x4a2350]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, dword [esp + 0x20]
mov ax, word [esp + 0x34]
xor ebx, ebx
push ecx
mov dword [esi], 0x48c074
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov word [esi + 0x18], ax
mov byte [esi + 0x1a], bl
mov byte [esi + 0x1b], 3
call fcn.004314a0
mov dword [esp + 0x18], ebx
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [esi + 0x1c], edx
mov edx, dword [esp + 0x30]
mov dword [esi], 0x48e24c
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], ecx
mov dword [esi + 0x28], edx
mov dword [esp + 0x18], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret 0x18
Function at 0x431600
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x47d3db
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4a2350]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
xor edi, edi
xor eax, eax
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
lea eax, [esi + 0x30]
push eax
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi], 0x48e2dc
call fcn.00401730
mov dword [esp + 0x14], edi
or eax, 0xffffffff
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], eax
mov dword [esp + 0x14], eax
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4

Function at 0x431780
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x47d7db
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4a2350]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
xor edi, edi
xor eax, eax
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
lea eax, [esi + 0x2c]
push eax
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi], 0x48e324
mov dword [esi + 0x28], edi
call fcn.00401730
mov dword [esp + 0x14], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esp + 0x14], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x43e690
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x481276
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x4a2350]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [esp + 0x18]
xor ebx, ebx
push eax
mov dword [esp + 0x20], ebx
call fcn.0042ca30
mov dword [esp + 0x78], ebx
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 0xc]
cmp eax, ebx
je 0x43e70c
lea edx, [eax - 1]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.0043f650
mov byte [esp + 0x78], 1
mov ebx, 1
mov esi, eax
mov dword [esp + 0x1c], ebx
call fcn.0043f6c0
mov byte [esp + 0x17], bl
test al, al
jne 0x43e711
mov byte [esp + 0x17], 0
mov dword [esp + 0x78], 0
test bl, 1
je 0x43e72f
lea edx, [esp + 0x20]
and ebx, 0xfffffffe
push edx
mov dword [esp + 0x20], ebx
call fcn.0042caf0
cmp byte [esp + 0x17], 0
je 0x43e834
lea eax, [esp + 0x24]
push eax
call fcn.00448c10
mov bl, 2
mov byte [esp + 0x78], bl
lea ecx, [esp + 0x20]
push ecx
mov ecx, edi
call fcn.0042ca30
mov byte [esp + 0x78], 3
mov eax, dword [eax]
push 0
push 0
push eax
lea ecx, [esp + 0x30]
call fcn.0044a1f0
mov byte [esp + 0x78], bl
lea edx, [esp + 0x20]
push edx
call fcn.0042caf0
cmp byte [esp + 0x50], 0
jne 0x43e826
mov esi, dword [esp + 0x3c]
test esi, esi
je 0x43e7a4
lea esp, [esp]
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
mov ecx, esi
call edx
test eax, eax
jne 0x43e7d7
mov esi, dword [esi + 0x28]
test esi, esi
jne 0x43e790
xor ebx, ebx
mov esi, 0x48f2ec
lea eax, [esp + 0x24]
call fcn.00448680
mov edi, dword [ebp + 8]
push edi
mov ecx, eax
call fcn.0043e860
test ebx, ebx
je 0x43e7e4
mov esi, 0x48f2f4
mov eax, ebx
call fcn.00448680
test eax, eax
je 0x43e7e4
mov ecx, eax
jmp 0x43e7e6
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
mov ecx, esi
call edx
mov ebx, eax
jmp 0x43e7a6
xor ecx, ecx
push edi
call fcn.0043e930
mov byte [esp + 0x78], 0
lea ecx, [esp + 0x24]
call fcn.0043ff80
mov dword [esp + 0x78], 0xffffffff
lea eax, [esp + 0x18]
push eax
call fcn.0042caf0
mov eax, 1
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov byte [esp + 0x78], 0
lea ecx, [esp + 0x24]
call fcn.0043ff80
mov dword [esp + 0x78], 0xffffffff
lea ecx, [esp + 0x18]
push ecx
call fcn.0042caf0
xor eax, eax
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x447fc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x47bd49
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4a2350]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1c]
push edi
mov esi, 5
call fcn.00448470
mov dword [esp + 0x14], 0
mov eax, 0x4a5f7c
mov dword [edi], 0x48f924
mov dword [edi + 0x2c], eax
mov byte [esp + 0x14], 1
mov dword [edi + 0x30], eax
mov byte [esp + 0x14], 2
mov dword [edi + 0x34], eax
mov dword [esp + 0x14], 0xffffffff
mov eax, edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x44e2e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x482acd
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x4a2350]
xor eax, esp
mov dword [esp + 0x21c], eax
push ebp
push edi
mov eax, dword [0x4a2350]
xor eax, esp
push eax
lea eax, [esp + 0x22c]
mov dword fs:[0], eax
xor eax, eax
mov dword [esp + 0x234], eax
mov ebp, dword [esp + 0x23c]
mov dword [esp + 0x14], eax
mov edi, ecx
lea eax, [esp + 0xc]
push eax
mov ecx, 0x48fd48
mov dword [esp + 0x20], edi
call fcn.00408fe0
mov dword [esp + 0x234], 1
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x2a]
push edx
mov word [esp + 0x2c], cx
call fcn.00465680
add esp, 0xc
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x18]
push edx
push ebp
push eax
push esi
mov dword [esp + 0x28], 1
mov dword [esp + 0x30], 0x208
call dword [fcn.00487430]
lea ecx, [esp + 0x20]
call fcn.0044e150
mov dword [esp + 0x14], 1
call fcn.0041bf50
mov byte [esp + 0x234], 0
lea ecx, [esp + 0xc]
call fcn.00401790
mov eax, edi
mov ecx, dword [esp + 0x22c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
mov ecx, dword [esp + 0x21c]
xor ecx, esp
call fcn.0046123d
add esp, 0x22c
ret

Function at 0x401000
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push ecx
push edx
enter 0x84, 0
sub ebp, 0x82
mov dword [ebp - 2], 0
call fcn.00401554
mov ebx, eax
xor eax, eax
mov dword [ebp + 0x7e], eax
lea eax, [ebp + 0x7e]
push eax
mov eax, ebx
or al, 0x40
push eax
mov eax, 0x401e00
sub eax, fcn.004015cb
push eax
push fcn.004015cb
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
cmp dword [ebp + 0x7e], 0
je 0x40107d
mov eax, ebx
lea edx, [ebp - 2]
call fcn.00401478
mov eax, ebx
call fcn.004014c9
lea eax, [ebx + 0x1b600]
lea edx, [ebx - 1]
lea ecx, [ebp - 2]
and edx, eax
test ebx, ebx
je 0x401071
mov eax, 0x402054
add eax, eax
jmp 0x401076
mov eax, 0x402054
mov ebx, ecx
call fcn.004015cb
xor eax, eax
lea esp, [ebp + 0x82]
pop ebp
pop edx
pop ecx
pop ebx
ret

Function at 0x401554
Capabilities:
Delete file
Encode data using base64 via winapi

Disassembly:
push ebx
push ecx
push edx
enter 0x11c, 0
lea ebx, [ebp - 0xc]
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
push ebx
call dword [sym.imp.USER32.DLL_GetCursorPos]
push 0
push 0
lea ebx, [ebp - 4]
call dword [sym.imp.USER32.DLL_GetWindow]
push ebx
lea ebx, [ebp - 0x18]
push ebx
push 1
push 1
lea eax, [ebp - 0x11c]
push eax
mov dword [ebp - 4], 0xa
mov byte [ebp - 0x11c], 0
call dword [sym.imp.CRYPT32.DLL_CryptBinaryToStringA]
lea eax, [ebp - 0x18]
movzx ebx, byte [ebp - 0x18]
push eax
sub ebx, 0x41
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
mov eax, ebx
leave
pop edx
pop ecx
pop ebx
ret

Function at 0x4015cb
Capabilities:
Delete file

Disassembly:
hlt
push edi
mov edi, 0x72647246
jb 0x401617
ror byte [ecx + 0x6ed8c765], 0
inc edi
add al, 0xe8
push edi
jbe 0x4015a9
popal
mov dword [ebx + edx*2 + 0x6c], ebp
mov dword [ecx + 0x45], esp
jae 0x401612
and byte [ebp + eax*2], 0x8d
mov dword [edx - 0x39], edx
invalid
inc ebp
call 0x6e75775d
outsb dx, byte [esi]
inc ebp
inc ebp
add al, 0xa2
invalid
Function at 0x1188e43
Capabilities:
Check for peb ntglobalflag flag
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
jmp 0x1188e5a
mov dword [ebp - 4], 0
Function at 0x1188f1e
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
jmp 0x1188f35
mov dword [ebp - 4], 0
Function at 0x411310
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x472fcb
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.00467991
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x411392
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004652ea
mov eax, dword [eax]
push 0x48b1c0
push eax
call fcn.00458054
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00467c1c
test bl, bl
je 0x411392
push 0x48b1c0
lea ecx, [esp + 0xc]
call fcn.00467fac
push 0x48ed3c
lea ecx, [esp + 0xc]
call fcn.00467fac
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 0x4113ce
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00467c1c
jmp 0x411499
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 0x411452
lea edx, [esp + 0x7c]
push 0x48ed38
push edx
call fcn.00458054
add esp, 8
test eax, eax
je 0x411452
lea eax, [esp + 0x7c]
push 0x48ed34
push eax
call fcn.00458054
add esp, 8
test eax, eax
je 0x411452
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 0x4113e2
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.00467c1c
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 0x411c90
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 0x411cf2
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 0x411d00
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x47304b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x49520c]
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 0x411e38
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x411d66
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00467c1c
xor eax, eax
jmp 0x411eaf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00467d59
push esi
lea ecx, [esp + 0xc]
call fcn.00467fe8
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x411e8d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.00411c90
test eax, eax
jne 0x411e8d
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 accept
mov ecx, edi
call fcn.00411c90
test eax, eax
jne 0x411e8d
lea eax, [esp + 0x14]
push 0x48ed50
push eax
call fcn.00459090
mov esi, eax
add esp, 8
test esi, esi
jne 0x411e6c
lea ecx, [esp + 0x14]
push 0x48ed4c
push ecx
call fcn.00459010
mov esi, eax
add esp, 8
test esi, esi
jne 0x411e6c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x411e6f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00467d09
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x411d7e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00467c1c
xor eax, eax
jmp 0x411eaf
mov byte [esi], 0
push 0x48ed48
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.00467c1c
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