joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5c16c0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x29c]
mov dword [ebp - 4], eax
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x29c], 0
mov dword [ebp - 0x270], 0
mov eax, 1
lea edx, [ebp - 0x268]
lea ecx, [ebp - 0x250]
call fcn.0040ec10
call fcn.00410830
push eax
test eax, eax
jne 0x5c1864
mov dword [ebp - 8], 0
lea edx, [ebp - 0x270]
mov eax, dword [ebp - 4]
call fcn.0042cd20
cmp dword [ebp - 0x270], 0
je 0x5c1864
lea edx, [ebp - 0x244]
mov eax, dword [ebp - 4]
call fcn.0040c080
push 0
push 2
call fcn.005c1bb0
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
je 0x5c1864
mov eax, 1
lea edx, [ebp - 0x294]
lea ecx, [ebp - 0x27c]
call fcn.0040ec10
call fcn.00410830
push eax
test eax, eax
jne 0x5c184d
lea eax, [ebp - 0x238]
mov cl, 0
mov edx, 0x22c
call fcn.00403e70
mov dword [ebp - 0x238], 0x22c
lea eax, [ebp - 0x238]
push eax
push dword [ebp - 0xc]
call fcn.005c1bc0
or eax, eax
setne al
mov byte [ebp - 0x23c], al
jmp 0x5c1840
cmp dword [ebp - 0x230], 0
je 0x5c1826
lea eax, [ebp - 0x29c]
push eax
lea eax, [ebp - 0x214]
mov cl, 1
mov edx, 0x103
call fcn.0040c620
mov eax, dword [ebp - 0x29c]
lea edx, [ebp - 0x240]
call fcn.0042be70
mov ecx, 4
mov edx, dword [ebp - 0x244]
mov eax, dword [ebp - 0x240]
call dword [0x6ec20c]
test eax, eax
sete al
test al, al
je 0x5c1826
mov eax, dword [ebp - 0x230]
call fcn.005c1680
test al, al
je 0x5c1826
add dword [ebp - 8], 1
lea eax, [ebp - 0x238]
push eax
push dword [ebp - 0xc]
call fcn.005c1bd0
or eax, eax
setne al
mov byte [ebp - 0x23c], al
cmp byte [ebp - 0x23c], 0
jne 0x5c17c0
call fcn.0040ee90
push dword [ebp - 0xc]
call sub.kernel32.dll_CloseHandle
pop eax
test eax, eax
je 0x5c1864
call fcn.0040efc0
call fcn.0040ee90
lea eax, [ebp - 0x29c]
call fcn.0040bf00
lea eax, [ebp - 0x270]
call fcn.004044b0
lea eax, [ebp - 0x240]
call fcn.0040bf00
lea eax, [ebp - 0x244]
call fcn.0040bf00
pop eax
test eax, eax
je 0x5c189f
call fcn.0040efc0
mov eax, dword [ebp - 8]
leave
ret
Function at 0x5c18b0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x298]
push ebx
mov dword [ebp - 4], eax
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x294], 0
mov eax, 1
lea edx, [ebp - 0x264]
lea ecx, [ebp - 0x24c]
call fcn.0040ec10
call fcn.00410830
push eax
test eax, eax
jne 0x5c1a1c
push 0
push 2
call fcn.005c1bb0
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
setne byte [ebp - 8]
cmp byte [ebp - 8], 0
je 0x5c1a1c
mov eax, 1
lea edx, [ebp - 0x28c]
lea ecx, [ebp - 0x274]
call fcn.0040ec10
call fcn.00410830
push eax
test eax, eax
jne 0x5c1a05
lea eax, [ebp - 0x238]
mov cl, 0
mov edx, 0x22c
call fcn.00403e70
mov dword [ebp - 0x238], 0x22c
lea eax, [ebp - 0x238]
push eax
push dword [ebp - 0xc]
call fcn.005c1bc0
or eax, eax
setne al
mov byte [ebp - 0x23c], al
jmp 0x5c19f8
cmp dword [ebp - 0x230], 0
je 0x5c19de
lea eax, [ebp - 0x294]
push eax
lea eax, [ebp - 0x214]
mov cl, 1
mov edx, 0x103
call fcn.0040c620
mov eax, dword [ebp - 0x294]
lea edx, [ebp - 0x240]
call fcn.0042be70
lea ecx, [ebp - 0x298]
mov eax, dword [ebp - 0x240]
mov dx, 0
call fcn.0040c010
mov edx, dword [ebp - 0x298]
mov ecx, dword [ebp - 0x230]
mov eax, dword [ebp - 4]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
call dword [ebx + 0xa8]
lea eax, [ebp - 0x238]
push eax
push dword [ebp - 0xc]
call fcn.005c1bd0
or eax, eax
setne al
mov byte [ebp - 0x23c], al
cmp byte [ebp - 0x23c], 0
jne 0x5c197c
call fcn.0040ee90
push dword [ebp - 0xc]
call sub.kernel32.dll_CloseHandle
pop eax
test eax, eax
je 0x5c1a1c
call fcn.0040efc0
call fcn.0040ee90
lea eax, [ebp - 0x298]
call fcn.004044b0
lea eax, [ebp - 0x294]
call fcn.0040bf00
lea eax, [ebp - 0x240]
call fcn.0040bf00
pop eax
test eax, eax
je 0x5c1a4c
call fcn.0040efc0
mov al, byte [ebp - 8]
pop ebx
leave
ret

Function at 0x5c55b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 1
push 0
push 0
test eax, eax
jne 0x5c55c2
mov eax, 0x6ec2e0
push eax
mov eax, str.open
push eax
push 0
call sub.shell32.dll_ShellExecuteW
cmp eax, 0x20
seta al
leave
ret
Function at 0x5c5640
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x48]
push ebx
push esi
push edi
mov esi, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x2c], 0
mov eax, 1
lea edx, [ebp - 0x24]
lea ecx, [ebp - 0xc]
call fcn.0040ec10
call fcn.00410830
push eax
test eax, eax
jne 0x5c56f8
push 1
push 0
push 0
mov eax, esi
test esi, esi
jne 0x5c5689
mov eax, 0x6ec2e0
push eax
mov eax, str.open
push eax
push 0
call sub.shell32.dll_ShellExecuteW
mov edi, eax
cmp edi, 0x20
seta bl
test bl, bl
jne 0x5c56f8
push 0
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x44], 0x12
lea edx, [ebp - 0x48]
mov eax, edi
call fcn.00437610
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], 0xb
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], 0
lea edx, [ebp - 0x44]
mov eax, dword [str.Could_not_open_the_following_file:_r_n_r_n_s_r_n_r_nError:__s___d_.]
mov ecx, 2
call fcn.0042e8a0
mov eax, dword [ebp - 0x2c]
mov ecx, 4
mov edx, 0
call fcn.004290d0
call fcn.0040ee90
lea eax, [ebp - 0x48]
call fcn.004044b0
lea eax, [ebp - 0x2c]
call fcn.004044b0
pop eax
test eax, eax
je 0x5c5717
call fcn.0040efc0
mov al, bl
pop edi
pop esi
pop ebx
leave
ret

Function at 0x5c5780
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 1
push 0
push 0
test eax, eax
jne 0x5c5792
mov eax, 0x6ec2e0
push eax
mov eax, str.open
push eax
push 0
call sub.shell32.dll_ShellExecuteW
cmp eax, 0x20
seta al
leave
ret
Function at 0x5db1c0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x23c]
push ebx
push esi
push edi
mov dword [ebp - 0x238], eax
mov bl, dl
mov edi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 0
mov eax, 1
lea edx, [ebp - 0x228]
lea ecx, [ebp - 0x210]
call fcn.0040ec10
call fcn.00410830
push eax
test eax, eax
jne 0x5db371
mov eax, dword [ebp - 0x23c]
mov edx, 0
call fcn.004097c0
lea esi, [ebp - 0x204]
mov al, 0
mov edx, 0x200
mov cl, al
mov eax, esi
call fcn.00404570
mov al, bl
test bl, bl
je 0x5db255
sub al, 1
je 0x5db2b2
sub al, 1
je 0x5db31b
jmp 0x5db371
lea eax, [ebp - 0x204]
push eax
push 0x100
push 0xd
push dword [ebp - 0x238]
call sub.user32.dll_SendMessageW
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x204]
mov cl, 1
mov edx, 0xff
call fcn.0040c620
mov eax, dword [ebp - 0x234]
lea ecx, [ebp - 0x230]
mov dx, 0
call fcn.0040c010
mov edx, dword [ebp - 0x230]
mov eax, dword [ebp - 0x23c]
call fcn.004097c0
jmp 0x5db371
lea eax, [ebp - 4]
push eax
push edi
push 0
lea eax, [ebp - 0x204]
push eax
push 0x100
push 0xd
push dword [ebp - 0x238]
call sub.user32.dll_SendMessageTimeoutW
test eax, eax
je 0x5db371
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x204]
mov cl, 1
mov edx, 0xff
call fcn.0040c620
mov eax, dword [ebp - 0x234]
lea ecx, [ebp - 0x230]
mov dx, 0
call fcn.0040c010
mov edx, dword [ebp - 0x230]
mov eax, dword [ebp - 0x23c]
call fcn.004097c0
jmp 0x5db371
push 0x100
lea eax, [ebp - 0x204]
push eax
push dword [ebp - 0x238]
call sub.user32.dll_GetWindowTextW
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x204]
mov cl, 1
mov edx, 0xff
call fcn.0040c620
mov eax, dword [ebp - 0x234]
lea ecx, [ebp - 0x230]
mov dx, 0
call fcn.0040c010
mov edx, dword [ebp - 0x230]
mov eax, dword [ebp - 0x23c]
call fcn.004097c0
call fcn.0040ee90
lea eax, [ebp - 0x234]
call fcn.0040bf00
lea eax, [ebp - 0x230]
call fcn.004044b0
pop eax
test eax, eax
je 0x5db396
call fcn.0040efc0
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x5dbae0
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x1f4]
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
mov byte [ebp - 0xc], 0
lea eax, [ebp - 0x1a4]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
mov eax, 1
lea edx, [ebp - 0x1c8]
lea ecx, [ebp - 0x1b0]
call fcn.0040ec10
call fcn.00410830
push eax
test eax, eax
jne 0x5dbb76
mov eax, dword [ebp - 4]
test eax, eax
jne 0x5dbb31
mov eax, 0x6ec2e0
push eax
call sub.wsock32.dll_gethostbyname
mov dword [ebp - 0x10], eax
test eax, eax
je 0x5dbb76
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x5dbb76
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
mov dl, byte [edx]
mov byte [eax], dl
mov edx, dword [ebp - 0x14]
mov dl, byte [edx + 1]
mov byte [eax + 1], dl
mov edx, dword [ebp - 0x14]
mov dl, byte [edx + 2]
mov byte [eax + 2], dl
mov edx, dword [ebp - 0x14]
mov dl, byte [edx + 3]
mov byte [eax + 3], dl
mov byte [ebp - 0xc], 1
call fcn.0040ee90
pop eax
test eax, eax
je 0x5dbbc3
mov eax, 1
lea edx, [ebp - 0x1f0]
lea ecx, [ebp - 0x1d8]
call fcn.0040ec10
call fcn.00410830
push eax
test eax, eax
jne 0x5dbbaf
mov eax, dword [ebp - 8]
mov cl, 0
mov edx, 4
call fcn.00403e70
call fcn.0040ee90
pop eax
test eax, eax
je 0x5dbbbe
call fcn.0040f0c0
call fcn.0040f0b0
call sub.wsock32.dll_WSACleanup
mov al, byte [ebp - 0xc]
leave
ret
Function at 0x418010
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x1c
mov eax, dword [0x637b9c]
push ebx
push esi
push edi
mov esi, 0x190
push eax
mov edi, esi
call dword [sym.imp.ole32.dll_RevokeDragDrop]
mov ecx, dword [0x634038]
mov ebx, dword [0x63403c]
mov dword [esp + 0x24], 0
lea eax, [esp + 0x14]
lea edx, [ecx + ecx]
push eax
or edx, ebx
push 0x20019
mov dword [esp + 0x28], edx
push 0
fild qword [esp + 0x2c]
push str.SoftwareMicrosoftWindowsCurrentVersionExplorer
push 0x80000001
fadd qword [0x634050]
fstp qword [0x634050]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4180f0
push ebp
mov ebp, 4
push eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], ebp
call sub.comdlg32.dll_FindTextA
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x18]
push edx
push eax
push 0
push str.Browse_For_Folder_Width
push ecx
call ebx
test eax, eax
jne 0x4180b7
mov edi, dword [esp + 0x1c]
xor esi, esi
lea edx, [esp + 0x10]
lea eax, [esp + 0x20]
push edx
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
push eax
push ecx
push 0
push str.Browse_For_Folder_Height
push edx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebp
call ebx
test eax, eax
pop ebp
jne 0x4180e5
or esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, edi
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x1c
ret
Function at 0x4ed3af
Capabilities:
Parse pe header

Disassembly:
mov edx, edx
mov esi, esi
mov eax, eax
mov ecx, ecx
mov ecx, ecx
mov esi, esi
mov eax, eax
mov eax, eax
mov edx, edx
xor eax, eax
pop esi
pop ebp
ret
push ebp
sub esp, 4
mov dword [esp], edx
mov edx, 0x27c45534
mov dword [esp + 4], edx
pop edx
mov dword [esp], eax
push ebx
mov dword [esp], edx
mov dword [esp], ebx
mov eax, dword [esp]
push edi
mov edi, esp
add edi, 4
add edi, 4
xchg dword [esp], edi
pop esp
push dword [esp]
push dword [esp]
pop eax
add esp, 4
push eax
mov eax, esp
add eax, 4
add al, 0
add byte [eax], al
add al, 0
add byte [eax], al
add eax, 4
xchg dword [esp], eax
pop esp
push 0x3a9940c6
mov dword [esp], ebx
mov dword [esp], 0x3430039c
mov dword [esp], esi
pop dword [0x6379f0]
jmp 0x5539c6
add esp, 4
jmp 0x51bf1d
push ebp
push esp
mov ebp, dword [esp]
add esp, 4
add ebp, 4
sub ebp, 4
xchg dword [esp], ebp
mov esp, dword [esp]
mov dword [esp], edx
push ecx
mov edx, dword [esp]
push ebx
sub esp, 4
mov dword [esp], esp
add dword [esp], 4
pop ebx
add ebx, 4
add ebx, 4
xchg dword [esp], ebx
pop esp
mov edx, dword [esp]
push edx
push esp
pop edx
add edx, 4
push eax
push 4
pop eax
add edx, eax
pop eax
xchg dword [esp], edx
pop esp
sub esp, 4
mov dword [esp], esi
mov esi, esp
push ecx
mov ecx, 4
add esi, ecx
pop ecx
sub esi, 4
xchg dword [esp], esi
pop esp
mov dword [esp], esi
jmp 0x4a7ca6
je 0x4f3b89
jmp 0x5539d0
jne 0x4f3b89
jmp 0x4ed304
push edx
push edx
push 0x5f9cac75
pop edx
mov dword [esp + 4], edx
mov edx, dword [esp]
add esp, 4
mov dword [esp], edx
push eax
mov dword [esp], ecx
push dword [esp]
mov edx, dword [esp]
add esp, 4
add esp, 4
push dword [esp]
pop edx
push edx
mov edx, esp
add edx, 4
add edx, 4
xor edx, dword [esp]
xor dword [esp], edx
xor edx, dword [esp]
mov esp, dword [esp]
push dword [0x6379f0]
mov eax, dword [esp]
push eax
mov eax, esp
add eax, 4
push edi
mov edi, 4
add eax, edi
pop edi
xchg dword [esp], eax
mov esp, dword [esp]
push edi
mov edi, esp
add edi, 4
sub esp, 4
mov dword [esp], ebx
mov ebx, 4
sub edi, ebx
mov ebx, dword [esp]
add esp, 4
xchg dword [esp], edi
pop esp
mov dword [esp], eax
push edi
push eax
mov eax, 0x2dac368f
mov dword [esp + 4], eax
pop eax
mov dword [esp], ebx
mov eax, dword [esp]
add esp, 4
mov eax, dword [esp]
push ebp
mov ebp, esp
push esi
mov esi, 4
add ebp, esi
mov esi, dword [esp]
add esp, 4
push ebx
mov ebx, 4
add ebp, ebx
pop ebx
xchg dword [esp], ebp
pop esp
jmp fcn.0052f9f6
add esi, 0x1000
jmp 0x50144c
cmp esi, 0x7d000000
jmp 0x501457
jb 0x4cc04e
jmp 0x4184ef
test eax, eax
jmp 0x4df3b7
call fcn.00418100
jmp 0x4abd36
cmp word [esi], 0x5a4d
jmp 0x4df3c2
Function at 0x62ad39
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x634458
cmp edx, dword [eax]
je 0x62ad5b
add eax, 8
inc ecx
cmp eax, 0x6344e8
jl 0x62ad4c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x634458]
jne 0x62ae89
mov eax, dword [0x638de0]
cmp eax, 1
je 0x62ae63
test eax, eax
jne 0x62ad8c
cmp dword [0x634380], 1
je 0x62ae63
cmp edx, 0xfc
je 0x62ae89
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x62adc3
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0062b720
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0062bbb0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x62ae06
lea eax, [ebp - 0x1a4]
push eax
call fcn.0062bbb0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x630a44
push edi
call fcn.0062da80
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0062b720
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0062b730
lea eax, [ebp - 0xa0]
push 0x630a24
push eax
call fcn.0062b730
push dword [esi + 0x63445c]
lea eax, [ebp - 0xa0]
push eax
call fcn.0062b730
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0062d9f4
add esp, 0x2c
pop edi
jmp 0x62ae89
lea eax, [ebp + 8]
lea esi, [esi + 0x63445c]
push 0
push eax
push dword [esi]
call fcn.0062bbb0
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 0x10a7370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x10a738e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0x10d0074
push ecx
mov edi, eax
call fcn.010bb198
mov esi, eax
add esp, 8
test esi, esi
jne 0x10a73cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.010bb02e
push esi
call fcn.010bafb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x10aa850
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x218
lea eax, [esp]
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20019
push 0
push ecx
push SysReAllocString
call edi
test eax, eax
jne 0x10aa8ae
mov ecx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push 0x10d5720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x10aa8ba
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x218
ret
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
lea ecx, [esp + 0x1c]
push str.DefaultIcon
push ecx
call fcn.010bb1e1
add esp, 8
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push SysReAllocString
call edi
test eax, eax
jne 0x10aa8ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x10d5720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x10aa92a
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x218
ret
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0x1c]
push 0x2c
push eax
call fcn.010bc082
xor esi, esi
add esp, 8
cmp eax, esi
je 0x10aa957
mov word [eax], si
add eax, 2
push eax
call fcn.010bc030
add esp, 4
jmp 0x10aa959
xor eax, eax
lea ecx, [esp + 0x18]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], esi
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0x10aa8ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0x10aa8b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0x10aaff0
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
int 0x2e
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x10ab080
Capabilities:
Get common file path

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0x10ab0c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0x10d0458
push ecx
call fcn.010bb1e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.010bb1e1
add esp, 0x10
jmp 0x10ab0d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.010bb20b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.010badff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.010ab050
mov eax, dword [0x10d5728]
xor esi, esi
add esp, 0x14
lea edx, [esp + 0x20]
cmp eax, esi
mov dword [esp + 8], 0x18
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], 0x40
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
jne 0x10ab13b
push esi
call fcn.010aafb0
add esp, 4
mov dword [0x10d5728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0x10ab14c
mov ecx, 1
mov edx, dword [esp + 0x458]
push esi
push esi
push 0x20
push ecx
mov ecx, dword [esp + 0x45c]
push ecx
push edx
lea ecx, [esp + 0x40]
push esi
push ecx
mov ecx, dword [esp + 0x468]
lea edx, [esp + 0x28]
or ecx, 0x100000
push edx
lea edx, [esp + 0x28]
push ecx
push edx
push eax
call fcn.010aaff0
mov ecx, dword [esp + 0x34]
add esp, 0x30
neg eax
sbb eax, eax
pop esi
not eax
and eax, ecx
add esp, 0x43c
ret

Function at 0x10ae440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0x10ae4b7
push esi
xor eax, eax
mov ax, word [ecx + 0x14]
xor esi, esi
mov si, word [ecx + 6]
push edi
xor edi, edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0x10ae48e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x10ae471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x10ae47e
add edx, ecx
cmp ebx, edx
jb 0x10ae48a
inc edi
add eax, 0x28
cmp edi, esi
jb 0x10ae467
xor ecx, ecx
jmp 0x10ae4a2
test eax, eax
jne 0x10ae492
xor ecx, ecx
jmp 0x10ae4a2
mov ecx, dword [eax + 0x14]
mov esi, dword [eax + 0xc]
mov eax, dword [esp + 0x10]
sub ecx, esi
add ecx, ebx
add ecx, eax
mov edx, dword [esp + 0x18]
push edx
push 0
push 0
push ecx
push ecx
call fcn.010ae3c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0x10ae8f0
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebx
mov eax, dword [esp + 8]
push ebp
push esi
push edi
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push eax
xor bl, bl
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x10ae921
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 2
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebp, eax
test ebp, ebp
jne 0x10ae946
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 4
push ebp
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
jne 0x10ae96e
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [esp + 0x18]
mov dword [ecx], esi
mov dword [ecx + 4], eax
cmp word [esi], 0x5a4d
jne 0x10ae993
push ecx
push esi
call fcn.010ae4c0
add esp, 8
mov bl, al
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
mov al, bl
pop ebp
pop ebx
ret
Function at 0x10afc00
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
xor ecx, ecx
mov cx, word [eax + 0x14]
xor esi, esi
mov si, word [eax + 6]
push edi
xor edi, edi
lea ecx, [ecx + eax + 0x18]
test esi, esi
jbe 0x10afc4a
mov ebx, dword [esp + 0x10]
mov eax, dword [ecx + 8]
test eax, eax
jne 0x10afc2b
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0xc]
cmp ebx, edx
jb 0x10afc38
add edx, eax
cmp ebx, edx
jb 0x10afc46
inc edi
add ecx, 0x28
cmp edi, esi
jb 0x10afc21
pop edi
pop esi
xor eax, eax
pop ebx
ret
test ecx, ecx
jne 0x10afc50
pop edi
pop esi
xor eax, eax
pop ebx
ret
mov eax, dword [ecx + 0x14]
mov esi, dword [ecx + 0xc]
mov ecx, dword [esp + 0x18]
sub eax, esi
add eax, ebx
pop edi
pop esi
add eax, ecx
pop ebx
ret

Function at 0x10afc70
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
push esi
xor eax, eax
mov ax, word [ecx + 0x14]
xor esi, esi
mov si, word [ecx + 6]
push edi
xor edi, edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0x10afcb0
mov ebx, dword [esp + 0x10]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x10afc9b
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x10afca8
add edx, ecx
cmp ebx, edx
jb 0x10afcb2
inc edi
add eax, 0x28
cmp edi, esi
jb 0x10afc91
xor eax, eax
pop edi
pop esi
pop ebx
ret

Function at 0x10aff60
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x210
push ebp
push esi
push edi
mov edi, dword [esp + 0x224]
push 0
push 0
mov ebp, dword [esp + 0x228]
push 0
push 0
push edi
push 0
push 0
push 0
push 0
push 0
push 0
push ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [edi]
shl eax, 2
push eax
call fcn.010bc145
mov ecx, dword [edi]
add esp, 4
xor esi, esi
mov dword [esp + 0xc], eax
test ecx, ecx
jbe 0x10afffb
push ebx
mov ebx, eax
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push 0
lea edx, [esp + 0x28]
push ecx
push edx
push esi
push ebp
mov dword [esp + 0x34], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x10affdd
lea eax, [esp + 0x18]
push eax
jmp 0x10affe2
push 0x10d5720
call fcn.010bbfd9
add esp, 4
mov dword [ebx], eax
mov eax, dword [edi]
inc esi
add ebx, 4
cmp esi, eax
jb 0x10affb0
mov eax, dword [esp + 0x10]
pop ebx
mov ecx, dword [edi]
push 0x10aff40
push 4
push ecx
push eax
call fcn.010bc43f
mov eax, dword [esp + 0x1c]
add esp, 0x10
pop edi
pop esi
pop ebp
add esp, 0x210
ret