joyce8/EMBER2024-capa huggingface dataset:
Function at 0x428b80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49d05b
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x4c1bd8]
xor eax, esp
mov dword [esp + 0xa4], eax
push esi
push edi
mov eax, dword [0x4c1bd8]
xor eax, esp
push eax
lea eax, [esp + 0xb4]
mov dword fs:[0], eax
xor edi, edi
push 0x58
lea eax, [esp + 0x1c]
push edi
push eax
mov esi, ecx
mov dword [esp + 0x20], edi
call fcn.00454ce0
push 0x3e
lea edx, [esp + 0x82]
xor ecx, ecx
push edi
push edx
mov word [esp + 0x88], cx
call fcn.00454ce0
mov eax, dword [esi + 4]
add esp, 0x18
push edi
push edi
push 0x31
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x14]
push ecx
push 0x5c
push eax
mov dword [esp + 0xc8], edi
call dword [sym.imp.GDI32.dll_GetObjectW]
lea edx, [esp + 0x30]
push edx
push 0x40
lea eax, [esp + 0x78]
push eax
call fcn.0040d2b0
mov dword [esp + 0x14], 0xfffffff3
call fcn.004130f0
lea ecx, [esp + 0xc]
test eax, eax
je 0x428c80
push 0x106
push ecx
mov ecx, esi
call fcn.00427a90
mov edx, dword [eax]
push edx
push 0x40
lea eax, [esp + 0x38]
push eax
call fcn.0040d2b0
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x428c74
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esi + 0x7cc], 1
jmp 0x428cbc
push 0x105
push ecx
mov ecx, esi
call fcn.00427a90
mov edx, dword [eax]
push edx
push 0x40
lea eax, [esp + 0x38]
push eax
call fcn.0040d2b0
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x428cbc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [sym.imp.GDI32.dll_CreateFontIndirectW]
lea ecx, [esp + 0x14]
push ecx
call edi
lea edx, [esp + 0x14]
push edx
mov dword [esi + 0x4d4], eax
mov dword [esp + 0x18], 0xffffffef
call edi
mov dword [esi + 0x4d8], eax
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x18], 0xffffffef
call edi
lea ecx, [esp + 0x14]
push ecx
mov dword [esi + 0x4dc], eax
mov dword [esp + 0x18], 0xfffffff1
mov dword [esp + 0x28], 0x2bc
call edi
mov dword [esi + 0x4d0], eax
mov ecx, dword [esp + 0xb4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.00454cc7
add esp, 0xb4
ret
Function at 0x429c90
Capabilities:
Read file via mapping

Disassembly:
push esi
mov esi, ecx
call fcn.00429c60
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
push 0
push 0
push eax
push 0
push 0
push 0xc0000000
push ecx
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 8], eax
cmp eax, 0xffffffff
jne 0x429cd1
xor eax, eax
pop esi
ret 8
mov edx, dword [esi + 0x10]
push edi
push 0
push edx
push 0
push 4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov edi, eax
test edi, edi
jne 0x429d08
mov eax, dword [esi + 8]
cmp eax, 0xffffffff
je 0x429d3d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov dword [esi + 8], 0xffffffff
xor eax, eax
pop esi
ret 8
mov eax, dword [esi + 0x10]
push eax
push 0
push 0
push 6
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0xc], eax
call edi
cmp dword [esi + 0xc], 0
jne 0x429d44
mov eax, dword [esi + 8]
cmp eax, 0xffffffff
je 0x429d3d
push eax
call edi
mov dword [esi + 8], 0xffffffff
pop edi
xor eax, eax
pop esi
ret 8
pop edi
mov eax, 1
pop esi
ret 8

Function at 0x42a0a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx eax, word [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
push 0xa
push eax
push ebp
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
xor edi, edi
cmp ebx, edi
jne 0x42a0ca
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret 8
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
je 0x42a0c1
push ebx
push ebp
mov dword [esi + 0x30], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push edi
xor ecx, ecx
push edi
mov dword [esi + 0x24], ecx
mov ecx, dword [esi]
mov edx, dword [ecx + 0x10]
push edi
push esi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x20], eax
call edx
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
ret 8
Function at 0x42a3c0
Capabilities:
Get disk size

Disassembly:
sub esp, 0x2c
mov eax, dword [0x4c1bd8]
xor eax, esp
mov dword [esp + 0x28], eax
push esi
push edi
mov edi, dword [esp + 0x38]
test edi, edi
je 0x42a52f
movzx esi, word [edi]
xor eax, eax
cmp ax, si
je 0x42a52f
mov eax, edi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42a3f0
sub eax, edx
sar eax, 1
add eax, 0xfffffffc
cmp eax, 0x60
ja 0x42a52f
cmp si, 0x61
jb 0x42a417
cmp si, 0x7a
jbe 0x42a42b
cmp si, 0x41
jb 0x42a52f
cmp si, 0x5a
ja 0x42a52f
cmp word [edi + 2], 0x3a
jne 0x42a52f
cmp word [edi + 4], 0x5c
jne 0x42a52f
mov eax, 0x2a
mov ecx, 0x2f
mov edx, 0x3a
mov word [esp + 0x14], ax
mov word [esp + 0x10], cx
mov word [esp + 0x12], dx
mov eax, 0x3c
mov ecx, 0x3f
mov edx, 0x22
mov word [esp + 0x1a], ax
xor eax, eax
mov word [esp + 0x16], cx
mov word [esp + 0x18], dx
mov ecx, 0x3e
mov edx, 0x7c
push ebx
mov word [esp + 0x24], ax
mov word [esp + 0x20], cx
mov word [esp + 0x22], dx
lea ebx, [edi + 6]
xor esi, esi
mov eax, 0x2f
push eax
push ebx
call fcn.00453ab2
add esp, 8
test eax, eax
jne 0x42a51b
movzx eax, word [esp + esi*2 + 0x16]
inc esi
test ax, ax
jne 0x42a4a3
mov cx, word [edi]
xor eax, eax
push eax
mov word [esp + 0x2c], cx
mov edx, 0x3a
push eax
lea ecx, [esp + 0x14]
mov word [esp + 0x32], dx
push ecx
lea edx, [esp + 0x34]
push edx
mov word [esp + 0x3c], ax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x42a51b
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push 0
push 0x100000
push eax
push ecx
call fcn.00455420
pop ebx
cmp eax, 0x12c
pop edi
setge al
pop esi
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00454cc7
add esp, 0x2c
ret
pop ebx
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00454cc7
add esp, 0x2c
ret
mov ecx, dword [esp + 0x30]
pop edi
pop esi
xor ecx, esp
xor al, al
call fcn.00454cc7
add esp, 0x2c
ret

Function at 0x42b5d0
Capabilities:
Set registry value

Disassembly:
mov edx, dword [esp + 4]
push 4
lea eax, [esp + 0xc]
push eax
mov eax, dword [ecx]
push 4
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 8

Function at 0x42b5f0
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, ecx
test esi, esi
jne 0x42b604
pop edi
lea eax, [esi + 0xd]
pop esi
ret 0xc
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
lea eax, [eax + eax + 2]
push eax
mov eax, dword [edi]
push esi
push ecx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
ret 0xc
Function at 0x42b630
Capabilities:
Set registry value

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
mov dword [esp + 4], ecx
test ebp, ebp
jne 0x42b646
lea eax, [ebp + 0xd]
pop ebp
pop ecx
ret 8
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push edi
xor edi, edi
mov esi, ebp
push esi
call ebx
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x42b653
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
push edi
push ebp
push 7
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
pop ebp
pop ecx
ret 8

Function at 0x42c070
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x224
mov eax, dword [0x4c1bd8]
xor eax, esp
mov dword [esp + 0x220], eax
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
mov ebx, ecx
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
lea esi, [esp + 0x14]
push esi
xor edi, edi
or eax, 0x2001f
push eax
push edi
push edx
push ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [esp + 0xc]
mov esi, eax
cmp esi, edi
jne 0x42c0e6
xor eax, eax
cmp ecx, edi
je 0x42c0d4
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x10], edi
mov esi, eax
mov dword [esp + 0xc], ecx
cmp eax, edi
je 0x42c0f4
cmp ecx, edi
je 0x42c192
push ecx
jmp 0x42c18c
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [esp + 0x20]
push eax
push edi
push edi
push edi
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x3c]
push eax
push edi
push ecx
mov dword [esp + 0x38], 0x100
call esi
test eax, eax
jne 0x42c15c
lea esp, [esp]
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x10]
call fcn.0042c070
mov dword [esp + 0x14], eax
cmp eax, edi
jne 0x42c1ab
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x10]
push edi
push edi
push edi
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x3c]
push ecx
push edi
push edx
mov dword [esp + 0x38], 0x100
call esi
test eax, eax
je 0x42c120
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x42c16f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xc], edi
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebx]
push eax
push ecx
mov dword [esp + 0x18], edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x42c192
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.00454cc7
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esp + 0xc]
cmp ecx, edi
je 0x42c194
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x22c]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00454cc7
mov esp, ebp
pop ebp
ret 4
Function at 0x42c590
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
sub esp, 0x228
mov eax, dword [0x4c1bd8]
xor eax, esp
mov dword [esp + 0x224], eax
push ebx
push esi
push edi
lea eax, [esp + 0x14]
push eax
xor ebx, ebx
push 1
push ebx
push str.SYSTEMCurrentControlSetControlSession_Manager
xor edi, edi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x30], edi
mov dword [esp + 0x28], ebx
xor esi, esi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x20], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42c777
mov eax, dword [esp + 0x14]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [esp + 0x10]
push ecx
push ebx
lea edx, [esp + 0x28]
push edx
push ebx
push str.PendingFileRenameOperations
push eax
mov dword [esp + 0x38], 7
mov dword [esp + 0x28], ebx
call edi
mov eax, dword [esp + 0x10]
cmp eax, ebx
jbe 0x42c65c
add eax, 0xa
push eax
call fcn.00455759
add esp, 4
mov dword [esp + 0xc], eax
cmp eax, ebx
je 0x42c65c
mov ecx, dword [esp + 0x10]
add ecx, 0xa
push ecx
mov esi, eax
push ebx
push esi
call fcn.00454ce0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
add esp, 0xc
shr eax, 1
lea edx, [esp + 0x10]
push edx
push esi
mov dword [esp + 0x20], eax
lea eax, [esp + 0x28]
push eax
push ebx
push str.PendingFileRenameOperations
push ecx
call edi
lea esi, [ebx + 1]
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
je 0x42c74a
cmp dword [esp + 0x18], ebx
jbe 0x42c74a
push ebp
lea ebx, [ebx]
mov eax, dword [esp + 0x10]
lea esi, [eax + ebx*2]
lea edi, [esi + 8]
push edi
mov dword [esp + 0x2c], 0
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x36]
push edx
mov ebp, eax
mov word [esp + 0x38], cx
call fcn.00454ce0
mov eax, 0x5c
add esp, 0xc
cmp ax, word [esi]
jne 0x42c6e6
push str.relocate.exe
push ebp
call fcn.004550e9
add esp, 8
test eax, eax
jne 0x42c6e6
push edi
push 0x208
lea ecx, [esp + 0x34]
push ecx
lea ebp, [eax + 1]
call fcn.0040d2b0
jmp 0x42c6ea
mov ebp, dword [esp + 0x28]
mov eax, esi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42c6f0
mov edi, dword [esp + 0x1c]
sub eax, edx
sar eax, 1
lea edx, [ebx + eax + 1]
cmp edx, edi
jae 0x42c749
mov eax, dword [esp + 0x10]
lea eax, [eax + edx*2]
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42c715
sub eax, esi
sar eax, 1
test ebp, ebp
je 0x42c72c
test eax, eax
je 0x42c73a
lea ebx, [edx + eax + 1]
cmp ebx, edi
jb 0x42c680
jmp 0x42c749
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [esp + 0x20], eax
pop ebp
mov eax, dword [esp + 0xc]
test eax, eax
je 0x42c75b
push eax
call fcn.00455602
add esp, 4
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x224]
xor ecx, esp
call fcn.00454cc7
add esp, 0x228
ret
mov ecx, dword [esp + 0x230]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00454cc7
add esp, 0x228
ret
Function at 0x42f9b4
Capabilities:
Create process on windows

Disassembly:
sub esp, 0xc
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x54]
mov ecx, eax
and ecx, 0xc
push edi
mov bl, 1
cmp cl, 0xc
jne 0x42fa0d
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_GetDlgCtrlID]
push eax
mov dword [esp + 0x10], eax
call edi
mov edx, dword [esi + 4]
push edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0xfffffffe
call edi
mov edi, eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetParent]
lea ecx, [esp + 0xc]
push ecx
push edi
push 0x4e
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
mov al, bl
pop ebx
add esp, 0xc
ret
shr eax, 2
test al, 1
je 0x42fa47
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edi, eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetParent]
mov ecx, dword [esi + 4]
push ecx
movzx edx, di
push edx
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
mov al, bl
pop ebx
add esp, 0xc
ret
mov eax, dword [esi + 0x28]
push 1
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
seta bl
test bl, bl
je 0x42fa7a
mov ecx, dword [esi + 4]
or byte [esi + 0x58], 2
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
mov al, bl
pop ebx
add esp, 0xc
ret
Function at 0x42ff40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x408]
sub esp, 0x408
push 0xffffffffffffffff
push 0x49d3b0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x4c1bd8]
xor eax, ebp
mov dword [ebp + 0x404], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x410]
mov edi, dword [ebp + 0x414]
mov ebx, dword [ebp + 0x418]
xor edx, edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 4], edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], edx
mov dword [ebp], edx
push 2
push edx
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
jne 0x42ffc2
call fcn.0042b380
mov edi, eax
jmp 0x4300a4
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x42ffdb
call fcn.0042b380
jmp 0x43009b
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x14], ebx
test ebx, ebx
jne 0x42fff6
call fcn.0042b380
jmp 0x43009b
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
lea eax, [edi + 1]
mov dword [ebp - 0x18], edi
cmp eax, edi
jae 0x43002c
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x43001a
lea ecx, [ebp]
call fcn.0042bf80
lea ecx, [ebp - 0x20]
call fcn.0042bda0
mov eax, 0x8007000e
jmp 0x4300b6
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 2
call fcn.0042ced0
mov dword [ebp - 4], 1
jmp 0x430058
mov eax, dword [ebp]
test eax, eax
jne 0x430066
mov edi, 0x8007000e
jmp 0x43009d
push edi
push eax
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x43007f
call fcn.0042b380
jmp 0x43009b
mov edx, dword [ebp]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [ebp + 0x41c]
mov ecx, dword [ebp]
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.0042e3e0
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea edx, [ebp + 4]
cmp dword [ebp], edx
je 0x4300b4
lea ecx, [ebp]
call fcn.0042bf80
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x404]
xor ecx, ebp
call fcn.00454cc7
add ebp, 0x408
mov esp, ebp
pop ebp
ret 0x10
Function at 0x430e10
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x49d4f3
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4c1bd8]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
xor edi, edi
mov dword [esi + 4], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x20], eax
or eax, 0xffffffff
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x24], ecx
mov dword [esi + 0x28], edx
mov dword [esi + 0x3c], edi
and dword [esi + 0x44], 0xfffffff8
mov dword [esi + 0x40], edi
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi], vtable.CPngCheckBox.0
mov eax, dword [0x4c44d8]
mov edx, dword [eax + 0xc]
mov ecx, 0x4c44d8
mov dword [esp + 0x1c], edi
lea ebx, [esi + 0x5c]
call edx
add eax, 0x10
mov dword [ebx], eax
push edi
push 0x4b6cbc
mov ecx, ebx
mov byte [esp + 0x24], 1
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], 0xffffff
call fcn.0040df70
mov dword [esi + 0x60], edi
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 8
Function at 0x4346f0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x90
mov eax, dword [0x4c1bd8]
xor eax, esp
mov dword [esp + 0x8c], eax
push esi
lea eax, [esp + 4]
push eax
push 1
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, dword [esp + 4]
test esi, esi
je 0x434790
xor ecx, ecx
push 0x7e
push ecx
lea edx, [esp + 0x1a]
push edx
mov dword [esp + 0x18], 1
mov word [esp + 0x1c], cx
call fcn.00454ce0
add esp, 0xc
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
push 0
push str.CurrentVersion
push esi
mov dword [esp + 0x20], 0x80
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x10]
push ecx
call fcn.004573bb
fstp dword [esp + 8]
add esp, 4
jmp 0x43479a
fld dword [0x4a4aac]
fstp dword [esp + 4]
mov ecx, dword [esp + 0x90]
fld dword [esp + 4]
pop esi
xor ecx, esp
call fcn.00454cc7
add esp, 0x90
ret

Function at 0x4347c0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x98
mov eax, dword [0x4c1bd8]
xor eax, esp
mov dword [esp + 0x94], eax
push esi
push edi
lea eax, [esp + 8]
push eax
push 1
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
mov esi, ecx
mov dword [esp + 0x1c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, dword [esp + 8]
test edi, edi
je 0x4348a7
xor ecx, ecx
push 0x7e
push ecx
lea edx, [esp + 0x26]
push edx
mov dword [esp + 0x18], 1
mov word [esp + 0x28], cx
call fcn.00454ce0
add esp, 0xc
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x14]
push edx
push 0
push str.CurrentVersion
push edi
mov dword [esp + 0x30], 0x80
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x1c]
push ecx
call fcn.004573bb
fstp dword [esp + 0x18]
mov edx, dword [esi + 0x48]
push edx
call fcn.004574f4
fstp dword [esp + 0x18]
mov eax, dword [esi + 0x4c]
push eax
call fcn.004574f4
fstp st(0)
fld dword [esp + 0x1c]
add esp, 0xc
fld dword [esp + 0x14]
fcompp
fnstsw ax
test ah, 1
jne 0x4348a7
pop edi
mov al, 1
pop esi
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.00454cc7
add esp, 0x98
ret
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
xor ecx, esp
xor al, al
call fcn.00454cc7
add esp, 0x98
ret
Function at 0x4348c0
Capabilities:
Delete file

Disassembly:
sub esp, 0x240
mov eax, dword [0x4c1bd8]
xor eax, esp
mov dword [esp + 0x23c], eax
xor eax, eax
push edi
mov edi, dword [esp + 0x248]
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov word [esp + 0x20], ax
mov eax, edi
mov dword [esp + 4], 0
lea edx, [eax + 2]
jmp 0x434910
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x434910
sub eax, edx
push esi
sar eax, 1
mov esi, eax
xor eax, eax
push 0x21a
push eax
lea ecx, [esp + 0x32]
push ecx
mov word [esp + 0x34], ax
call fcn.00454ce0
add esp, 0xc
cmp esi, 0x104
pop esi
jbe 0x434960
or eax, 0xffffffff
pop edi
mov ecx, dword [esp + 0x23c]
xor ecx, esp
call fcn.00454cc7
add esp, 0x240
ret 4
push 0x104
lea edx, [esp + 0x28]
push edi
push edx
call fcn.00455578
add esp, 0xc
lea edx, [esp + 4]
lea eax, [esp + 0x24]
mov ecx, 0x614
push edx
mov dword [esp + 0x10], eax
mov word [esp + 0x18], cx
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], 3
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ecx, dword [esp + 0x240]
pop edi
xor ecx, esp
call fcn.00454cc7
add esp, 0x240
ret 4

Function at 0x4349c0
Capabilities:
Get disk information via ioctl

Disassembly:
sub esp, 0x24
mov eax, dword [0x4c1bd8]
xor eax, esp
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x28]
and eax, 0xffdf
push ebx
xor ebx, ebx
lea ecx, [eax - 0x41]
push ebp
mov ebp, dword [esp + 0x34]
mov dword [esp + 8], ebx
cmp cx, 0x19
ja 0x434a9c
mov edx, dword [str..X:]
mov ecx, dword [0x4a4ab4]
push esi
push ebx
push ebx
push 3
push ebx
mov dword [esp + 0x2c], edx
mov edx, dword [0x4a4ab8]
push 3
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], ecx
mov cx, word [0x4a4abc]
push SysReAllocString
lea edx, [esp + 0x34]
push edx
mov word [esp + 0x44], cx
mov word [esp + 0x40], ax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
xor eax, eax
cmp esi, 0xffffffff
je 0x434a88
push edi
push ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x14]
push eax
push 0xc
lea ecx, [esp + 0x20]
push ecx
push ebx
push ebx
push 0x2d1080
push esi
mov dword [esp + 0x34], ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, ebx
pop edi
je 0x434a86
cmp ebp, ebx
je 0x434a81
mov edx, dword [esp + 0x14]
mov dword [ebp], edx
mov ebx, 1
mov eax, ebx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00454cc7
add esp, 0x24
ret 8
mov ecx, dword [esp + 0x28]
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00454cc7
add esp, 0x24
ret 8