joyce8/EMBER2024-capa huggingface dataset:
Function at 0x480320
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f326d
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x5392a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x70], ecx
push 0
push 0x505554
push 0x50555c
mov ecx, dword [ebp - 0x70]
call fcn.0047f760
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
jne 0x48036f
xor al, al
jmp 0x48047c
lea ecx, [ebp - 0x69]
call fcn.0040b800
push eax
lea ecx, [ebp - 0x60]
call fcn.004148f0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x60]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x70]
call fcn.0047ee30
mov byte [ebp - 0x61], 0
lea ecx, [ebp - 0x6a]
call fcn.0040b800
push eax
lea ecx, [ebp - 0x30]
call fcn.00419000
mov byte [ebp - 4], 1
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x5c]
call fcn.00413e50
push eax
push str.SELECT_value_FROM_cookies_WHERE_host_key_LIKE____ls___AND_name_ls
lea eax, [ebp - 0x30]
push eax
call fcn.004203d0
add esp, 0x10
lea ecx, [ebp - 0x40]
call fcn.0043e430
mov byte [ebp - 4], 2
push 0
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x68]
push eax
mov ecx, dword [ebp - 0x70]
add ecx, 0x24
call fcn.0047e470
movzx ecx, al
test ecx, ecx
je 0x48043d
lea ecx, [ebp - 0x40]
call fcn.0043e500
test eax, eax
je 0x48043d
push 0
lea ecx, [ebp - 0x40]
call fcn.0043e520
mov ecx, eax
call fcn.00422840
test eax, eax
je 0x48043d
mov edx, dword [ebp + 0x10]
push edx
push 0
push 0
lea ecx, [ebp - 0x40]
call fcn.0043e520
mov ecx, eax
call fcn.00441ca0
mov ecx, eax
call fcn.0043e350
mov byte [ebp - 0x61], 1
mov eax, dword [ebp - 0x68]
push eax
mov ecx, dword [ebp - 0x70]
add ecx, 0x24
call fcn.0047e0d0
mov cl, byte [ebp - 0x61]
mov byte [ebp - 0x6b], cl
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.0043e4a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00419100
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
call fcn.00414a10
mov al, byte [ebp - 0x6b]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004489b2
mov esp, ebp
pop ebp
ret 0xc
Function at 0x480630
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f3a59
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x5392a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x50], ecx
mov byte [ebp - 0x31], 0
push 1
push 0x505bec
push 0x505bf8
mov ecx, dword [ebp - 0x50]
call fcn.0047f760
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x480683
xor al, al
jmp 0x480766
lea ecx, [ebp - 0x44]
call fcn.0043e430
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x49]
call fcn.0040b800
push eax
lea ecx, [ebp - 0x30]
call fcn.00419000
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
push eax
push str.SELECT_id_FROM_keywords_WHERE_short_name___ls
lea ecx, [ebp - 0x30]
push ecx
call fcn.004203d0
add esp, 0xc
push 0
lea edx, [ebp - 0x44]
push edx
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x48]
push ecx
mov ecx, dword [ebp - 0x50]
add ecx, 0x24
call fcn.0047e470
mov byte [ebp - 0x31], al
movzx edx, byte [ebp - 0x31]
test edx, edx
je 0x48072f
lea ecx, [ebp - 0x44]
call fcn.0043e500
test eax, eax
je 0x48072f
push 0
lea ecx, [ebp - 0x44]
call fcn.0043e520
mov ecx, eax
call fcn.00422840
test eax, eax
je 0x48072f
mov eax, dword [ebp - 0x48]
push eax
push 0xa
push 0
push 0
lea ecx, [ebp - 0x44]
call fcn.0043e520
mov ecx, eax
call fcn.00441ca0
mov ecx, eax
call fcn.0043e400
push eax
mov ecx, dword [ebp - 0x50]
call fcn.0047fd50
mov byte [ebp - 0x31], al
jmp 0x480733
mov byte [ebp - 0x31], 0
mov ecx, dword [ebp - 0x48]
push ecx
mov ecx, dword [ebp - 0x50]
add ecx, 0x24
call fcn.0047e0d0
mov dl, byte [ebp - 0x31]
mov byte [ebp - 0x4a], dl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00419100
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.0043e4a0
mov al, byte [ebp - 0x4a]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004489b2
mov esp, ebp
pop ebp
ret 4
Function at 0x480d30
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f3b10
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x5392a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x50], ecx
mov ecx, dword [ebp + 0xc]
add ecx, 4
call fcn.0041d350
push 0
push 0x505814
push 0x50581c
mov ecx, dword [ebp - 0x50]
call fcn.0047f760
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jne 0x480d8a
xor al, al
jmp 0x480e78
lea ecx, [ebp - 0x49]
call fcn.0040b800
push eax
lea ecx, [ebp - 0x30]
call fcn.00419000
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.0043e430
mov byte [ebp - 4], 1
push 0
mov ecx, dword [ebp - 0x50]
call fcn.0047fe20
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [ebp + 8]
push ecx
push str.SELECT__s_FROM_keywords_WHERE_id___d
lea edx, [ebp - 0x30]
push edx
call fcn.004203d0
add esp, 0x10
push 0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x44]
push edx
mov ecx, dword [ebp - 0x50]
add ecx, 0x24
call fcn.0047e470
movzx eax, al
test eax, eax
je 0x480e33
lea ecx, [ebp - 0x40]
call fcn.0043e500
test eax, eax
je 0x480e33
push 0
lea ecx, [ebp - 0x40]
call fcn.0043e520
mov ecx, eax
call fcn.00422840
test eax, eax
je 0x480e33
mov ecx, dword [ebp + 0xc]
push ecx
push 0
push 0
lea ecx, [ebp - 0x40]
call fcn.0043e520
mov ecx, eax
call fcn.00441ca0
mov ecx, eax
call fcn.0043e350
mov edx, dword [ebp - 0x44]
push edx
mov ecx, dword [ebp - 0x50]
add ecx, 0x24
call fcn.0047e0d0
mov ecx, dword [ebp + 0xc]
add ecx, 4
call fcn.00413930
movzx eax, al
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x4a], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.0043e4a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00419100
mov al, byte [ebp - 0x4a]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004489b2
mov esp, ebp
pop ebp
ret 8

Function at 0x482830
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0
jne 0x482846
xor eax, eax
jmp 0x482867
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0044df1b
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 0xc

Function at 0x482910
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov ecx, dword [ebp + 8]
add ecx, 4
call fcn.00413e50
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x482942
mov eax, dword [ebp - 4]
and eax, 0x10
jne 0x482942
mov dword [ebp - 8], 1
jmp 0x482949
mov dword [ebp - 8], 0
mov al, byte [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x482950
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
movzx eax, byte [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
add ecx, 4
call fcn.00413e50
push eax
mov ecx, dword [ebp + 8]
add ecx, 4
call fcn.00413e50
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
setne cl
mov byte [ebp - 1], cl
cmp dword [ebp + 0x14], 0
je 0x4829a9
movzx edx, byte [ebp - 1]
test edx, edx
je 0x482998
mov dword [ebp - 8], 0
jmp 0x4829a1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret

Function at 0x4829b0
Capabilities:
Check if file exists
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x4829d3
push 0x80
mov ecx, dword [ebp + 8]
add ecx, 4
call fcn.00413e50
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, dword [ebp + 8]
add ecx, 4
call fcn.00413e50
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x482a06
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 2
je 0x4829fe
cmp dword [ebp - 4], 3
jne 0x482a02
mov al, 1
jmp 0x482a08
xor al, al
jmp 0x482a08
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x482a10
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
mov ecx, dword [ebp + 8]
add ecx, 4
call fcn.00413e50
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x482a42
cmp dword [ebp + 0xc], 0
je 0x482a42
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
xor eax, eax
cmp dword [ebp - 4], 0
setne al
mov esp, ebp
pop ebp
ret
Function at 0x4856c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5392a4]
xor eax, ebp
mov dword [ebp - 8], eax
cmp dword [0x59414c], 0xffffffff
jne 0x48571f
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.0044aec0
add esp, 0xc
push 0x104
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryW]
mov dword [ebp - 4], eax
xor eax, eax
cmp eax, dword [ebp - 4]
sbb ecx, ecx
neg ecx
mov dword [0x59414c], ecx
xor eax, eax
cmp dword [0x59414c], 1
sete al
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004489b2
mov esp, ebp
pop ebp
ret

Function at 0x485910
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov dword [ebp - 0x60], 0
push 0x40
push 0
lea eax, [ebp - 0x5c]
push eax
call fcn.0044aec0
add esp, 0xc
mov dword [ebp - 0x10], 0
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x14], 0
lea edx, [ebp - 0x60]
push edx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x60]
push ecx
mov edx, dword [ebp + 0x14]
push edx
push 0
push 0xc000000
push 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4859d0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x64], eax
cmp dword [ebp + 0x18], 0
je 0x4859a6
xor eax, eax
cmp dword [ebp - 0x64], 0x102
sete al
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
cmp dword [ebp + 0x10], 0
je 0x4859ba
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4859e1
cmp dword [ebp + 0x1c], 0
je 0x4859e1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret
Function at 0x4859f0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x5392a4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x20c], 0x100
mov dword [ebp - 0x214], 0
lea eax, [ebp - 0x218]
push eax
mov ecx, dword [ebp + 0x14]
or ecx, 8
push ecx
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x210], eax
cmp dword [ebp - 0x210], 0
je 0x485a4f
mov eax, dword [ebp - 0x210]
jmp 0x485b13
mov ecx, dword [ebp - 0x214]
mov dword [ebp - 0x21c], ecx
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x20c]
push edx
lea eax, [ebp - 0x208]
push eax
mov ecx, dword [ebp - 0x21c]
push ecx
mov edx, dword [ebp - 0x218]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov ecx, dword [ebp - 0x214]
add ecx, 1
mov dword [ebp - 0x214], ecx
test eax, eax
jne 0x485ae2
push 1
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0x208]
push edx
mov eax, dword [ebp - 0x218]
push eax
call fcn.004859f0
add esp, 0x18
mov dword [ebp - 0x210], eax
cmp dword [ebp - 0x210], 0
je 0x485ad3
mov eax, dword [ebp - 0x210]
jmp 0x485b13
mov dword [ebp - 0x20c], 0x100
jmp 0x485a4f
cmp dword [ebp + 0x1c], 0
je 0x485b00
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [ebp + 0x10]
add esp, 0xc
mov dword [ebp - 0x210], eax
mov ecx, dword [ebp - 0x218]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x210]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004489b2
mov esp, ebp
pop ebp
ret
Function at 0x485fa0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
cmp dword [ebp + 8], 0
je 0x485fb9
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
test ecx, ecx
jne 0x485fbe
jmp 0x486160
mov dword [ebp - 0x10], 0
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], edx
call fcn.00485b50
movzx eax, al
test eax, eax
je 0x486141
mov dword [ebp - 0x18], 0
push 0
push str.Progman
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x48600b
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp dword [ebp - 0x18], 0
je 0x486141
mov eax, dword [ebp - 0x18]
push eax
call fcn.00485b70
add esp, 4
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call fcn.00485b70
add esp, 4
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x3000
jne 0x486141
cmp dword [ebp - 0x1c], 0x2000
jne 0x486141
mov ecx, dword [ebp - 0x18]
push ecx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x486141
lea edx, [ebp - 0x28]
push edx
push 0xf01ff
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x486137
lea ecx, [ebp - 0x2c]
push ecx
push 1
push 2
push 0
push 0xf01ff
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x48612d
mov dword [ebp - 0x34], 0
push str.AdvApi32
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x4860d7
push str.CreateProcessWithTokenW
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x486113
mov dword [ebp - 0x80], 0
push 0x40
push 0
lea ecx, [ebp - 0x7c]
push ecx
call fcn.0044aec0
add esp, 0xc
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x80]
push eax
push 0
push 0
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0
mov eax, dword [ebp - 0x2c]
push eax
call dword [ebp - 0x34]
cmp dword [ebp - 0x30], 0
je 0x486123
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 8], 0
jne 0x486160
push 5
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
push 0x5076dc
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esp, ebp
pop ebp
ret
Function at 0x486810
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ede29
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x5392a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x48684f
mov ecx, dword [ebp + 8]
or ecx, 0x8000
mov dword [ebp + 8], ecx
lea edx, [ebp - 0x21c]
push edx
push 0
push 0
mov eax, dword [ebp + 8]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
jne 0x4868e1
movzx ecx, byte [ebp + 0x10]
test ecx, ecx
je 0x48688c
lea edx, [ebp - 0x21c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
jmp 0x486899
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveBackslashW]
lea ecx, [ebp - 0x241]
call fcn.0040b800
push eax
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [ebp - 0x240]
call fcn.00414c40
mov dword [ebp - 4], 0
lea edx, [ebp - 0x240]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.00415500
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x240]
call fcn.00414a10
jmp 0x4868f0
push 0xffffffffffffffff
push 0
mov ecx, dword [ebp + 0xc]
add ecx, 4
call fcn.00414d50
mov eax, dword [ebp - 0x220]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004489b2
mov esp, ebp
pop ebp
ret
Function at 0x486c30
Capabilities:
Enumerate process modules
Get process image filename

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4edecd
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x5392a4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ax, word [0x50764c]
mov word [ebp - 0x21c], ax
push 0x206
push 0
lea ecx, [ebp - 0x21a]
push ecx
call fcn.0044aec0
add esp, 0xc
lea ecx, [ebp - 0x245]
call fcn.0040b800
push eax
push 0x507650
lea ecx, [ebp - 0x244]
call fcn.00414c40
mov dword [ebp - 4], 0
lea edx, [ebp - 0x244]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.00415500
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x244]
call fcn.00414a10
mov eax, dword [ebp + 8]
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x486d8a
lea ecx, [ebp - 0x224]
push ecx
push 4
lea edx, [ebp - 0x220]
push edx
mov eax, dword [ebp - 0x10]
push eax
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x486d1b
push 0x104
lea ecx, [ebp - 0x21c]
push ecx
mov edx, dword [ebp - 0x220]
push edx
mov eax, dword [ebp - 0x10]
push eax
call sub.PSAPI.DLL_GetModuleFileNameExW
jmp 0x486d42
push 0x104
lea ecx, [ebp - 0x21c]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
jne 0x486d42
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x486da3
lea ecx, [ebp - 0x269]
call fcn.0040b800
push eax
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [ebp - 0x268]
call fcn.00414c40
mov dword [ebp - 4], 1
lea edx, [ebp - 0x268]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.00415500
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x268]
call fcn.00414a10
jmp 0x486d8e
xor eax, eax
jmp 0x486da3
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 0xc]
add ecx, 4
call fcn.00410bd0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004489b2
mov esp, ebp
pop ebp
ret
Function at 0x486e00
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4edf00
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x100
mov eax, dword [0x5392a4]
xor eax, ebp
mov dword [ebp - 0x20], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
push 0
mov eax, dword [ebp + 8]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x486e59
jmp 0x486f56
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00448e99
add esp, 4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x486e73
jmp 0x486f56
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x14]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x486e8f
jmp 0x486f56
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0xec]
push eax
push str.VarFileInfoTranslation
mov ecx, dword [ebp - 0x18]
push ecx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x486eb1
jmp 0x486f56
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0xec]
movzx ecx, word [eax + 2]
push ecx
mov edx, dword [ebp - 0xec]
movzx eax, word [edx]
push eax
push str.StringFileInfo_04x_04x_s
push 0x64
lea ecx, [ebp - 0xe8]
push ecx
call fcn.00485640
add esp, 0x18
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0xe8]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x486efe
jmp 0x486f56
lea ecx, [ebp - 0x10d]
call fcn.0040b800
push eax
mov eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x10c]
call fcn.00414c40
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10c]
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.00415500
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10c]
call fcn.00414a10
mov edx, dword [ebp - 0x18]
push edx
call fcn.00448dbc
add esp, 4
mov eax, 1
jmp 0x486f80
jmp 0x486f65
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 0
je 0x486f7e
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.00448dbc
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.004489b2
mov esp, ebp
pop ebp
ret

Function at 0x4877f0
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x5392a4]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
push 0x104
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0
push 0
push 0
lea ecx, [ebp - 0x220]
push ecx
lea edx, [ebp - 0x218]
push edx
call fcn.0044e2ba
add esp, 0x14
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push 0
push 0
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 4]
push eax
push 0
push 0
lea ecx, [ebp - 0x220]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
jne 0x487878
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004489b2
mov esp, ebp
pop ebp
ret