joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4521d0
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x452212
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [ebp + 8]
push edx
push 0x4520e0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_EnumChildWindows]
jmp 0x452320
mov dword [ebp - 0x28], 0x24
lea ecx, [ebp - 0x28]
push ecx
push 5
call dword [sym.imp.SHELL32.dll_SHAppBarMessage]
test eax, eax
je 0x452298
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], edx
cmp dword [ebp - 0x2c], 3
ja case.default.0x452238
mov eax, dword [ebp - 0x2c]
jmp dword [eax*4 + 0x452324]
mov ecx, dword [ebp - 0xc]
sub ecx, 0x64
mov edx, dword [ebp + 8]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0xc]
sub eax, 0x10
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x18]
mov dword [edx], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
mov dword [ecx + 8], edx
jmp case.default.0x452238
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 4], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0xc]
mov dword [edx + 0xc], eax
mov ecx, dword [ebp - 0x10]
sub ecx, 0x64
mov edx, dword [ebp + 8]
mov dword [edx], ecx
mov eax, dword [ebp - 0x10]
sub eax, 0x10
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], eax
jmp 0x452320
cmp dword [ebp - 4], 0
je 0x4522f1
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 8]
sub eax, dword [edx]
cmp eax, 0x96
jle 0x4522cf
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
sub edx, 0x96
mov eax, dword [ebp + 8]
mov dword [eax], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0xc]
sub eax, dword [edx + 4]
cmp eax, 0x1e
jle 0x4522ef
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
sub edx, 0x1e
mov eax, dword [ebp + 8]
mov dword [eax + 4], edx
jmp 0x452320
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
sub eax, 0x96
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
sub eax, 0x1e
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
mov esp, ebp
pop ebp
ret
Function at 0x4537c0
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
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 0x4537e1
xor eax, eax
jmp 0x45383b
lea ecx, [ebp - 0x10]
push ecx
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
push 0
push 0
push 0
lea edx, [ebp - 0x14]
push edx
push 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x453824
xor eax, eax
jmp 0x45383b
push 0
push 6
call dword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
jne 0x453836
xor eax, eax
jmp 0x45383b
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x454b50
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x4ce724]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x218], 0
mov eax, dword [ebp + 8]
push eax
push 0x104
lea ecx, [ebp - 0x210]
push ecx
call fcn.0046a95d
add esp, 0xc
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveBackslashW]
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov dword [ebp - 0x214], eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov dword [ebp - 0x21c], eax
mov edx, dword [ebp - 0x21c]
movzx eax, word [edx]
test eax, eax
jne 0x454be8
mov ecx, dword [ebp - 0x214]
push ecx
lea edx, [ebp - 0x210]
push edx
push str._s_s.lnk
push 0x104
lea eax, [ebp - 0x428]
push eax
call fcn.004685e6
add esp, 0x14
jmp 0x454c1e
push str..LNK
mov ecx, dword [ebp - 0x21c]
push ecx
call fcn.0046bc7e
add esp, 8
test eax, eax
je 0x454c06
xor eax, eax
jmp 0x454c37
mov edx, dword [ebp + 0xc]
push edx
push 0x104
lea eax, [ebp - 0x428]
push eax
call fcn.0046a95d
add esp, 0xc
lea ecx, [ebp - 0x428]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x218], eax
mov eax, dword [ebp - 0x218]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00467fff
mov esp, ebp
pop ebp
ret

Function at 0x454ce0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0x18]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x3e8
jae 0x454d18
mov dword [ebp - 0x10], 0x1388
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 4]
cmp edx, dword [ebp + 0xc]
je 0x454db3
mov eax, dword [ebp - 0x10]
xor edx, edx
mov ecx, 0xa
div ecx
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x3e8
jae 0x454d48
mov dword [ebp - 8], 0x3e8
jmp 0x454d58
cmp dword [ebp - 8], 0x2710
jbe 0x454d58
mov dword [ebp - 8], 0x2710
mov edx, dword [ebp - 8]
push edx
call fcn.00454c50
add esp, 4
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00454cb0
add esp, 8
test eax, eax
jne 0x454d7a
jmp 0x454db3
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0x14]
cmp eax, dword [ebp - 4]
jbe 0x454d99
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 4], edx
jmp 0x454dae
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
imul ecx, ecx, 3
cmp eax, ecx
jbe 0x454dae
jmp 0x454db3
jmp 0x454d18
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 4]
cmp eax, dword [ebp + 0xc]
jne 0x454dd4
push str.WaitForServiceToReachState____Success
call fcn.00457270
add esp, 4
mov dword [ebp - 0xc], 1
jmp 0x454de8
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 4]
push edx
push str.WaitForServiceToReachState____Failed___CurrentState_d
call fcn.00457270
add esp, 8
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x454e70
Capabilities:
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 8], 0
push 1
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x454f08
push 0x20
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x454eef
lea edx, [ebp - 0x28]
push edx
push 1
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x454ed6
lea ecx, [ebp - 0x28]
push ecx
push 1
mov edx, dword [ebp - 0xc]
push edx
call fcn.00454ce0
add esp, 0xc
mov dword [ebp - 8], eax
jmp 0x454ee3
push str.StopService____ControlService_failed
call fcn.00457270
add esp, 4
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x454efc
push str.StopService____OpenService_failed
call fcn.00457270
add esp, 4
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x454f15
push str.StopService____OpenSCManager_failed
call fcn.00457270
add esp, 4
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x454f20
Capabilities:
Check for time delay via gettickcount
Query service status
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov dword [ebp - 0x14], 0
push 1
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4550b9
push 0xf01ff
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
je 0x4550a0
push 0
push 0
mov edx, dword [ebp - 0x40]
push edx
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
je 0x455087
push str.StartService____Service_start_pending.
call fcn.00457270
add esp, 4
lea eax, [ebp - 0x10]
push eax
push 0x24
lea ecx, [ebp - 0x3c]
push ecx
push 0
mov edx, dword [ebp - 0x40]
push edx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x455078
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 8], eax
cmp dword [ebp - 0x38], 2
jne 0x455045
mov eax, dword [ebp - 0x24]
xor edx, edx
mov ecx, 0xa
div ecx
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x3e8
jae 0x454fe1
mov dword [ebp - 0xc], 0x3e8
jmp 0x454ff1
cmp dword [ebp - 0xc], 0x2710
jbe 0x454ff1
mov dword [ebp - 0xc], 0x2710
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x10]
push eax
push 0x24
lea ecx, [ebp - 0x3c]
push ecx
push 0
mov edx, dword [ebp - 0x40]
push edx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
jne 0x455017
jmp 0x455045
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 8]
jbe 0x455030
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 8], ecx
jmp 0x455040
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x24]
jbe 0x455040
jmp 0x455045
jmp 0x454fb6
cmp dword [ebp - 0x38], 4
jne 0x455061
push str.StartService____StartService_success
call fcn.00457270
add esp, 4
mov dword [ebp - 0x14], 1
jmp 0x455076
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x38]
push eax
push str.StartService____Service_not_started._Current_State:__d___Exit_Code:__d
call fcn.00457270
add esp, 0xc
jmp 0x455085
push str.StartService____QueryServiceStatusEx_failed
call fcn.00457270
add esp, 4
jmp 0x455094
push str.StartService____StartService_failed
call fcn.00457270
add esp, 4
mov ecx, dword [ebp - 0x40]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x4550ad
push str.StartService____OpenService_failed
call fcn.00457270
add esp, 4
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x4550c6
push str.StartService____OpenSCManager_failed
call fcn.00457270
add esp, 4
mov eax, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret
Function at 0x4550d0
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov dword [ebp - 0x44], 0
mov eax, dword [ebp + 0x20]
push eax
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push str.ExecuteFile__s___s___s___d__Wait1____d__ShowWindow____Begin
call fcn.00457270
add esp, 0x18
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x455113
xor eax, eax
jmp 0x455287
push 0x3c
push 0
lea eax, [ebp - 0x40]
push eax
call fcn.00468010
add esp, 0xc
mov dword [ebp - 0x40], 0x3c
mov dword [ebp - 0x3c], 0x540
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp + 0x18]
movzx eax, word [edx]
test eax, eax
jne 0x45514a
mov dword [ebp - 0x34], 0
jmp 0x455150
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp + 0x20]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x38], ecx
cmp dword [ebp + 0x14], 0
je 0x455178
mov edx, dword [ebp + 0x14]
movzx eax, word [edx]
test eax, eax
je 0x455178
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp + 0x14]
push edx
push str.ExecuteFile____Directory:__s
call fcn.00457270
add esp, 8
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov dword [ebp - 0x44], eax
cmp dword [ebp + 0x28], 0
je 0x4551a4
mov ecx, dword [ebp + 0x28]
mov edx, dword [ebp - 8]
mov dword [ecx], edx
mov dword [ebp - 4], 0
cmp dword [ebp - 0x44], 0
je 0x455251
cmp dword [ebp + 0x1c], 0
je 0x455251
push 0x64
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x4c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x4c]
push ecx
push str.ExecuteFile____WaitForSingleObject:__X
call fcn.00457270
add esp, 8
cmp dword [ebp - 0x4c], 0
je 0x455228
cmp dword [ebp - 0x4c], 0xffffffff
je 0x455228
cmp dword [ebp - 0x4c], 0x80
je 0x455228
cmp dword [0x4e8c5c], 0
jne 0x455228
push 0x3e8
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x4c], eax
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.0040e140
add esp, 8
jmp 0x4551e8
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x4c]
push eax
push str.ExecuteFile____WaitForSingleObject:__X_Time:__d_ms
call fcn.00457270
add esp, 0xc
cmp dword [0x4e8c5c], 0
je 0x455261
mov dword [ebp - 4], 0x4c7
cmp dword [ebp + 0x24], 0
je 0x45526f
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp - 4]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x44]
push ecx
push str.ExecuteFile____End__d____d_
call fcn.00457270
add esp, 0xc
mov eax, dword [ebp - 0x44]
mov esp, ebp
pop ebp
ret
Function at 0x4579f0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jbe 0x457a7f
mov edx, dword [ebp - 4]
push edx
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x457a7f
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 8]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x457a7a
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x457a7f
mov eax, dword [ebp - 0xc]
jmp 0x457a81
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x457a90
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x10
push 1
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x457aee
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov edx, dword [ebp + 0xc]
cmp dword [edx], 0
je 0x457ae2
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x457ae2
mov eax, dword [ebp - 8]
jmp 0x457af0
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x45b7b0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x45b7c0
xor eax, eax
jmp 0x45b95d
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0x45b91e
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x4bfdd0]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x4bfdd0]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x4bfdd0]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x4bfdd0]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x4bfdd0]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x4bfdd0]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x4bfdd0]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x4bfdd0]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0x10]
sub eax, 8
mov dword [ebp + 0x10], eax
jmp 0x45b7c9
cmp dword [ebp + 0x10], 0
je 0x45b957
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x4bfdd0]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
jne 0x45b924
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret
Function at 0x45c870
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
imul eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x14]
movzx edx, byte [ecx]
test edx, edx
je 0x45c8bf
push 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x45c8b5
mov edx, dword [ebp + 0x14]
mov byte [edx + 8], 1
mov eax, dword [ebp - 0x10]
xor edx, edx
div dword [ebp + 0xc]
jmp 0x45c919
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x18]
add ecx, dword [ebp - 8]
mov edx, dword [ebp + 0x14]
cmp ecx, dword [edx + 0x14]
jbe 0x45c8df
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x14]
mov edx, dword [eax + 0x14]
sub edx, dword [ecx + 0x18]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0x10]
mov eax, dword [ebp + 0x14]
add edx, dword [eax + 0x18]
push edx
mov ecx, dword [ebp + 8]
push ecx
call fcn.0046b350
add esp, 0xc
mov edx, dword [ebp - 8]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x18]
add ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x14]
mov dword [edx + 0x18], ecx
mov eax, dword [ebp - 4]
xor edx, edx
div dword [ebp + 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x45e220
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
jne 0x45e23a
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 4], 0xffffffff
je 0x45e244
mov eax, 0x1000000
jmp 0x45e2cb
mov edx, dword [ebp - 0x10]
add edx, 0x138
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x4c0240
mov eax, dword [ebp - 0x10]
add eax, 0x138
push eax
call fcn.0046f70e
add esp, 8
cmp dword [ebp + 0x10], 1
jne 0x45e28f
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileType]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 1
je 0x45e28f
mov eax, 0x2000000
jmp 0x45e2cb
lea edx, [ebp - 8]
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.0045c540
add esp, 0x10
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x45e2b5
mov eax, dword [ebp - 8]
jmp 0x45e2cb
mov eax, dword [ebp - 4]
push eax
call fcn.0045cd00
add esp, 4
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov eax, dword [0x4ea23c]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x45ea70
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x4ce724]
xor eax, ebp
mov dword [ebp - 8], eax
cmp dword [ebp + 0xc], 0
je 0x45ea93
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax]
test ecx, ecx
jne 0x45ea98
jmp 0x45eb9f
mov edx, dword [ebp + 0xc]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov dword [ebp - 0x218], eax
mov ecx, dword [ebp - 0x218]
movzx edx, word [ecx]
test edx, edx
je 0x45eaea
mov eax, dword [ebp - 0x218]
movzx ecx, word [eax]
cmp ecx, 0x2f
je 0x45ead0
mov edx, dword [ebp - 0x218]
movzx eax, word [edx]
cmp eax, 0x5c
jne 0x45ead9
mov ecx, dword [ebp - 0x218]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x218]
add edx, 2
mov dword [ebp - 0x218], edx
jmp 0x45eaa7
mov eax, dword [ebp - 4]
mov dword [ebp - 0x214], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
je 0x45eb6a
xor edx, edx
mov word [ebp - 0x420], dx
push 0x206
push 0
lea eax, [ebp - 0x41e]
push eax
call fcn.00468010
add esp, 0xc
mov ecx, dword [ebp - 4]
sub ecx, dword [ebp + 0xc]
sar ecx, 1
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x420]
push eax
call fcn.0046f858
add esp, 0xc
mov ecx, dword [ebp - 4]
sub ecx, dword [ebp + 0xc]
sar ecx, 1
xor edx, edx
mov word [ebp + ecx*2 - 0x420], dx
lea eax, [ebp - 0x420]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0045ea70
add esp, 8
mov edx, dword [ebp - 0x214]
add edx, 2
mov dword [ebp - 0x214], edx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x210]
push ecx
call fcn.0046f73c
add esp, 8
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x210]
push eax
call fcn.0046f70e
add esp, 8
push 0
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00467fff
mov esp, ebp
pop ebp
ret