joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43e2b0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46b7b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.004644b0
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0043dc50
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.004643de
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.00460ca2
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.00460ca2
push 1
push 0
push 0
mov ecx, esi
call fcn.00460c4a
push 1
push 0
push 1
mov ecx, esi
call fcn.00460c4a
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00464522
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x43e430
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46b7d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.004644b0
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0043dc50
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.004643de
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x43e4f4
cmp dword [esp + 0x40], 1
jne 0x43e4f2
cmp ecx, eax
jge 0x43e4f4
mov eax, ecx
cmp eax, 0xc8
jge 0x43e500
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0043e2b0
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00464522
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x43ec80
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46b843
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0045f0c2
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.00464758
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00465c74
test eax, eax
je 0x43ed9c
mov ecx, dword [esp + 0x3c]
call fcn.00464785
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x43ed60
push edi
mov ecx, esi
call fcn.00461de9
mov ecx, esi
call fcn.0043ef00
cmp dword [esp + 0x38], 1
jne 0x43ed95
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.00461f24
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x4417c0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4417f3
push esi
call fcn.004448b0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4417ec
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x441879
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x441862
mov eax, dword [esi + 8]
test eax, eax
je 0x441817
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x44185e
cmp eax, 2
je 0x441862
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44180a
cmp eax, 3
je 0x44183d
cmp eax, 1
jne 0x44180a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x44180a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44180a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004418a0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x441888
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004418a0
add esp, 4
pop esi
ret

Function at 0x45feb8
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x45fef0
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0045df6c
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0045df44
jmp 0x45fefc
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4615a6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4615e8
call fcn.0046705f
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4615e8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4615df
xor eax, eax
jmp 0x4615f0
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004615f6
pop edi
pop esi
pop ebx
ret 4

Function at 0x46758f
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4675bd
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4675db
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004674f5
jmp 0x4675db
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4675db
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004674f5
test edi, edi
mov eax, edi
jne 0x4675c5
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x678250
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1b2000]
push edi
or ebp, 0xffffffff
jmp 0x678272
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x678279
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x678268
mov eax, 1
add ebx, ebx
jne 0x67828b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x67829c
jne 0x6782bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6782bb
dec eax
add ebx, ebx
jne 0x6782a8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x678280
add ebx, ebx
jne 0x6782b7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x67830d
xor ecx, ecx
sub eax, 3
jb 0x6782d3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x678342
sar eax, 1
mov ebp, eax
jmp 0x6782de
add ebx, ebx
jne 0x6782de
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6782ac
inc ecx
add ebx, ebx
jne 0x6782ec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6782ac
add ebx, ebx
jne 0x6782f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x6782ee
jne 0x67830a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x6782ee
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x67832c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x67831e
jmp 0x67826e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x67832c
add edi, ecx
jmp 0x67826e
pop esi
mov edi, esi
mov ecx, 0x3ca1
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x67834a
cmp byte [edi], 0x1e
jne 0x67834a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x67834f
lea edi, [esi + 0x275000]
mov eax, dword [edi]
or eax, eax
je 0x6783c7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x27e6bc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x27e7e8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x67837c
mov ecx, edi
jns 0x6783ab
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x27e7ec]
or eax, eax
je 0x6783c1
mov dword [ebx], eax
add ebx, 4
jmp 0x678399
call dword [esi + 0x27e7fc]
mov ebp, dword [esi + 0x27e7f0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x6783fb
sub esp, 0xffffff80
jmp 0x46f452
Function at 0x4095d6
Capabilities:
Create thread

Disassembly:
mov eax, 0x425157
call fcn.0040dc60
push ecx
push ecx
push ebx
push esi
push edi
mov esi, ecx
lea eax, [esi + 0x158]
push 0x8001fa0
xor edi, edi
push eax
mov dword [ebp - 0x14], edi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
test eax, eax
jne 0x40960e
mov dword [ebp - 0x10], 0x8007000e
jmp 0x409700
xor ebx, ebx
inc ebx
cmp dword [esi + 0x10], edi
mov dword [ebp - 0x14], ebx
jne 0x409640
push 0x118
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0x10], eax
cmp eax, edi
mov dword [ebp - 4], edi
je 0x409637
mov ecx, eax
call fcn.00405335
jmp 0x409639
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov dword [esi + 0x10], eax
mov ecx, dword [esi + 0x10]
cmp ecx, edi
je 0x409602
call fcn.0040f3fa
cmp eax, edi
mov dword [ebp - 0x10], eax
jl 0x409700
cmp dword [esi + 0xc], edi
jne 0x40968a
push 0x20
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0x10], eax
cmp eax, edi
mov dword [ebp - 4], ebx
je 0x409677
mov ecx, eax
call fcn.00413932
jmp 0x409679
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov ecx, esi
mov dword [esi + 0xc], eax
call fcn.00407af5
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], edi
jl 0x409700
push edi
push edi
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateEventW]
push edi
call ebx
cmp eax, edi
mov dword [esi + 0x170], eax
jne 0x4096ac
mov dword [ebp - 0x10], 0x8007000e
cmp dword [ebp - 0x10], edi
jl 0x409700
push edi
push edi
push edi
push edi
call ebx
cmp eax, edi
mov dword [esi + 0x174], eax
jne 0x4096c8
mov dword [ebp - 0x10], 0x8007000e
cmp dword [ebp - 0x10], edi
jl 0x409700
push 0x10
call dword [sym.imp.ole32.dll_CoTaskMemAlloc]
cmp eax, edi
mov dword [esi + 0x178], eax
je 0x409602
mov dword [eax], edi
mov eax, dword [esi + 0x178]
mov dword [eax + 4], edi
mov eax, dword [esi + 0x178]
mov dword [eax + 8], edi
mov eax, dword [esi + 0x178]
mov dword [eax + 0xc], edi
lea eax, [esi + 0x17c]
push eax
push edi
push esi
push 0x40928e
push edi
push edi
call dword [sym.imp.msvcrt.dll__beginthreadex]
add esp, 0x18
cmp eax, edi
mov dword [esi + 0x154], eax
jne 0x40972a
mov dword [ebp - 0x10], 0x8007000e
cmp dword [ebp - 0x10], edi
jge 0x4097a1
cmp dword [ebp - 0x14], edi
je 0x409741
lea eax, [esi + 0x158]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea ebx, [esi + 0x170]
mov eax, dword [ebx]
cmp eax, edi
je 0x409756
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx], edi
lea ebx, [esi + 0x174]
mov eax, dword [ebx]
cmp eax, edi
je 0x40976b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx], edi
lea ebx, [esi + 0x178]
mov eax, dword [ebx]
cmp eax, edi
je 0x409780
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov dword [ebx], edi
mov ecx, dword [esi + 0xc]
cmp ecx, edi
je 0x409790
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 0xc], edi
mov ecx, dword [esi + 0x10]
cmp ecx, edi
je 0x4097a1
push 1
call fcn.004053f0
mov dword [esi + 0x10], edi
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x41221d
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x4257d4
call fcn.0040dc60
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
xor edi, edi
mov dword [esi], 0x4022a0
mov dword [ebp - 4], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], edi
xor ebx, ebx
inc ebx
lea ecx, [esi + 0x34]
mov byte [ebp - 4], bl
call fcn.00414a10
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x2c], edi
mov dword [esi + 8], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 4], ebx
mov dword [esi + 0x20], ebx
pop edi
mov dword [esi + 0x30], 0xffff
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x413f7f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
push ebx
push esi
mov esi, ecx
or dword [esi], 0xffffffff
lea eax, [esi + 4]
push eax
push 0x402680
xor ebx, ebx
push 0x402724
lea eax, [ebp - 0x410]
push 0x400
push eax
mov dword [ebp - 0xc], ebx
mov byte [ebp - 0x10], bl
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
call sub.msvcrt.dll__snprintf
add esp, 0x14
lea eax, [ebp - 0xc]
push eax
push 0x20019
push ebx
lea eax, [ebp - 0x410]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41409d
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push 0x4026cc
push dword [ebp - 0xc]
mov dword [ebp - 8], 4
mov dword [ebp - 4], ebx
call edi
test eax, eax
jne 0x41401e
cmp dword [ebp - 4], ebx
setne al
mov dword [esi + 0x38], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push 0x4026e4
push dword [ebp - 0xc]
mov dword [ebp - 8], 4
call edi
test eax, eax
jne 0x414046
cmp dword [ebp - 4], ebx
setne al
mov dword [esi + 0x3c], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push 0x4026fc
push dword [ebp - 0xc]
mov dword [ebp - 8], 4
call edi
test eax, eax
jne 0x41406e
cmp dword [ebp - 4], ebx
setne al
mov dword [esi + 0x40], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push 0x402710
push dword [ebp - 0xc]
mov dword [ebp - 8], 4
call edi
test eax, eax
pop edi
jne 0x414094
mov eax, dword [ebp - 4]
mov dword [esi + 0x48], eax
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esi + 0x38], ebx
jne 0x4140ac
cmp dword [esi + 0x3c], ebx
jne 0x4140ac
cmp dword [esi + 0x40], ebx
je 0x4140af
xor ebx, ebx
inc ebx
mov dword [esi + 0x44], ebx
pop esi
pop ebx
leave
ret
Function at 0x4140b6
Capabilities:
Print debug messages

Disassembly:
push ebp
lea ebp, [esp - 0x64]
sub esp, 0x280
push ebx
xor eax, eax
push esi
push edi
mov esi, ecx
xor ebx, ebx
mov ecx, 0x80
lea edi, [ebp - 0x21b]
mov byte [ebp - 0x21c], bl
rep stosd dword es:[edi], eax
push 0x14
pop ecx
lea edi, [ebp - 0x17]
mov byte [ebp + 0x3c], bl
mov byte [ebp - 0x18], bl
rep stosd dword es:[edi], eax
lea edi, [ebp + 0x3d]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp + 0x6c]
cmp eax, 0x10000
je 0x41412e
cmp eax, 0x100000
je 0x414127
cmp eax, 0x1000000
je 0x414120
cmp eax, 0x10000000
je 0x414119
mov edi, 0x40278c
jmp 0x414133
mov edi, 0x402784
jmp 0x414133
mov edi, 0x40277c
jmp 0x414133
mov edi, 0x402774
jmp 0x414133
mov edi, 0x40276c
lea eax, [ebp + 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [ebp + 0x70]
cmp eax, ebx
je 0x41415c
cmp byte [eax], bl
je 0x41415c
push eax
push 0x402764
lea eax, [ebp - 0x18]
push 0x50
push eax
call sub.msvcrt.dll__snprintf
add esp, 0x10
mov eax, dword [ebp + 0x74]
cmp eax, ebx
je 0x414178
push dword [eax]
lea eax, [ebp + 0x3c]
push 0x402758
push 0x14
push eax
call sub.msvcrt.dll__snprintf
add esp, 0x10
lea eax, [ebp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
movzx eax, word [ebp + 0x62]
push eax
movzx eax, word [ebp + 0x60]
push eax
movzx eax, word [ebp + 0x5e]
push eax
movzx eax, word [ebp + 0x5c]
push eax
push edi
lea eax, [ebp - 0x18]
push eax
lea eax, [esi + 4]
push eax
push 0x40272c
mov edi, 0x200
lea eax, [ebp - 0x21c]
push edi
push eax
call sub.msvcrt.dll__snprintf
add esp, 0x30
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push dword [ebp + 0x7c]
sub edi, eax
push dword [ebp + 0x78]
lea eax, [ebp + eax - 0x21c]
push edi
push eax
call sub.msvcrt.dll__vsnprintf
add esp, 0x10
push 0x401d28
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
cmp dword [esi + 0x38], ebx
je 0x414204
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [esi + 0x3c], ebx
jne 0x41420e
cmp dword [esi + 0x40], ebx
je 0x414229
mov esi, dword [esi]
cmp esi, 0xffffffff
je 0x414229
lea eax, [ebp - 0x21c]
push eax
mov eax, dword [ebp + 0x6c]
or eax, 1
push eax
push esi
call sub.rtutils.dll_TracePutsExA
pop edi
pop esi
pop ebx
add ebp, 0x64
leave
ret 0x14
Function at 0x4103a0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x46b67b
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.00460076
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x410422
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0045df8d
mov eax, dword [eax]
push 0x4811c0
push eax
call fcn.00450df4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00460301
test bl, bl
je 0x410422
push 0x4811c0
lea ecx, [esp + 0xc]
call fcn.00460691
push 0x484d3c
lea ecx, [esp + 0xc]
call fcn.00460691
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 0x41045e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00460301
jmp 0x410529
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 0x4104e2
lea edx, [esp + 0x7c]
push 0x484d38
push edx
call fcn.00450df4
add esp, 8
test eax, eax
je 0x4104e2
lea eax, [esp + 0x7c]
push 0x484d34
push eax
call fcn.00450df4
add esp, 8
test eax, eax
je 0x4104e2
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 0x410472
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.00460301
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 0x410d20
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 0x410d82
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 0x410d90
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x46b6fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x48b1e0]
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 0x410ec8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x410df6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00460301
xor eax, eax
jmp 0x410f3f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0046043e
push esi
lea ecx, [esp + 0xc]
call fcn.004606cd
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 0x410f1d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push 0x80000000
call fcn.00410d20
test eax, eax
jne 0x410f1d
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 0x80000000
mov ecx, edi
call fcn.00410d20
test eax, eax
jne 0x410f1d
lea eax, [esp + 0x14]
push str.__1_
push eax
call fcn.00451f00
mov esi, eax
add esp, 8
test esi, esi
jne 0x410efc
lea ecx, [esp + 0x14]
push 0x484d4c
push ecx
call fcn.00451e80
mov esi, eax
add esp, 8
test esi, esi
jne 0x410efc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x410eff
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004603ee
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x410e0e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00460301
xor eax, eax
jmp 0x410f3f
mov byte [esi], 0
push 0x484d48
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.00460301
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