joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404660
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x431474]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 3
ja case.default.0x40468b
mov ecx, dword [ebp - 0x214]
jmp dword [ecx*4 + 0x404758]
push 0x104
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
jne 0x4046af
xor eax, eax
jmp 0x40474a
jmp 0x404705
push 0x104
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x4046cb
xor eax, eax
jmp 0x40474a
jmp 0x404705
lea ecx, [ebp - 0x210]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
jne 0x4046e7
xor eax, eax
jmp 0x40474a
jmp 0x404705
push 0x429830
push 0x104
lea edx, [ebp - 0x210]
push edx
call fcn.00404770
jmp 0x404705
xor eax, eax
jmp 0x40474a
push 0x429834
push 0x104
lea eax, [ebp - 0x210]
push eax
call fcn.004047b0
mov ecx, dword [ebp + 8]
push ecx
push 0x104
lea edx, [ebp - 0x210]
push edx
call fcn.004047b0
lea eax, [ebp - 0x210]
push eax
push 0x104
mov ecx, dword [ebp + 8]
push ecx
call fcn.00404770
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00413b95
mov esp, ebp
pop ebp
ret

Function at 0x404a20
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x431474]
xor eax, ebp
mov dword [ebp - 8], eax
push 0x104
push 0
push 0x432a18
call fcn.00413bb0
add esp, 0xc
mov word [ebp - 0x210], 0
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.00413bb0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x210]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x5c
push 0
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.SHLWAPI.dll_StrRChrIW]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov word [eax], 0
push 0x4298ec
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x4298f0
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x404acf
xor al, al
jmp 0x404afd
lea ecx, [ebp - 0x210]
push ecx
push 0x104
push 0x432a18
mov edx, dword [str.url_name]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
push 0x432a18
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
setne al
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00413b95
mov esp, ebp
pop ebp
ret
Function at 0x4053e0
Capabilities:
Check internet connectivity via wininet
Create http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
mov dword [ebp - 8], 4
push 0
lea ecx, [ebp - 0xc]
push ecx
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
mov edx, dword [ebp - 0xc]
and edx, 0x20
je 0x405411
mov eax, 4
jmp 0x405478
mov eax, dword [ebp - 0xc]
and eax, 4
jne 0x40542e
push 0
push 0
push 0
push 4
push 0
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 4], eax
jmp 0x405441
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x40546e
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.00405480
add esp, 0x10
mov dword [ebp - 8], eax
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x405475
mov eax, 4
jmp 0x405478
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x405480
Capabilities:
Download and write a file
Get http content length
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x35c
mov eax, dword [0x431474]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov eax, dword [ebp + 0x14]
mov dword [eax], 0
mov dword [ebp - 0x28], 0
mov ecx, 8
mov esi, 0x429b40
lea edi, [ebp - 0x24]
rep movsd dword es:[edi], dword [esi]
push 0
push 0x84000100
lea ecx, [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov dword [ebp - 0x35c], eax
cmp dword [ebp - 0x35c], 0
jne 0x4054f1
mov eax, 1
jmp 0x4055e7
push 0x429b60
mov edx, dword [ebp + 0x10]
push edx
call fcn.004163a0
add esp, 8
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x405515
mov eax, 2
jmp 0x4055e7
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 4
mov dword [ebp - 0x30], 0
push 0
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x38]
push ecx
push 0x20000005
mov edx, dword [ebp - 0x35c]
push edx
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x40555c
mov dword [ebp - 0x38], 0
mov eax, dword [ebp + 0x14]
mov dword [eax], 0
jmp 0x405564
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x38]
mov dword [ecx], edx
lea eax, [ebp - 0x28]
push eax
push 0xc8
lea ecx, [ebp - 0x358]
push ecx
mov edx, dword [ebp - 0x35c]
push edx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x405598
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0041625e
add esp, 4
mov eax, 3
jmp 0x4055e7
cmp dword [ebp - 0x28], 0
jne 0x4055a2
jmp 0x4055cd
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x28]
push edx
push 1
lea eax, [ebp - 0x358]
push eax
call fcn.0041615e
add esp, 0x10
mov ecx, dword [ebp - 0x30]
add ecx, dword [ebp - 0x28]
mov dword [ebp - 0x30], ecx
mov edx, 1
test edx, edx
jne 0x405564
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00415fe8
add esp, 4
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0041625e
add esp, 4
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00413b95
mov esp, ebp
pop ebp
ret
Function at 0x4058f0
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
mov eax, dword [0x431474]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x94], 1
mov dword [ebp - 0x90], 4
push 0
push 0x429b88
lea eax, [ebp - 0x88]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
mov ecx, dword [ebp - 0x94]
and ecx, 4
jne 0x405956
push 0
push 0
push 0
push 4
lea edx, [ebp - 0x88]
push edx
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x8c], eax
jmp 0x405971
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x88]
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0
je 0x4059d4
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x8c]
push eax
call fcn.00405600
add esp, 0xc
mov dword [ebp - 0x90], eax
push 0x64
push 0
lea ecx, [ebp - 0x100]
push ecx
call fcn.00413bb0
add esp, 0xc
mov edx, dword [ebp - 0x90]
push edx
push str.InternetGetData_res:__d
lea eax, [ebp - 0x100]
push eax
call fcn.0041419b
add esp, 0xc
mov ecx, dword [ebp - 0x8c]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x4059db
mov eax, 4
jmp 0x4059e1
mov eax, dword [ebp - 0x90]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00413b95
mov esp, ebp
pop ebp
ret

Function at 0x405a60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
mov eax, dword [0x431474]
xor eax, ebp
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x13c], ecx
mov eax, dword [ebp - 0x13c]
mov dword [eax], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0x405fa0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 4
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0x429bb4
lea ecx, [ebp - 0x28]
push ecx
call dword [sym.imp.USER32.dll_RegisterClassA]
push 0x7f89
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [0x432d28], eax
cmp dword [0x432d28], 0
jne 0x405b4c
push 0x104
lea edx, [ebp - 0x138]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push str.winhlp32.exe
lea eax, [ebp - 0x138]
push eax
call fcn.004165e0
add esp, 8
lea ecx, [ebp - 0x138]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edx, dword [ebp - 0x13c]
mov dword [edx], eax
mov eax, dword [ebp - 0x13c]
cmp dword [eax], 0
je 0x405b4c
push 0x6a
mov ecx, dword [ebp - 0x13c]
mov edx, dword [ecx]
push edx
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [0x432d28], eax
mov eax, dword [ebp - 0x13c]
mov ecx, dword [ebp - 0x2c]
xor ecx, ebp
call fcn.00413b95
mov esp, ebp
pop ebp
ret
Function at 0x4067a0
Capabilities:
Check if file exists
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x431474]
xor eax, ebp
mov dword [ebp - 8], eax
call fcn.00406600
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4068ec
mov word [ebp - 0x418], 0
push 0x206
push 0
lea eax, [ebp - 0x416]
push eax
call fcn.00413bb0
add esp, 0xc
mov dword [ebp - 0x41c], str.Windows_LiveMessengermsnmsgr.exe
mov word [ebp - 0x210], 0
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.00413bb0
add esp, 0xc
lea edx, [ebp - 0x210]
push edx
push 0
push 0
push 0x26
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x406868
mov eax, dword [ebp - 0x41c]
push eax
lea ecx, [ebp - 0x210]
push ecx
push 0x42a114
push 0x104
lea edx, [ebp - 0x418]
push edx
call fcn.004047f0
add esp, 0x14
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x406868
mov eax, 1
jmp 0x4068ef
push 0x104
push 0
lea ecx, [ebp - 0x210]
push ecx
call fcn.00413bb0
add esp, 0xc
push 0x104
push 0
lea edx, [ebp - 0x418]
push edx
call fcn.00413bb0
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0
push 0
push 0x2a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x4068ec
mov ecx, dword [ebp - 0x41c]
push ecx
lea edx, [ebp - 0x210]
push edx
push 0x42a168
push 0x104
lea eax, [ebp - 0x418]
push eax
call fcn.004047f0
add esp, 0x14
lea ecx, [ebp - 0x418]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4068ec
mov eax, 1
jmp 0x4068ef
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00413b95
mov esp, ebp
pop ebp
ret
Function at 0x407c20
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x18]
and ecx, 2
je 0x407c62
mov edx, dword [ebp - 4]
cmp dword [edx + 0xc], 0
jne 0x407c62
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 0xc], 0
jne 0x407c62
call fcn.00407ea0
jmp 0x407d10
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 0x10], 0
jne 0x407c89
call fcn.00407ea0
jmp 0x407d10
mov eax, dword [ebp - 4]
add eax, 8
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
push edx
push 0x407d20
push 0
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 4], 0
jne 0x407cbf
call fcn.00407ea0
jmp 0x407d10
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x18]
and eax, 2
je 0x407cfd
push 0xffffffffffffffff
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], 0
cmp dword [ebp + 0xc], 0
je 0x407d0e
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
mov dword [eax], edx
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc

Function at 0x408380
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x431474]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x244], 0
cmp dword [ebp + 8], 0
jne 0x4083ae
mov eax, dword [ebp - 0x244]
jmp 0x40847e
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x240], eax
cmp dword [ebp - 0x240], 0
jne 0x4083d1
mov eax, dword [ebp - 0x244]
jmp 0x40847e
mov dword [ebp - 0x238], 0
push 0x228
push 0
lea eax, [ebp - 0x234]
push eax
call fcn.00413bb0
add esp, 0xc
mov dword [ebp - 0x238], 0x22c
lea ecx, [ebp - 0x238]
push ecx
mov edx, dword [ebp - 0x240]
push edx
call sub.KERNEL32.dll_Process32FirstW
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0
je 0x40846b
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x214]
push ecx
call fcn.00416a99
add esp, 8
test eax, eax
jne 0x408450
mov edx, dword [ebp - 0x230]
push edx
push 1
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x244], eax
jmp 0x40846b
lea eax, [ebp - 0x238]
push eax
mov ecx, dword [ebp - 0x240]
push ecx
call sub.KERNEL32.dll_Process32NextW
mov dword [ebp - 0x23c], eax
jmp 0x408414
mov edx, dword [ebp - 0x240]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x244]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00413b95
mov esp, ebp
pop ebp
ret
Function at 0x408490
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push eax
call fcn.00408380
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4084ad
xor eax, eax
jmp 0x4084e7
cmp dword [ebp - 4], 0
je 0x4084e2
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x4084dc
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [ebp + 8]
push edx
call fcn.00408380
add esp, 4
mov dword [ebp - 4], eax
jmp 0x4084e0
xor eax, eax
jmp 0x4084e7
jmp 0x4084ad
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x4084f0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
lea eax, [ebp - 4]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x408511
xor eax, eax
jmp 0x408571
lea ecx, [ebp - 0x1c]
push ecx
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x40852a
xor eax, eax
jmp 0x408571
mov dword [ebp - 0x14], 1
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 2
push 0
push 0
push 0
lea ecx, [ebp - 0x14]
push ecx
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x408562
xor eax, eax
jmp 0x408571
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x4090e0
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push str.msnmsgr.exe
call fcn.00408380
add esp, 4
test eax, eax
je 0x4090f8
jmp 0x40911f
push 0x432d30
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40911f
push 0
push 0
push 0
push 0x432d30
push 0x42a9e8
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop ebp
ret

Function at 0x409270
Capabilities:
Create process on windows
Get common file path
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x634
mov eax, dword [0x431474]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov word [ebp - 0x630], 0
push 0x206
push 0
lea eax, [ebp - 0x62e]
push eax
call fcn.00413bb0
add esp, 0xc
mov word [ebp - 0x420], 0
push 0x206
push 0
lea ecx, [ebp - 0x41e]
push ecx
call fcn.00413bb0
add esp, 0xc
lea edx, [ebp - 0x630]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov ecx, dword [ebp + 8]
add ecx, 0xe0
call fcn.00409da0
push eax
lea eax, [ebp - 0x630]
push eax
push str._s_s
push 0x104
lea ecx, [ebp - 0x420]
push ecx
call fcn.004047f0
add esp, 0x14
mov word [ebp - 0x218], 0
push 0x206
push 0
lea edx, [ebp - 0x216]
push edx
call fcn.00413bb0
add esp, 0xc
mov dword [ebp - 4], 0
push 1
call fcn.00409130
add esp, 4
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x420]
push ecx
mov ecx, dword [ebp + 8]
add ecx, 0x8c
call fcn.00409da0
push eax
call fcn.004053e0
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x409362
jmp 0x409419
mov ecx, dword [ebp + 8]
add ecx, 0x54
call fcn.00409da0
push eax
call fcn.00416b2a
add esp, 4
mov dword [ebp - 0x428], eax
push 0
push 0x80
push 3
push 0
push 0
push SysReAllocString
lea edx, [ebp - 0x420]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x424], eax
cmp dword [ebp - 0x424], 0xffffffff
je 0x409419
mov dword [ebp - 0x634], 0
push 0
mov eax, dword [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x634], eax
mov ecx, dword [ebp - 0x424]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x634]
cmp edx, dword [ebp - 4]
jne 0x409419
push 2
call fcn.00409130
add esp, 4
push 5
push 0
mov ecx, dword [ebp + 8]
add ecx, 0xc4
call fcn.00409da0
push eax
lea eax, [ebp - 0x420]
push eax
push 0x42aa30
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov byte [0x432a10], 1
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00413b95
mov esp, ebp
pop ebp
ret
Function at 0x409b40
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push 0
push 0x409430
push 0
push 0xbf
mov eax, dword [0x4329f8]
push eax
call dword [sym.imp.USER32.dll_CreateDialogParamW]
mov dword [0x433204], eax
mov dword [ebp - 4], 1
mov ecx, dword [0x433204]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x409b89
mov dword [ebp - 4], 0
jmp 0x409c17
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [0x433204]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0xc], eax
push 1
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 8], eax
push 0
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 8]
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x18]
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
push ecx
mov eax, dword [ebp - 0xc]
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
push ecx
push 0
mov edx, dword [0x433204]
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
movzx eax, byte [ebp + 8]
neg eax
sbb eax, eax
and eax, 5
push eax
mov ecx, dword [0x433204]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x40a020
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp + 8]
mov dword [edx], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0xefcdab89
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], 0x98badcfe
mov edx, dword [ebp + 8]
mov dword [edx + 0xc], 0x10325476
pop ebp
ret
Function at 0x40b270
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x427730
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x478
mov eax, dword [0x431474]
xor eax, ebp
mov dword [ebp - 0x14], 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 - 4], 0
push 0x42aaa0
mov eax, dword [ebp + 8]
push eax
call fcn.004163a0
add esp, 8
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x40b36b
lea ecx, [ebp - 0x488]
push ecx
call fcn.0040a020
add esp, 4
mov edx, dword [ebp - 0x28]
push edx
push 0x400
push 1
lea eax, [ebp - 0x430]
push eax
call fcn.00416e29
add esp, 0x10
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x40b315
mov ecx, dword [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x430]
push edx
lea eax, [ebp - 0x488]
push eax
call fcn.0040a060
add esp, 0xc
jmp 0x40b2d6
cmp dword [ebp + 0x18], 0
je 0x40b338
cmp dword [ebp + 0x14], 0
je 0x40b338
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
lea eax, [ebp - 0x488]
push eax
call fcn.0040a060
add esp, 0xc
lea ecx, [ebp - 0x488]
push ecx
lea edx, [ebp - 0x24]
push edx
call fcn.0040a160
add esp, 8
mov eax, dword [ebp - 0x28]
push eax
call fcn.0041625e
add esp, 4
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x24]
push eax
call fcn.0040b1f0
add esp, 0xc
jmp 0x40b385
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00413b95
mov esp, ebp
pop ebp
ret
Function at 0x40c650
Capabilities:
Check if file exists
Delete file
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x628
mov eax, dword [0x431474]
xor eax, ebp
mov dword [ebp - 8], eax
cmp dword [ebp + 8], 0
jne 0x40c670
xor al, al
jmp 0x40c881
push 0x104
push 0
push 0x433278
call fcn.00413bb0
add esp, 0xc
mov dword [ebp - 4], 0
push 1
call fcn.004167a5
add esp, 4
mov dword [ebp - 4], eax
push 1
push 0
mov eax, dword [ebp - 4]
push eax
call fcn.00413bb0
add esp, 0xc
cmp dword [ebp - 4], 0
jne 0x40c6b5
xor al, al
jmp 0x40c881
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004058f0
add esp, 8
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 4]
push ecx
call fcn.0040ce50
add esp, 8
mov edx, dword [ebp - 4]
push edx
call fcn.00414110
add esp, 4
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 1
jl 0x40c70f
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x214]
mov byte [eax - 1], 0
cmp dword [ebp - 4], 0
je 0x40c70f
mov ecx, dword [ebp - 4]
push ecx
call fcn.004166c8
add esp, 4
mov edx, dword [ebp + 0xc]
add edx, 0x208
je 0x40c720
cmp dword [ebp + 0xc], 0
jne 0x40c727
xor al, al
jmp 0x40c881
mov eax, dword [ebp + 0xc]
add eax, 0x208
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x40c740
cmp dword [ebp + 0xc], 0
jne 0x40c747
xor al, al
jmp 0x40c881
mov word [ebp - 0x628], 0
push 0x206
push 0
lea ecx, [ebp - 0x626]
push ecx
call fcn.00413bb0
add esp, 0xc
mov word [ebp - 0x210], 0
push 0x206
push 0
lea edx, [ebp - 0x20e]
push edx
call fcn.00413bb0
add esp, 0xc
lea eax, [ebp - 0x628]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov word [ebp - 0x420], 0
push 0x206
push 0
lea ecx, [ebp - 0x41e]
push ecx
call fcn.00413bb0
add esp, 0xc
lea edx, [ebp - 0x628]
push edx
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 0x420]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push str.msgr.xml
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push str._temp.tmp
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea edx, [ebp - 0x210]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.0040c890
add esp, 8
mov byte [ebp - 0x215], al
movzx ecx, byte [ebp - 0x215]
test ecx, ecx
je 0x40c837
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40c83b
xor al, al
jmp 0x40c881
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40c859
lea ecx, [ebp - 0x420]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea edx, [ebp - 0x420]
push edx
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
lea ecx, [ebp - 0x420]
push ecx
push 0x433278
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov al, 1
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00413b95
mov esp, ebp
pop ebp
ret