joyce8/EMBER2024-capa huggingface dataset:
Function at 0x824d20
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
mov dword [esp + 0x1c], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x824d58
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi], ecx
mov dword [esi + 4], edx
pop esi
pop ecx
ret 0x10

Function at 0x824d60
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x824d94
mov eax, dword [esp + 0x14]
test eax, eax
je 0x824d94
push eax
push esi
call fcn.0082720b
add esp, 8
pop esi
ret 0x10

Function at 0x824da0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x24
lea eax, [esp + 0x28]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x824e22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0x824e15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0x83d320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00826dff
mov ecx, dword [esp + 0x44]
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push edi
push 0
push 0
push eax
push ecx
call ebp
inc esi
add edi, 4
cmp esi, ebx
jb 0x824dda
pop edi
pop ebp
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
add esp, 0x24
ret 0xc

Function at 0x824e30
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x28
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x824ec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0x824eb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0x83d320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00826dff
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x40]
push eax
push 0
push 0
push ecx
push edx
call edi
test eax, eax
jne 0x824eab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0x824e6a
pop edi
pop ebx
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
add esp, 0x28
ret 0xc
Function at 0x825000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x825131
push esi
call fcn.00828145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.00817080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0x825131
push 0
push ebp
call fcn.008173a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.00817260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0x82508b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.008172f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x825121
push 0x83d918
push edi
call fcn.008263f0
push eax
push ebx
push esi
call fcn.00824f60
push 0x83d8f8
push edi
call fcn.008263f0
push eax
push ebx
push esi
call fcn.00824f60
push 0x83d8d8
push edi
call fcn.008263f0
push eax
push ebx
push esi
call fcn.00824f60
push 0x83d8c0
push edi
call fcn.008263f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.00824f60
push 0x83d8a0
push edi
call fcn.008263f0
push eax
push ebx
push esi
call fcn.00824f60
push 0x83d888
push edi
call fcn.008263f0
push eax
push ebx
push esi
call fcn.00824f60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x8261b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00826140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00826140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00826140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00826140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x826bfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x826c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x83887c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x826c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x826c52
xor eax, eax
pop esi
leave
ret 4
Function at 0x15c0210
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.015c0360
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x15c0236
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x15c0222
add dl, dl
jne 0x15c0241
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x15c0294
xor eax, eax
add dl, dl
jne 0x15c024e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x15c0335
add dl, dl
jne 0x15c025d
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x15c0268
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x15c0273
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x15c027e
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x15c028a
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x15c022d
mov eax, 1
add dl, dl
jne 0x15c02a2
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x15c02ad
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x15c0299
sub eax, ebx
mov ebx, 1
jne 0x15c02e0
mov ecx, 1
add dl, dl
jne 0x15c02c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x15c02d1
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x15c02bd
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x15c022d
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x15c02f7
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x15c0302
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x15c02ee
cmp eax, 0x7d00
jae 0x15c0325
cmp eax, 0x500
jb 0x15c0320
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x15c022d
cmp eax, 0x7f
ja 0x15c0328
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x15c022d
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x15c0356
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x15c022d
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x10004670
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x3e7398
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
push edi
mov edi, ecx
mov dword [esp + 8], 0
lea eax, [esp + 0xc]
mov dword [esp + 0x24], 0
push eax
call dword [0x3e8258]
mov esi, dword [esp + 0x30]
test esi, esi
je 0x100046b3
mov eax, dword [esi]
jmp 0x100046b5
xor eax, eax
mov ecx, dword [edi]
lea edx, [esp + 0xc]
push edx
mov edx, dword [esp + 0x38]
push edx
push eax
push edi
call dword [ecx + 0x74]
test eax, eax
jge 0x100046d6
push 0x3eea48
push edi
push eax
call fcn.1000e7d4
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, edi
test esi, esi
mov dword [eax], ecx
mov ecx, dword [esp + 0x14]
mov word [esp + 0xc], 0
mov dword [eax + 4], edx
mov edx, dword [esp + 0x18]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
je 0x10004736
lea eax, [esi + 8]
push eax
call dword [0x3e8230]
test eax, eax
jne 0x10004736
mov eax, dword [esi]
test eax, eax
je 0x1000471d
push eax
call dword [0x3e824c]
mov eax, dword [esi + 4]
test eax, eax
je 0x1000472d
push eax
call fcn.1000f32c
add esp, 4
push esi
call fcn.1000f32c
add esp, 4
mov ecx, dword [esp + 0x1c]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc

Function at 0x100048d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x3e73d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
push edi
mov edi, ecx
mov dword [esp + 8], 0
lea eax, [esp + 0xc]
mov dword [esp + 0x24], 0
push eax
call dword [0x3e8258]
mov esi, dword [esp + 0x30]
test esi, esi
je 0x10004913
mov eax, dword [esi]
jmp 0x10004915
xor eax, eax
mov ecx, dword [edi]
lea edx, [esp + 0xc]
push edx
push eax
push edi
call dword [ecx + 0x6c]
test eax, eax
jge 0x10004931
push 0x3eea48
push edi
push eax
call fcn.1000e7d4
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, edi
test esi, esi
mov dword [eax], ecx
mov ecx, dword [esp + 0x14]
mov word [esp + 0xc], 0
mov dword [eax + 4], edx
mov edx, dword [esp + 0x18]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
je 0x10004991
lea eax, [esi + 8]
push eax
call dword [0x3e8230]
test eax, eax
jne 0x10004991
mov eax, dword [esi]
test eax, eax
je 0x10004978
push eax
call dword [0x3e824c]
mov eax, dword [esi + 4]
test eax, eax
je 0x10004988
push eax
call fcn.1000f32c
add esp, 4
push esi
call fcn.1000f32c
add esp, 4
mov ecx, dword [esp + 0x1c]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 8
Function at 0x40f345
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, ebx
stc
jb 0x40fbaa
add byte [edi], dl
add byte [ecx - 0x66], dl
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub eax, 0x55f04789
pushal
stc
jb 0x40df1e
fist dword [ecx]
stosd dword es:[edi], eax
pop ebp
idiv byte [esi + 0x686ae500]
push eax
jb 0x40f3ca
arpl word [eax - 0x7fc17], dx
dec dword [ebp]
adc al, 0
add byte [edi + 0x46], bl
or byte [ecx], dl
push ecx
add byte [ecx + 0x21], dl
xlatb
sbb al, 0xf3
invalid
add ecx, dword [ecx + 0x3c]
stc
jb 0x40de56
jg 0x40fb8b
dec edx
leave
xor al, 0xa1
hlt

Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
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 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
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 + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x40810b
sub esp, 0xffffff80
jmp 0x402130
Function at 0x45a530
Capabilities:
Hide graphical window
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov dword [0x48b7af], ebp
push 0x7f00
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov esi, 0x45a190
mov dword [0x4902d7], eax
mov dword [0x4902eb], eax
push edi
mov edi, dword [ebp + 8]
mov dword [0x4902d3], edi
mov dword [0x4902c7], esi
mov eax, 0x31
dec eax
mov dword [0x4902bf], eax
xor eax, eax
push esi
mov esi, eax
mov dword [0x4902cb], eax
mov dword [0x4902cf], esi
mov dword [0x4902df], 0xf
mov dword [0x48b7ab], edi
mov dword [0x4902c3], 2
push 0x7f00
push eax
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [0x4902db], eax
lea eax, str.toyota
mov dword [0x4902e7], eax
mov eax, 0x4902bf
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
push 0x65
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_LoadMenuA]
push 0
push dword [0x48b7ab]
push 0
push 0
push 0x249
push 0x2cb
push 0x190
push 0x12c
push 0xcf0000
push str.ginozavre
push str.toyota
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [0x49033b], eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x49033b]
call dword [sym.imp.USER32.dll_UpdateWindow]
xor edi, edi
lea ebx, [0x4902ef]
jmp 0x45a635
push ebx
call dword [sym.imp.USER32.dll_TranslateMessage]
push ebx
call dword [sym.imp.USER32.dll_DispatchMessageW]
push edi
push edi
push edi
push ebx
call dword [sym.imp.USER32.dll_GetMessageW]
test al, al
jne 0x45a627
mov eax, dword [0x4902f7]
call fcn.0045a4b0
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x47ad6b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x490c00]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00479db2
and dword [ebp - 0x14], 0
cmp dword [0x491d1c], 0
mov dword [ebp - 0x18], eax
jne 0x47ae1e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x47aec6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x47aec6
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x491d1c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x491d20], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x491d24], eax
call edi
push eax
call esi
mov dword [0x491d2c], eax
test eax, eax
je 0x47ae1e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x491d28], eax
mov eax, dword [0x491d28]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x47ae77
cmp dword [0x491d2c], ecx
je 0x47ae77
push eax
call esi
push dword [0x491d2c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x47ae77
test ebx, ebx
je 0x47ae77
call edi
test eax, eax
je 0x47ae6e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x47ae6e
test byte [ebp - 8], 1
jne 0x47ae77
or dword [ebp + 0x10], 0x200000
jmp 0x47aeaa
mov eax, dword [0x491d20]
cmp eax, dword [ebp - 0x18]
je 0x47aeaa
push eax
call esi
test eax, eax
je 0x47aeaa
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x47aeaa
mov eax, dword [0x491d24]
cmp eax, dword [ebp - 0x18]
je 0x47aeaa
push eax
call esi
test eax, eax
je 0x47aeaa
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x491d1c]
call esi
test eax, eax
je 0x47aec6
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x47aec8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047b0d6
leave
ret

Function at 0x47b0d6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x490c00]
jne 0x47b0e0
repz ret
jmp fcn.0047c176
Function at 0x445fb0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x508efb
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.004fd562
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x446032
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004fb1d9
mov eax, dword [eax]
push 0x1426d4c
push eax
call fcn.004e1564
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004fd7ed
test bl, bl
je 0x446032
push 0x1426d4c
lea ecx, [esp + 0xc]
call fcn.004fdb7d
push 0x1426d58
lea ecx, [esp + 0xc]
call fcn.004fdb7d
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 0x44606e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004fd7ed
jmp 0x446139
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 0x4460f2
lea edx, [esp + 0x7c]
push 0x1426d54
push edx
call fcn.004e1564
add esp, 8
test eax, eax
je 0x4460f2
lea eax, [esp + 0x7c]
push 0x1426d50
push eax
call fcn.004e1564
add esp, 8
test eax, eax
je 0x4460f2
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 0x446082
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.004fd7ed
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 0x446940
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 0x4469a2
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 0x4469b0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x508f7b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x1452768]
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 0x446ae8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x446a16
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004fd7ed
xor eax, eax
jmp 0x446b5f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004fd92a
push esi
lea ecx, [esp + 0xc]
call fcn.004fdbb9
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 0x446b3d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00446940
test eax, eax
jne 0x446b3d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.00446940
test eax, eax
jne 0x446b3d
lea eax, [esp + 0x14]
push 0x1426d68
push eax
call fcn.004e26b0
mov esi, eax
add esp, 8
test esi, esi
jne 0x446b1c
lea ecx, [esp + 0x14]
push 0x1426d64
push ecx
call fcn.004e2630
mov esi, eax
add esp, 8
test esi, esi
jne 0x446b1c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x446b1f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004fd8da
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x446a2e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004fd7ed
xor eax, eax
jmp 0x446b5f
mov byte [esi], 0
push 0x1426d60
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.004fd7ed
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