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

Disassembly:
sub esp, 0x208
lea eax, [esp]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
push ebp
push esi
push edi
xor edi, edi
push 0x104
push eax
push edi
push SysStringLen
call ebx
mov esi, dword [esp + 0x21c]
mov ebp, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0xde2ffb
mov ecx, dword [esi + 8]
push 0
push ecx
call ebp
test eax, eax
je 0xde3035
lea edx, [esp + 0x10]
push esi
push edx
push SysStringLen
call fcn.00de2e00
add esp, 0xc
lea eax, [esp + 0x10]
inc edi
push 0x104
push eax
push edi
push SysStringLen
call ebx
test eax, eax
je 0xde2fc5
mov edi, 0xdfd8b0
mov ecx, dword [esi + 8]
push 0
push ecx
call ebp
test eax, eax
je 0xde3035
mov edx, dword [edi]
push esi
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00de2e00
add edi, 4
add esp, 0xc
cmp edi, 0xdfd8c0
jb 0xde3000
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x208
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x208
ret

Function at 0xde3070
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x250
push esi
push edi
mov edi, dword [esp + 0x25c]
push 0x5c
push edi
call fcn.00de9082
mov esi, eax
add esp, 8
test esi, esi
je 0xde3107
lea eax, [esp + 8]
mov word [esi], 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0xde3102
push ebx
lea ebx, [esi + 2]
push ebp
lea ecx, [esp + 0x3c]
push ebx
push ecx
call fcn.00de8946
add esp, 8
test eax, eax
je 0xde30e3
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea edx, [esp + 0x10]
push edx
push edi
call ebp
test eax, eax
je 0xde30e8
lea eax, [esp + 0x3c]
push ebx
push eax
call fcn.00de8946
add esp, 8
test eax, eax
jne 0xde30c5
mov word [esi], 0x5c
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp word [esi], 0
pop ebp
pop ebx
je 0xde3102
pop edi
mov al, 1
pop esi
add esp, 0x250
ret
mov word [esi], 0x5c
pop edi
xor al, al
pop esi
add esp, 0x250
ret
Function at 0xde3f10
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0xdf89fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, dword [esp + 0x2c]
xor ebp, ebp
mov dword [esp + 0x10], eax
xor ebx, ebx
mov eax, 1
mov ecx, ebx
shl eax, cl
mov ecx, dword [esp + 0x10]
test ecx, eax
je 0xde4002
lea edx, [ebx + 0x41]
lea eax, [esp + 0x14]
push edx
push str._c:_
push eax
call fcn.00de7dff
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0xde4002
lea edx, [esp + 0x14]
push edx
push str.Mounting__s_n
call fcn.00ddf6e0
lea eax, [esp + 0x1c]
lea edi, [esi + 0x1048]
push eax
push edi
mov word [esp + 0x28], bp
call fcn.00de820b
push 0x10
call fcn.00de81d3
add esp, 0x14
mov dword [esp + 0x2c], eax
cmp eax, ebp
mov dword [esp + 0x24], ebp
je 0xde3fc5
mov cx, word [edi]
push ecx
mov ecx, eax
call fcn.00dd41c0
jmp 0xde3fc7
xor eax, eax
push esi
mov dword [esp + 0x28], 0xffffffff
mov dword [esi], eax
call fcn.00de3b80
mov edi, dword [esi]
add esp, 4
cmp edi, ebp
je 0xde3ff0
mov ecx, edi
call fcn.00dd42c0
push edi
call fcn.00de81c8
add esp, 4
mov edx, dword [esi + 0x1024]
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0xde4021
inc ebx
cmp ebx, 0x20
jb 0xde3f3e
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0xde5250
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xdf9808
push 0xde9288
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], ebx
xor esi, esi
mov dword [ebp - 0x20], esi
mov byte [ebp - 0x24], bl
mov dword [ebp - 4], ebx
mov byte [ebp - 0x34], bl
mov byte [ebp - 0x33], bl
mov byte [ebp - 0x32], bl
mov byte [ebp - 0x31], bl
mov byte [ebp - 0x30], bl
mov byte [ebp - 0x2f], 5
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x12
push 1
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0xde5329
lea edx, [ebp - 0x28]
push edx
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0xde5329
mov dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x2c]
push eax
push ebx
push ebx
push 1
mov ecx, dword [ebp - 0x28]
push ecx
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
call edi
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00de81d3
add esp, 4
mov esi, eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x20], esi
cmp esi, ebx
je 0xde5329
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
push esi
push 1
mov edx, dword [ebp - 0x28]
push edx
call edi
test eax, eax
je 0xde5329
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [esi]
push ecx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x24], al
jmp 0xde532c
mov al, byte [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.00de5351
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0xde5d20
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 0xde5d58
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 0xde5d60
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 0xde5d94
mov eax, dword [esp + 0x14]
test eax, eax
je 0xde5d94
push eax
push esi
call fcn.00de820b
add esp, 8
pop esi
ret 0x10

Function at 0xde5da0
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 0xde5e22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0xde5e15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0xdfe320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00de7dff
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 0xde5dda
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 0xde5e30
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 0xde5ec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0xde5eb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0xdfe320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00de7dff
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 0xde5eab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0xde5e6a
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 0xde6000
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 0xde6131
push esi
call fcn.00de9145
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.00dd8080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0xde6131
push 0
push ebp
call fcn.00dd83a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.00dd8260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0xde608b
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.00dd82f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0xde6121
push 0xdfe918
push edi
call fcn.00de73f0
push eax
push ebx
push esi
call fcn.00de5f60
push 0xdfe8f8
push edi
call fcn.00de73f0
push eax
push ebx
push esi
call fcn.00de5f60
push 0xdfe8d8
push edi
call fcn.00de73f0
push eax
push ebx
push esi
call fcn.00de5f60
push 0xdfe8c0
push edi
call fcn.00de73f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.00de5f60
push 0xdfe8a0
push edi
call fcn.00de73f0
push eax
push ebx
push esi
call fcn.00de5f60
push 0xdfe888
push edi
call fcn.00de73f0
push eax
push ebx
push esi
call fcn.00de5f60
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 0xde71b0
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.00de7140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00de7140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00de7140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00de7140
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 0xde7bfa
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 0xde7c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0xdf987c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0xde7c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0xde7c52
xor eax, eax
pop esi
leave
ret 4
Function at 0x4014ff
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x44b4e8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, ecx
push 0xc35
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
test edi, edi
je 0x401565
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.0042f640
add esp, 0xc
push 0x400
lea eax, [ebp - 0x804]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x401565
add esi, 0x10
lea eax, [ebp - 0x804]
call fcn.0040158f
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0042f583
leave
ret
Function at 0x4022b6
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
xor ebx, ebx
push str.advapi32.dll
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov byte [esi + 0x18], bl
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, ebx
mov dword [esi + 0x1c], eax
je 0x402352
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.RegCreateKeyExW
push eax
call edi
push str.RegQueryValueW
push dword [esi + 0x1c]
mov dword [esi], eax
call edi
push str.RegSetValueW
push dword [esi + 0x1c]
mov dword [esi + 4], eax
call edi
push str.RegQueryValueExW
push dword [esi + 0x1c]
mov dword [esi + 8], eax
call edi
push str.RegSetValueExW
push dword [esi + 0x1c]
mov dword [esi + 0xc], eax
call edi
push str.RegCloseKey
push dword [esi + 0x1c]
mov dword [esi + 0x10], eax
call edi
cmp dword [esi], ebx
mov dword [esi + 0x14], eax
pop edi
je 0x402352
cmp dword [esi + 4], ebx
je 0x402352
cmp dword [esi + 8], ebx
je 0x402352
cmp dword [esi + 0xc], ebx
je 0x402352
cmp dword [esi + 0x10], ebx
je 0x402352
cmp eax, ebx
je 0x402352
mov byte [esi + 0x18], 1
mov eax, esi
pop ebx
ret

Function at 0x403918
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push ebx
push esi
push 0x44
mov esi, eax
xor ebx, ebx
lea eax, [ebp - 0x5c]
push ebx
push eax
call fcn.0042f640
push 0x10
lea eax, [ebp - 0x14]
push ebx
push eax
mov dword [ebp - 0x5c], 0x44
call fcn.0042f640
add esp, 0x18
cmp dword [esi + 0x18], 8
mov dword [ebp - 0x30], 1
mov word [ebp - 0x2c], 5
jb 0x40395e
mov esi, dword [esi + 4]
jmp 0x403961
add esi, 4
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 8
jb 0x40396f
mov eax, dword [eax + 4]
jmp 0x403972
add eax, 4
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x5c]
push ecx
push esi
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x40399e
cmp dword [ebp - 0x14], ebx
je 0x40399a
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x4039a0
xor al, al
pop esi
pop ebx
leave
ret 4
Function at 0x4047ff
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x44b4e8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor edi, edi
cmp dword [eax + 0x18], 8
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], edi
jb 0x404828
mov eax, dword [eax + 4]
jmp 0x40482b
add eax, 4
lea ecx, [ebp - 0x24]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, eax
cmp ebx, edi
jne 0x404840
xor al, al
jmp 0x404888
cmp dword [ebp - 0x24], edi
jle 0x404874
mov eax, dword [ebx + edi*4]
lea ecx, [ebp - 0x20]
call fcn.00401573
cmp dword [ebp - 0xc], 0
je 0x404862
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x28]
call fcn.004048d8
push 0
push 1
lea esi, [ebp - 0x20]
call fcn.00401140
inc edi
cmp edi, dword [ebp - 0x24]
jl 0x404845
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x28]
call fcn.004010a2
test eax, eax
setne al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042f583
leave
ret 4
Function at 0x406bf8
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b8
mov eax, dword [0x44b4e8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 8
jb 0x406c19
mov eax, dword [eax + 4]
jmp 0x406c1c
add eax, 4
push 0x100
push 0x2b4
lea ecx, [ebp - 0x2b8]
push ecx
push 0
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x406c43
mov eax, dword [ebp - 0x2b8]
mov dword [esi + 0x18], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042f583
leave
ret 4

Function at 0x4092e7
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x29c
mov eax, dword [0x44b4e8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
push 0x27f4
mov dword [ebp - 0x25c], edi
call fcn.00404e34
lea ecx, [ebp - 0x250]
call fcn.0040f87b
cmp dword [ebp - 0x238], 8
mov eax, dword [ebp - 0x24c]
jae 0x40932f
lea eax, [ebp - 0x24c]
mov esi, dword [sym.imp.USER32.dll_SetWindowTextW]
push eax
push dword [edi + 4]
call esi
push 0x20a
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0042f640
add esp, 0xc
push 0x3ec
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
mov dword [ebp - 0x258], eax
je 0x4093aa
push eax
call ebx
test eax, eax
je 0x4093aa
push 0x104
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x258]
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x4093aa
and word [ebp - 0x10], 0
lea esi, [edi + 0x298]
lea eax, [ebp - 0x218]
call fcn.0040158f
jmp 0x4093d3
push dword [ebp - 0x258]
call ebx
test eax, eax
je 0x4093d3
lea eax, [edi + 0x298]
cmp dword [eax + 0x18], 8
jb 0x4093c7
mov eax, dword [eax + 4]
jmp 0x4093ca
add eax, 4
push eax
push dword [ebp - 0x258]
call esi
add edi, 0x298
lea ecx, [ebp - 0x278]
call fcn.0040b7a7
push 0xffffffffffffffff
push edi
xor ebx, ebx
call fcn.004010b8
push ebx
push 1
lea esi, [ebp - 0x278]
call fcn.00401140
push 0x44016c
push edi
call fcn.0040c35d
mov ebx, dword [ebp - 0x25c]
cmp byte [ebx + 0x90], 0
pop ecx
pop ecx
je 0x409502
cmp dword [ebx + 0x88], 0
je 0x409502
lea ecx, [ebx + 0x74]
mov eax, edi
call fcn.0040c1ce
test eax, eax
je 0x409502
lea esi, [ebp - 0x298]
call fcn.004022b6
lea eax, [ebx + 0x324]
lea esi, [ebp - 0x234]
call fcn.00401083
call fcn.0040c400
push 0x25
push 0x3a
call fcn.0040c2e2
push 0x25
push 0x5c
call fcn.0040c2e2
mov ebx, str.SoftwareHaoZip_SFX
add esp, 0x10
mov eax, ebx
lea ecx, [ebp - 0x278]
call fcn.00401573
lea eax, [ebp - 0x278]
lea esi, [ebp - 0x298]
call fcn.00402365
push 0
push 1
lea esi, [ebp - 0x278]
mov byte [ebp - 0x251], al
call fcn.00401140
cmp byte [ebp - 0x251], 0
je 0x4094e8
mov eax, ebx
lea ecx, [ebp - 0x278]
call fcn.00401573
lea eax, [ebp - 0x234]
push eax
mov ecx, edi
lea eax, [ebp - 0x278]
lea esi, [ebp - 0x298]
call fcn.0040249b
push 0
push 1
lea esi, [ebp - 0x278]
call fcn.00401140
push 0
push 1
lea esi, [ebp - 0x234]
call fcn.00401140
lea eax, [ebp - 0x298]
call fcn.00402356
push 0
push 1
lea esi, [ebp - 0x250]
call fcn.00401140
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042f583
leave
ret
Function at 0x40b69d
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x398]
sub esp, 0x418
mov eax, dword [0x44b4e8]
xor eax, ebp
mov dword [ebp + 0x394], eax
push esi
push edi
xor edi, edi
push 0x40e
lea eax, [ebp - 0x7a]
push edi
push eax
mov esi, ecx
mov word [ebp - 0x7c], di
call fcn.0042f640
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
push dword [ebp + 0x3a0]
mov dword [ebp - 0x80], edi
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
je 0x40b6f0
xor al, al
jmp 0x40b729
lea eax, [ebp - 0x7c]
push eax
push dword [ebp - 0x80]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
jne 0x40b711
cmp dword [ebp - 0x80], edi
je 0x40b6ec
push dword [ebp - 0x80]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x40b6ec
lea eax, [ebp - 0x7c]
call fcn.0040158f
cmp dword [ebp - 0x80], edi
je 0x40b727
push dword [ebp - 0x80]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov al, 1
mov ecx, dword [ebp + 0x394]
pop edi
xor ecx, ebp
pop esi
call fcn.0042f583
add ebp, 0x398
leave
ret

Function at 0x40b740
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
push 0x38
xor esi, esi
lea eax, [ebp - 0x38]
push esi
push eax
call fcn.0042f640
add esp, 0xc
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], esi
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], str.regedit
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], 1
mov dword [ebp - 4], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
pop esi
je 0x40b7a3
push 0x20
pop eax
cmp eax, dword [ebp - 0x1c]
sbb eax, eax
neg eax
leave
ret
xor al, al
leave
ret
Function at 0x40b7a7
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x44b4e8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 1
lea eax, [ebp - 0x24]
mov esi, ecx
push eax
xor eax, eax
mov ecx, edi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], 0x25
call fcn.00404a77
cmp eax, 0xffffffff
mov eax, edi
jne 0x40b7e6
call fcn.00401083
mov eax, esi
jmp 0x40b882
lea esi, [ebp - 0x20]
call fcn.00401083
cmp dword [edi + 0x18], 8
lea eax, [edi + 4]
mov dword [ebp - 0x2c], eax
jb 0x40b7fc
mov eax, dword [eax]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push 0
push 0
push eax
call ebx
mov esi, eax
test esi, esi
jne 0x40b814
mov eax, edi
jmp 0x40b86a
xor ecx, ecx
push 2
pop edx
lea eax, [esi + 2]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0042f341
cmp dword [edi + 0x18], 8
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x2c]
pop ecx
jb 0x40b83a
mov eax, dword [eax]
lea ecx, [esi + 1]
push ecx
push dword [ebp - 0x24]
push eax
call ebx
test eax, eax
jbe 0x40b85e
cmp eax, esi
ja 0x40b85e
mov ecx, dword [ebp - 0x24]
and word [ecx + eax*2], 0
mov eax, ecx
lea esi, [ebp - 0x20]
call fcn.0040158f
push dword [ebp - 0x24]
call fcn.0042fd12
pop ecx
lea eax, [ebp - 0x20]
mov esi, dword [ebp - 0x28]
call fcn.00401083
push 0
push 1
lea esi, [ebp - 0x20]
call fcn.00401140
mov eax, dword [ebp - 0x28]
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0042f583
leave
ret