joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1013ebd
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x16c
or dword [ebp - 4], 0xffffffff
push ebx
push esi
push edi
mov dword [ebp - 8], 0xffffd8f0
mov ebx, 0x1063408
jmp 0x1013ee9
lea eax, [ebp - 8]
push eax
push 0
call dword [sym.imp.ntdll.dll_NtDelayExecution]
xor ecx, ecx
inc ecx
mov edx, ebx
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
jne 0x1013edd
mov edi, dword [0x105e018]
mov eax, edi
and eax, dword [0x105e01c]
cmp eax, 0xffffffff
jne 0x1013fa2
mov esi, dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
xor edi, edi
push edi
push 0x2c
lea eax, [ebp - 0x34]
push eax
push edi
call esi
test eax, eax
jl 0x1013fb3
push edi
push 0x138
lea eax, [ebp - 0x16c]
push eax
push 2
call esi
test eax, eax
jl 0x1013fb3
mov eax, dword [ebp - 0x140]
mul dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x18]
mov edi, eax
mov esi, edx
xor eax, eax
cmp eax, esi
ja 0x1013f61
jb 0x1013f5d
cmp ecx, edi
jae 0x1013f61
mov edi, ecx
mov esi, eax
mov eax, edi
and eax, esi
cmp eax, 0xffffffff
jne 0x1013f6f
push 0xfffffffffffffffe
pop edi
or esi, eax
test esi, esi
ja 0x1013f87
jb 0x1013f7d
cmp edi, 0x19000
ja 0x1013f87
xor edi, edi
and dword [0x105e01c], edi
jmp 0x1013f9c
push 0
push 0xa
push esi
push edi
call sub.ntdll.dll__aulldiv
sub edi, eax
sbb esi, edx
mov dword [0x105e01c], esi
mov dword [0x105e018], edi
xor esi, esi
cmp esi, dword [0x105e01c]
jb 0x1013fbe
ja 0x1013fb3
cmp dword [ebp + 8], edi
jbe 0x1013fbe
or eax, 0xffffffff
lock xadd dword [ebx], eax
xor eax, eax
jmp 0x1013fee
push dword [ebp + 8]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push esi
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
test eax, eax
je 0x1013fe7
mov ecx, dword [ebp + 8]
sub dword [0x105e018], ecx
sbb dword [0x105e01c], esi
or ecx, 0xffffffff
lock xadd dword [ebx], ecx
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x101543c
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [0x105e004]
push ebx
xor ebx, ebx
cmp byte [0x106341c], bl
mov dword [ebp - 4], eax
je 0x1015462
xor eax, eax
inc eax
jmp 0x101558d
lea eax, [ebp - 0x74]
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0x8c]
push eax
push 0x20019
lea eax, [ebp - 0x64]
push eax
mov byte [0x106341c], 1
mov dword [ebp - 0x68], 0x10017ac
mov word [ebp - 0x6c], 0x14
mov word [ebp - 0x6a], 0x16
mov dword [ebp - 0x70], 0x1001750
mov word [ebp - 0x74], 0x5a
mov word [ebp - 0x72], 0x5c
mov dword [ebp - 0x8c], 0x18
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x80], 0x40
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], ebx
call dword [sym.imp.ntdll.dll_NtOpenKey]
test eax, eax
jge 0x10154d6
xor eax, eax
jmp 0x101558d
push esi
lea eax, [ebp - 0x98]
push eax
push 0x5c
lea eax, [ebp - 0x60]
push eax
push 1
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x64]
call dword [sym.imp.ntdll.dll_NtQueryValueKey]
mov esi, eax
cmp esi, 0x80000005
je 0x101558a
push dword [ebp - 0x64]
call dword [sym.imp.ntdll.dll_NtClose]
cmp esi, ebx
jl 0x101558a
cmp dword [ebp - 0x54], ebx
je 0x101558a
mov eax, dword [ebp - 0x58]
mov esi, dword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea eax, [ebp + eax - 0x60]
push eax
lea eax, [ebp - 0x94]
push eax
call esi
push 0x1001730
lea eax, [ebp - 0xa0]
push eax
call esi
push 0x100171c
lea eax, [ebp - 0xa8]
push eax
call esi
push 1
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0xa0]
push eax
call dword [sym.imp.ntdll.dll_RtlPrefixUnicodeString]
test al, al
je 0x101556c
mov dword [0x105e020], 0x40002
jmp 0x1015585
mov eax, dword [0x7ffe02c0]
dec eax
neg eax
sbb eax, eax
and eax, 0xfffeffff
add eax, 0x20001
mov dword [0x105e020], eax
xor eax, eax
inc eax
jmp 0x101558c
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
pop ebx
call fcn.0100d6cf
leave
ret

Function at 0x1017a21
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x40
mov cx, word [ebp + 0xc]
xor eax, eax
push eax
push eax
mov word [ebp - 8], ax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov word [ebp - 6], cx
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 4], ecx
push 0x10017ec
lea ecx, [ebp - 8]
push 2
mov dword [ebp - 0x3c], 0x30
mov dword [ebp - 0x38], 0x10017d4
mov dword [ebp - 0x34], ecx
call dword [sym.imp.ntdll.dll_RtlQueryRegistryValues]
xor ecx, ecx
test eax, eax
setge cl
mov al, cl
leave
ret 8

Function at 0x1017a97
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push dword [ebp + 8]
call fcn.010179f8
lea eax, [eax + eax + 2]
push eax
push dword [ebp + 8]
push 7
push 0x10017d4
push 0x10017ec
push 2
call dword [sym.imp.ntdll.dll_RtlWriteRegistryValue]
xor ecx, ecx
test eax, eax
setge cl
mov al, cl
pop ebp
ret 4
Function at 0x101ae33
Capabilities:
Get disk information via ioctl
Read file on windows

Disassembly:
cmp dword [ecx + 0x34], 2
jne 0x101ae3c
xor eax, eax
ret
mov eax, dword [ecx + 0x20]
mov eax, dword [eax + 0xc8]
dec eax
cmp eax, 0x15
ja case.0x101ae52.11
movzx eax, byte [eax + 0x101ae91]
jmp dword [eax*4 + 0x101ae79]
push 0x70
jmp 0x101ae71
mov eax, 0xe0
ret
mov eax, 0xf0
ret
mov eax, 0xc0
ret
push 0x44
pop eax
ret
mov eax, 0x200
ret
Function at 0x1033fa3
Capabilities:
Hash data with crc32

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
push 1
lea edi, [esi + 0x40]
push edi
push 0
call sub.ntdll.dll_RtlComputeCrc32
push 1
lea ecx, [esi + 0x41]
push ecx
push eax
call sub.ntdll.dll_RtlComputeCrc32
push 4
lea ecx, [ebp + 8]
push ecx
push eax
call sub.ntdll.dll_RtlComputeCrc32
push 8
push esi
push eax
call sub.ntdll.dll_RtlComputeCrc32
movzx ecx, byte [edi]
shl ecx, 1
push ecx
add esi, 0x42
push esi
push eax
call sub.ntdll.dll_RtlComputeCrc32
mov edx, dword [ebp + 0x10]
mov ecx, eax
xor eax, eax
mov edi, edx
stosd dword es:[edi], eax
pop edi
mov dword [edx], ecx
pop esi
pop ebp
ret 0xc

Function at 0x1034002
Capabilities:
Hash data with crc32

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 0x18
push esi
push 0
call sub.ntdll.dll_RtlComputeCrc32
cmp byte [0x1063514], 2
jb 0x1034029
test byte [esi + 0x31], 4
je 0x1034029
push 0x18
jmp 0x103402b
push 0x16
pop ecx
push ecx
add esi, 0x20
push esi
push eax
call sub.ntdll.dll_RtlComputeCrc32
mov edx, dword [ebp + 0xc]
mov ecx, eax
xor eax, eax
mov edi, edx
stosd dword es:[edi], eax
pop edi
mov dword [edx], ecx
pop esi
pop ebp
ret 8
Function at 0x1034aac
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x6c
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x6c]
call fcn.01023f24
xor ebx, ebx
push ebx
push 0x80
lea eax, [ebp - 1]
push eax
lea eax, [ebp - 0x6c]
push eax
mov ecx, esi
call fcn.0102b131
test al, al
je 0x1034bdd
cmp dword [ebp - 0x2c], ebx
je 0x1034aef
push 0x1001ef8
jmp 0x1034bd7
lea eax, [ebp - 8]
push eax
push 4
pop esi
push esi
push ecx
push ecx
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], ebx
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x6c]
call fcn.01022941
cmp al, bl
je 0x1034bd2
cmp dword [ebp - 8], esi
jne 0x1034bd2
cmp byte [ebp + 8], bl
jne 0x1034b56
push ebx
lea eax, [ebp - 8]
push eax
push esi
push ecx
push ecx
mov eax, esp
mov dword [ebp - 0xc], 0x444b4843
mov dword [eax], ebx
mov dword [eax + 4], ebx
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x6c]
call fcn.01024262
cmp al, bl
je 0x1034bdd
cmp dword [ebp - 8], esi
je 0x1034bce
jmp 0x1034bdd
call fcn.01012620
mov esi, eax
cmp esi, ebx
je 0x1034bdd
push ecx
push ecx
mov eax, esp
lea ecx, [esi + 0x10]
mov dword [eax], ecx
mov dword [eax + 4], ebx
push dword [ebp - 0x30]
push dword [ebp - 0x34]
call fcn.01021451
cmp al, bl
jne 0x1034bdd
xor eax, eax
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], 0x444b4843
mov dword [ebp - 0x10], eax
mov dword [ebp + 8], ebx
xor edi, edi
push ebx
lea eax, [ebp - 8]
push eax
push 0x10
push ecx
push ecx
mov eax, esp
mov dword [eax], edi
mov dword [eax + 4], ebx
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x6c]
call fcn.01024262
cmp al, bl
je 0x1034bdd
cmp dword [ebp - 8], 0x10
jne 0x1034bdd
inc dword [ebp + 8]
add edi, esi
cmp dword [ebp + 8], 2
jb 0x1034b9d
mov bl, 1
jmp 0x1034bdd
push 0x1001ed0
call sub.ntdll.dll_DbgPrint
pop ecx
lea ecx, [ebp - 0x6c]
call fcn.01023f54
pop edi
pop esi
mov al, bl
pop ebx
leave
ret 0xc
Function at 0x1038488
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, dword [edx]
test eax, eax
jne 0x10384e7
mov eax, dword [ecx + 0x60]
and dword [edx + 4], 0
mov dword [edx], eax
mov ecx, dword [eax]
mov edx, dword [ebp + 0xc]
mov dword [edx], ecx
mov edx, dword [eax + 8]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], edx
mov edx, dword [eax + 0xc]
mov dword [ecx + 4], edx
mov edx, dword [eax + 0x10]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], edx
mov edx, dword [eax + 0x14]
mov dword [ecx + 4], edx
mov cx, word [eax + 0x18]
mov edx, dword [ebp + 0x18]
mov word [edx], cx
movzx ecx, byte [eax + 6]
push ecx
movzx ecx, byte [eax + 7]
add ecx, eax
push ecx
mov ecx, dword [ebp + 0x1c]
call fcn.010111e1
test al, al
setne al
jmp 0x103855c
push edi
mov edi, dword [ecx + 0x64]
test edi, edi
jne 0x10384f3
xor al, al
jmp 0x103855b
mov cx, word [eax + 4]
test cx, cx
je 0x10384ef
push esi
movzx esi, cx
mov ecx, dword [edx + 4]
add ecx, esi
cmp ecx, edi
jb 0x103850d
xor al, al
jmp 0x103855a
mov dword [edx + 4], ecx
add eax, esi
mov dword [edx], eax
mov ecx, dword [eax]
mov edx, dword [ebp + 0xc]
mov dword [edx], ecx
mov edx, dword [eax + 8]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], edx
mov edx, dword [eax + 0xc]
mov dword [ecx + 4], edx
mov edx, dword [eax + 0x10]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], edx
mov edx, dword [eax + 0x14]
mov dword [ecx + 4], edx
mov cx, word [eax + 0x18]
mov edx, dword [ebp + 0x18]
mov word [edx], cx
movzx ecx, byte [eax + 6]
push ecx
movzx ecx, byte [eax + 7]
add ecx, eax
push ecx
mov ecx, dword [ebp + 0x1c]
call fcn.010111e1
test al, al
setne al
pop esi
pop edi
pop ebp
ret 0x18

Function at 0x1039bc9
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 8], 0
push esi
push edi
mov edi, ecx
xor edx, edx
mov dx, word [edi + 0xe]
xor eax, eax
mov ax, word [edi + 0x10]
mov dword [ebp - 4], 0x20
movzx ecx, ax
sub dword [ebp - 4], eax
mov esi, edx
and esi, dword [ebp + 8]
shr dword [ebp + 8], cl
xor dword [ebp - 8], esi
cmp word [ebp - 4], 0
jg 0x1039bee
movzx eax, word [ebp - 8]
mov ecx, dword [edi + 8]
lea eax, [eax + eax*2]
lea esi, [ecx + eax*4]
cmp dword [esi + 8], 0
jne 0x1039c34
movzx eax, word [edi + 0x12]
shl eax, 2
push eax
call fcn.01013ebd
test eax, eax
mov dword [esi + 8], eax
je 0x1039c51
and dword [esi], 0
movzx eax, word [edi + 0x12]
mov dword [esi + 4], eax
mov eax, dword [esi + 4]
cmp dword [esi], eax
jne 0x1039c5f
movzx ecx, word [edi + 0x12]
add ecx, eax
shl ecx, 2
push ecx
push dword [esi + 8]
call fcn.010140bd
test eax, eax
jne 0x1039c55
xor al, al
jmp 0x1039c7d
mov dword [esi + 8], eax
movzx eax, word [edi + 0x12]
add dword [esi + 4], eax
mov eax, dword [esi]
mov ecx, dword [esi + 8]
mov edx, dword [ebp + 0xc]
mov dword [ecx + eax*4], edx
mov eax, dword [esi + 8]
inc dword [esi]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov eax, dword [esi]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov al, 1
pop edi
pop esi
leave
ret 0x10
Function at 0x1039c88
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 8], 0
push esi
mov eax, ecx
xor esi, esi
mov si, word [eax + 0xe]
xor edx, edx
mov dx, word [eax + 0x10]
push edi
mov dword [ebp - 4], 0x20
movzx ecx, dx
sub dword [ebp - 4], edx
mov edi, esi
and edi, dword [ebp + 8]
shr dword [ebp + 8], cl
xor dword [ebp - 8], edi
cmp word [ebp - 4], 0
jg 0x1039cad
movzx ecx, word [ebp - 8]
mov eax, dword [eax + 8]
lea ecx, [ecx + ecx*2]
lea eax, [eax + ecx*4]
mov ecx, dword [eax]
cmp ecx, 1
pop edi
pop esi
jb 0x1039cdb
dec ecx
mov dword [eax], ecx
leave
ret 8

Function at 0x103c158
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push 0xb
pop edx
xor eax, eax
push esi
movzx esi, byte [ecx]
shl eax, 2
xor eax, esi
inc ecx
dec edx
jne 0x103c166
mov ecx, dword [ebp + 8]
push 2
pop edx
movzx esi, byte [ecx]
shl eax, 2
xor eax, esi
inc ecx
dec edx
jne 0x103c178
pop esi
pop ebp
ret 4
Function at 0x40edfa
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 8], 0
jge 0x40ee1c
mov eax, 0xfffffffd
jmp 0x40ee94
mov ebx, dword [0x4e83b4]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
je 0x40ee62
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0xffff
shr ecx, 0x10
and ecx, 0xffff
mov edx, dword [ebp]
lea edx, [edx + 8]
call dword fs:[0xc0]
nop
nop
nop
nop
nop
leave
ret 4
mov ebx, dword [0x4e83b4]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
jne 0x40ee8a
mov eax, dword [ebp + 8]
mov edx, dword [ebp]
lea edx, [edx + 8]
int 0x2e
nop
leave
ret 4
mov eax, 0
jmp 0x40ee94
mov esp, ebp
pop ebp
ret 4

Function at 0x414b67
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
mov ecx, dword fs:[0x30]
mov al, byte [ecx + 2]
leave
ret
Function at 0x41f2fb
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.0041f4ab
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 0x41f3f9
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 0x41f39c
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x41f3df
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x41f3b3
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x41f3ce
test al, 0x40
je 0x41f3c5
mov ecx, dword [edi + 0x20]
jmp 0x41f3cc
test al, 0x80
je 0x41f3df
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x41f3df
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 0x41f36b
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x43aca2
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov ebx, dword [ebp + 8]
cmp dword [ebx], 0xe
jne 0x43acda
mov ebx, dword [ebp + 8]
mov dword [ebx], 0xd
mov dword [ebp - 4], 1
jmp 0x43ae68
mov ebx, dword [ebp + 8]
cmp dword [ebx], 0x21
jl 0x43acf9
mov ebx, dword [ebp + 8]
cmp dword [ebx], 0x2f
jg 0x43acf9
mov eax, 1
jmp 0x43acfb
xor eax, eax
test eax, eax
je 0x43ad0f
mov dword [ebp - 4], 1
jmp 0x43ae68
mov ebx, dword [ebp + 8]
cmp dword [ebx], 0x5b
jl 0x43ad2e
mov ebx, dword [ebp + 8]
cmp dword [ebx], 0x5e
jg 0x43ad2e
mov eax, 1
jmp 0x43ad30
xor eax, eax
test eax, eax
je 0x43ad44
mov dword [ebp - 4], 1
jmp 0x43ae68
mov ebx, dword [ebp + 8]
cmp dword [ebx], 0x6f
jne 0x43ad5c
mov dword [ebp - 4], 1
jmp 0x43ae68
mov ebx, dword [ebp + 8]
cmp dword [ebx], 0x90
jne 0x43ad77
mov dword [ebp - 4], 1
jmp 0x43ae68
mov ebx, dword [ebp + 8]
cmp dword [ebx], 0x89
jne 0x43ad94
mov ebx, dword [ebp + 8]
mov dword [ebx], 0x25
jmp 0x43ae68
mov ebx, dword [ebp + 8]
cmp dword [ebx], 0x8a
jne 0x43adb1
mov ebx, dword [ebp + 8]
mov dword [ebx], 0x26
jmp 0x43ae68
mov ebx, dword [ebp + 8]
cmp dword [ebx], 0x8b
jne 0x43adce
mov ebx, dword [ebp + 8]
mov dword [ebx], 0x27
jmp 0x43ae68
mov ebx, dword [ebp + 8]
cmp dword [ebx], 0x8c
jne 0x43adeb
mov ebx, dword [ebp + 8]
mov dword [ebx], 0x28
jmp 0x43ae68
mov ebx, dword [ebp + 8]
cmp dword [ebx], 0x3a
jne 0x43ae05
mov ebx, dword [ebp + 8]
mov dword [ebx], 0x2d
jmp 0x43ae68
mov ebx, dword [ebp + 8]
cmp dword [ebx], 0x3b
jne 0x43ae1f
mov ebx, dword [ebp + 8]
mov dword [ebx], 0x2e
jmp 0x43ae68
mov ebx, dword [ebp + 8]
cmp dword [ebx], 0x3c
jne 0x43ae39
mov ebx, dword [ebp + 8]
mov dword [ebx], 0x21
jmp 0x43ae68
mov ebx, dword [ebp + 8]
cmp dword [ebx], 0x3d
jne 0x43ae53
mov ebx, dword [ebp + 8]
mov dword [ebx], 0x23
jmp 0x43ae68
mov ebx, dword [ebp + 8]
cmp dword [ebx], 0x3e
jne 0x43ae68
mov ebx, dword [ebp + 8]
mov dword [ebx], 0x24
mov dword [ebp - 0xc], esp
push 0
mov eax, 0x76
call fcn.0043bc85
cmp dword [ebp - 0xc], esp
je 0x43ae8c
push 6
call fcn.0043bc7f
add esp, 4
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push dword [ebp - 8]
push 0
mov ebx, dword [ebp + 8]
push dword [ebx]
mov eax, 0x77
call fcn.0043bc85
cmp dword [ebp - 0xc], esp
je 0x43aebb
push 6
call fcn.0043bc7f
add esp, 4
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
mov eax, dword [ebp - 4]
jmp 0x43aec8
mov esp, ebp
pop ebp
ret 0xc
Function at 0x445d70
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a38ab
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.004982c5
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x445df2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00496214
mov eax, dword [eax]
push 0x4da230
push eax
call fcn.00488fe4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00498550
test bl, bl
je 0x445df2
push 0x4da230
lea ecx, [esp + 0xc]
call fcn.004988e0
push 0x4ddd90
lea ecx, [esp + 0xc]
call fcn.004988e0
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 0x445e2e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00498550
jmp 0x445ef9
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 0x445eb2
lea edx, [esp + 0x7c]
push 0x4ddd8c
push edx
call fcn.00488fe4
add esp, 8
test eax, eax
je 0x445eb2
lea eax, [esp + 0x7c]
push 0x4ddd88
push eax
call fcn.00488fe4
add esp, 8
test eax, eax
je 0x445eb2
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 0x445e42
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.00498550
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 0x447170
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 0x4471d2
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 0x4471e0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a3a0b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4e42a0]
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 0x447318
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x447246
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00498550
xor eax, eax
jmp 0x44738f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0049868d
push esi
lea ecx, [esp + 0xc]
call fcn.0049891c
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 0x44736d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.00447170
test eax, eax
jne 0x44736d
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.00447170
test eax, eax
jne 0x44736d
lea eax, [esp + 0x14]
push 0x4ddda4
push eax
call fcn.0048a060
mov esi, eax
add esp, 8
test esi, esi
jne 0x44734c
lea ecx, [esp + 0x14]
push 0x4ddda0
push ecx
call fcn.00489fe0
mov esi, eax
add esp, 8
test esi, esi
jne 0x44734c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x44734f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0049863d
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x44725e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00498550
xor eax, eax
jmp 0x44738f
mov byte [esi], 0
push 0x4ddd9c
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.00498550
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