joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45b500
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x580ca0]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0xc]
push ecx
push 1
push 0
push 0
call sub.WTSAPI32.dll_WTSEnumerateSessionsW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x45b596
mov dword [ebp - 0x130], 0
push 0x110
push 0
lea edx, [ebp - 0x12c]
push edx
call fcn.004ba280
add esp, 0xc
mov dword [ebp - 0x130], 0x114
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x45b589
cmp dword [ebp - 0x12c], 6
jne 0x45b589
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x45b601
mov ecx, dword [ebp + 8]
mov dword [ecx], 0
xor eax, eax
jmp 0x45b601
mov dword [ebp - 4], 0x490
mov dword [ebp - 0x134], 0
jmp 0x45b5b8
mov edx, dword [ebp - 0x134]
add edx, 1
mov dword [ebp - 0x134], edx
mov eax, dword [ebp - 0x134]
cmp eax, dword [ebp - 8]
jae 0x45b5f5
mov ecx, dword [ebp - 0x134]
imul ecx, ecx, 0xc
mov edx, dword [ebp - 0xc]
cmp dword [edx + ecx + 8], 0
jne 0x45b5f3
mov eax, dword [ebp - 0x134]
imul eax, eax, 0xc
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + eax]
mov dword [ecx], eax
mov dword [ebp - 4], 0
jmp 0x45b5f5
jmp 0x45b5a9
mov ecx, dword [ebp - 0xc]
push ecx
call sub.WTSAPI32.dll_WTSFreeMemory
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004ba1db
mov esp, ebp
pop ebp
ret

Function at 0x45c280
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x580ca0]
xor eax, ebp
mov dword [ebp - 0xc], eax
xor eax, eax
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.004ba280
add esp, 0xc
push 0x104
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov dword [ebp - 4], eax
xor edx, edx
mov eax, dword [ebp - 4]
mov word [eax], dx
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45c2f8
mov eax, 1
jmp 0x45c313
lea edx, [ebp - 0x218]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov dword [ebp - 8], eax
xor eax, eax
cmp dword [ebp - 8], 0
sete al
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004ba1db
mov esp, ebp
pop ebp
ret
Function at 0x45ce10
Capabilities:
Check if file exists
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
mov dword [eax], vtable.CExtractOutFile.0
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 8], 0xffffffff
je 0x45ce50
mov edx, dword [ebp - 0xc]
add edx, 0x14
push edx
push 0
push 0
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 8], 0xffffffff
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x10], 0
je 0x45ce93
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0xc], 0
je 0x45ce93
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45ce93
push 1
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 0x10], 0
je 0x45cebb
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x10]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.004b9d83
add esp, 4
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x10], 0
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0xc], 0
je 0x45cee3
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
push eax
call fcn.004b9d83
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0xc], 0
mov esp, ebp
pop ebp
ret

Function at 0x45d050
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
cmp dword [eax + 8], 0xffffffff
je 0x45d095
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 4], edx
push 0
push 0
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
xor eax, eax
jmp 0x45d09a
mov eax, 1
mov esp, ebp
pop ebp
ret 0xc
Function at 0x45d680
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
mov eax, dword [0x580ca0]
xor eax, ebp
mov dword [ebp - 0x30], eax
push 0x24
push 0
lea eax, [ebp - 0x2c]
push eax
call fcn.004ba280
add esp, 0xc
push 0x11c
push 0
lea ecx, [ebp - 0x150]
push ecx
call fcn.004ba280
add esp, 0xc
mov dword [ebp - 0x150], 0x11c
lea edx, [ebp - 0x150]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x45d6db
xor eax, eax
jmp 0x45d7c0
push 0x5300e4
push 0x5300f8
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x45d704
lea eax, [ebp - 0x2c]
push eax
call dword [ebp - 8]
jmp 0x45d70e
lea ecx, [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov dword [ebp - 4], 0
cmp dword [ebp - 0x140], 2
jne 0x45d7bd
cmp dword [ebp - 0x14c], 4
jbe 0x45d7bd
cmp dword [ebp - 0x14c], 6
jne 0x45d76e
cmp dword [ebp - 0x148], 0
jne 0x45d74a
mov dword [ebp - 4], 4
jmp 0x45d76c
cmp dword [ebp - 0x148], 1
jne 0x45d75c
mov dword [ebp - 4], 5
jmp 0x45d76c
cmp dword [ebp - 0x148], 2
jne 0x45d76c
mov dword [ebp - 4], 6
jmp 0x45d7bd
cmp dword [ebp - 0x14c], 5
jne 0x45d789
cmp dword [ebp - 0x148], 2
jne 0x45d789
mov dword [ebp - 4], 3
jmp 0x45d7bd
cmp dword [ebp - 0x14c], 5
jne 0x45d7a4
cmp dword [ebp - 0x148], 1
jne 0x45d7a4
mov dword [ebp - 4], 2
jmp 0x45d7bd
cmp dword [ebp - 0x14c], 5
jne 0x45d7bd
cmp dword [ebp - 0x148], 0
jne 0x45d7bd
mov dword [ebp - 4], 1
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x30]
xor ecx, ebp
call fcn.004ba1db
mov esp, ebp
pop ebp
ret
Function at 0x45f8d0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x523d39
mov eax, dword fs:[0]
push eax
sub esp, 0x2b8
mov eax, dword [0x580ca0]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
cmp dword [ebp + 8], 0
je 0x45fb09
mov ecx, dword [ebp + 8]
add ecx, 0xf0
call fcn.004034e0
cmp eax, 4
jbe 0x45fb09
mov dword [ebp - 0x24c], 0
push 0x228
push 0
lea eax, [ebp - 0x248]
push eax
call fcn.004ba280
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x45fb09
mov dword [ebp - 0x24c], 0x22c
lea ecx, [ebp - 0x24c]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x45faff
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x268]
push ecx
call fcn.00520ab0
add esp, 8
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
add ecx, 0xf0
call fcn.00401340
push eax
lea edx, [ebp - 0x284]
push edx
call fcn.00520fb0
add esp, 8
mov byte [ebp - 4], 1
push 0x4c169a
lea eax, [ebp - 0x28c]
push eax
lea ecx, [ebp - 0x268]
call fcn.00401120
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x294]
push eax
lea ecx, [ebp - 0x268]
call fcn.00401150
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x29c]
push eax
lea ecx, [ebp - 0x268]
call fcn.00401120
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x2a4]
push eax
call fcn.00463350
add esp, 0x20
push 0x4c169a
lea ecx, [ebp - 0x2ac]
push ecx
lea ecx, [ebp - 0x284]
call fcn.00401120
mov edx, dword [eax + 4]
push edx
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x2b4]
push ecx
lea ecx, [ebp - 0x284]
call fcn.00401150
mov edx, dword [eax + 4]
push edx
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x2bc]
push ecx
lea ecx, [ebp - 0x284]
call fcn.00401120
mov edx, dword [eax + 4]
push edx
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x2c4]
push ecx
call fcn.00463350
add esp, 0x20
lea ecx, [ebp - 0x268]
call fcn.00402b70
push eax
lea ecx, [ebp - 0x284]
call fcn.00402b70
push eax
call fcn.004c1c00
add esp, 8
test eax, eax
je 0x45fac6
mov dword [ebp - 0x10], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x284]
call fcn.00402c20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x268]
call fcn.00402c20
jmp 0x45faff
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x284]
call fcn.00402c20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x268]
call fcn.00402c20
lea edx, [ebp - 0x24c]
push edx
mov eax, dword [ebp - 0x14]
push eax
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x45f97b
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004ba1db
mov esp, ebp
pop ebp
ret
Function at 0x45fb30
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x523d77
mov eax, dword fs:[0]
push eax
sub esp, 0x2b8
mov eax, dword [0x580ca0]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
cmp dword [ebp + 8], 0
je 0x45fd69
mov ecx, dword [ebp + 8]
add ecx, 0x10c
call fcn.004034e0
cmp eax, 4
jbe 0x45fd69
mov dword [ebp - 0x24c], 0
push 0x228
push 0
lea eax, [ebp - 0x248]
push eax
call fcn.004ba280
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x45fd69
mov dword [ebp - 0x24c], 0x22c
lea ecx, [ebp - 0x24c]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x45fd5f
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x284]
push ecx
call fcn.00520ab0
add esp, 8
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
add ecx, 0x10c
call fcn.00401340
push eax
lea edx, [ebp - 0x268]
push edx
call fcn.00520fb0
add esp, 8
mov byte [ebp - 4], 1
push 0x4c169a
lea eax, [ebp - 0x28c]
push eax
lea ecx, [ebp - 0x284]
call fcn.00401120
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x294]
push eax
lea ecx, [ebp - 0x284]
call fcn.00401150
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x29c]
push eax
lea ecx, [ebp - 0x284]
call fcn.00401120
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x2a4]
push eax
call fcn.00463350
add esp, 0x20
push 0x4c169a
lea ecx, [ebp - 0x2ac]
push ecx
lea ecx, [ebp - 0x268]
call fcn.00401120
mov edx, dword [eax + 4]
push edx
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x2b4]
push ecx
lea ecx, [ebp - 0x268]
call fcn.00401150
mov edx, dword [eax + 4]
push edx
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x2bc]
push ecx
lea ecx, [ebp - 0x268]
call fcn.00401120
mov edx, dword [eax + 4]
push edx
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x2c4]
push ecx
call fcn.00463350
add esp, 0x20
lea ecx, [ebp - 0x284]
call fcn.00402b70
push eax
lea ecx, [ebp - 0x268]
call fcn.00402b70
push eax
call fcn.004c1c00
add esp, 8
test eax, eax
je 0x45fd26
mov dword [ebp - 0x10], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x268]
call fcn.00402c20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x284]
call fcn.00402c20
jmp 0x45fd5f
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x268]
call fcn.00402c20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x284]
call fcn.00402c20
lea edx, [ebp - 0x24c]
push edx
mov eax, dword [ebp - 0x14]
push eax
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x45fbdb
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004ba1db
mov esp, ebp
pop ebp
ret
Function at 0x45fdc0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x523db5
mov eax, dword fs:[0]
push eax
sub esp, 0x2b8
mov eax, dword [0x580ca0]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
cmp dword [ebp + 8], 0
je 0x45fff9
mov ecx, dword [ebp + 8]
add ecx, 0x128
call fcn.004034e0
cmp eax, 4
jbe 0x45fff9
mov dword [ebp - 0x24c], 0
push 0x228
push 0
lea eax, [ebp - 0x248]
push eax
call fcn.004ba280
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x45fff9
mov dword [ebp - 0x24c], 0x22c
lea ecx, [ebp - 0x24c]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x45ffef
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x268]
push ecx
call fcn.00520ab0
add esp, 8
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
add ecx, 0x128
call fcn.00401340
push eax
lea edx, [ebp - 0x284]
push edx
call fcn.00520fb0
add esp, 8
mov byte [ebp - 4], 1
push 0x4c169a
lea eax, [ebp - 0x28c]
push eax
lea ecx, [ebp - 0x268]
call fcn.00401120
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x294]
push eax
lea ecx, [ebp - 0x268]
call fcn.00401150
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x29c]
push eax
lea ecx, [ebp - 0x268]
call fcn.00401120
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x2a4]
push eax
call fcn.00463350
add esp, 0x20
push 0x4c169a
lea ecx, [ebp - 0x2ac]
push ecx
lea ecx, [ebp - 0x284]
call fcn.00401120
mov edx, dword [eax + 4]
push edx
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x2b4]
push ecx
lea ecx, [ebp - 0x284]
call fcn.00401150
mov edx, dword [eax + 4]
push edx
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x2bc]
push ecx
lea ecx, [ebp - 0x284]
call fcn.00401120
mov edx, dword [eax + 4]
push edx
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x2c4]
push ecx
call fcn.00463350
add esp, 0x20
lea ecx, [ebp - 0x268]
call fcn.00402b70
push eax
lea ecx, [ebp - 0x284]
call fcn.00402b70
push eax
call fcn.004c1c00
add esp, 8
test eax, eax
je 0x45ffb6
mov dword [ebp - 0x10], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x284]
call fcn.00402c20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x268]
call fcn.00402c20
jmp 0x45ffef
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x284]
call fcn.00402c20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x268]
call fcn.00402c20
lea edx, [ebp - 0x24c]
push edx
mov eax, dword [ebp - 0x14]
push eax
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x45fe6b
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 8], 0
je 0x460018
mov ecx, dword [ebp + 8]
add ecx, 0x128
call fcn.004034e0
test eax, eax
jne 0x460018
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004ba1db
mov esp, ebp
pop ebp
ret
Function at 0x460040
Capabilities:
Create thread
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x523de8
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x580ca0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x244], ecx
mov dword [ebp - 0x10], 0
cmp dword [ebp + 8], 0
jne 0x460086
xor eax, eax
jmp 0x46019e
mov ecx, dword [ebp + 8]
add ecx, 0x38
call fcn.004034e0
test eax, eax
jne 0x4600a1
mov ecx, dword [ebp + 8]
call fcn.004034e0
test eax, eax
jne 0x4600a8
xor eax, eax
jmp 0x46019e
xor eax, eax
mov word [ebp - 0x224], ax
push 0x208
push 0
lea ecx, [ebp - 0x222]
push ecx
call fcn.004ba280
add esp, 0xc
lea edx, [ebp - 0x224]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov ecx, dword [ebp + 8]
add ecx, 0x1c
call fcn.004034e0
test eax, eax
je 0x4600fb
mov ecx, dword [ebp + 8]
add ecx, 0x1c
call fcn.00401340
mov dword [ebp - 0x248], eax
jmp 0x460110
mov ecx, dword [ebp + 8]
call fcn.00401340
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov dword [ebp - 0x248], eax
mov eax, dword [ebp - 0x248]
push eax
lea ecx, [ebp - 0x224]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0x224]
push edx
lea ecx, [ebp - 0x240]
call fcn.004012e0
mov dword [ebp - 0x24c], eax
mov eax, dword [ebp - 0x24c]
mov dword [ebp - 0x250], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x250]
push ecx
mov ecx, dword [ebp + 8]
add ecx, 0x38
call fcn.0040b1f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x240]
call fcn.00401320
push 0
push 0
mov edx, dword [ebp + 8]
push edx
push 0x460840
push 0xa
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
mov ecx, dword [ebp - 0x244]
call fcn.00460cb0
mov dword [eax], esi
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004ba1db
mov esp, ebp
pop ebp
ret 4
Function at 0x461a80
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5240c4
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x580ca0]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x40], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x14]
cmp eax, dword [0x57e340]
jae 0x461adc
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
movzx eax, byte [0x585b8f]
test eax, eax
je 0x461ada
jmp 0x461adc
jmp 0x461ab4
mov ecx, dword [ebp - 0x40]
mov dl, byte [ebp + 8]
mov byte [ecx + 0x120], dl
mov eax, dword [ebp - 0x40]
mov cl, byte [ebp + 0xc]
mov byte [eax + 0x121], cl
push 0x530624
lea ecx, [ebp - 0x10]
call fcn.00426750
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
jmp 0x461b1a
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
mov ecx, dword [ebp - 0x40]
add ecx, 0x104
call fcn.0047bfd0
cmp dword [ebp - 0x18], eax
jae 0x461c34
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x40]
add ecx, 0x104
call fcn.00462350
mov ecx, dword [eax]
cmp dword [ecx + 0xcc], 0
je 0x461bcb
mov edx, dword [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x40]
add ecx, 0x104
call fcn.00462350
mov eax, dword [eax]
push eax
mov ecx, dword [ebp - 0x40]
call fcn.0045f4d0
test eax, eax
jne 0x461bc9
mov ecx, dword [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x40]
add ecx, 0x104
call fcn.00462350
mov edx, dword [eax]
push edx
mov ecx, dword [ebp - 0x40]
call fcn.00460040
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x40]
add ecx, 0x104
call fcn.00462350
mov ecx, dword [eax]
mov edx, dword [ecx + 0xa8]
push edx
push 0x530628
lea eax, [ebp - 0x10]
push eax
call fcn.0043fd80
add esp, 0xc
lea ecx, [ebp - 0x10]
call fcn.00429580
push eax
call fcn.004668d0
add esp, 4
jmp 0x461c2f
mov ecx, dword [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x40]
add ecx, 0x104
call fcn.00462350
mov edx, dword [eax]
cmp dword [edx + 0xac], 0
je 0x461c2f
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x40]
add ecx, 0x104
call fcn.00462350
mov ecx, dword [eax]
add ecx, 0x70
call fcn.00401340
push eax
lea ecx, [ebp - 0x38]
push ecx
call fcn.00520fb0
add esp, 8
mov byte [ebp - 4], 1
lea edx, [ebp - 0x38]
push edx
mov ecx, 0x586180
call fcn.00472b50
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.00402c20
jmp 0x461b11
mov dword [ebp - 0x3c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00426800
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004ba1db
mov esp, ebp
pop ebp
ret 8
Function at 0x461f20
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x524101
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x580ca0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x6c], ecx
push 0
push 0x530660
mov ecx, 0x5861bc
call fcn.00401210
cmp eax, 0xffffffff
je 0x461f67
jmp 0x462047
push 0x5861a0
lea ecx, [ebp - 0x2c]
call fcn.00402be0
mov dword [ebp - 4], 0
push 0
push 0x530668
lea ecx, [ebp - 0x2c]
call fcn.00401210
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jl 0x462004
lea ecx, [ebp - 0x2c]
call fcn.004034e0
cmp dword [ebp - 0x30], eax
jae 0x462004
mov eax, dword [ebp - 0x30]
push eax
push 0
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00401260
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4c]
call fcn.00402b70
push eax
lea edx, [ebp - 0x68]
push edx
call fcn.005209d0
add esp, 8
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x74], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x74]
push ecx
mov ecx, dword [ebp - 0x6c]
add ecx, 0x1a4
call fcn.0040b1f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x68]
call fcn.00401320
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.00402c20
jmp 0x462017
push 0x53066c
mov ecx, dword [ebp - 0x6c]
add ecx, 0x1a4
call fcn.0040b170
push 0
push 0
push 0
push 0x45f020
push 0xa
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
mov ecx, dword [ebp - 0x6c]
call fcn.00460cb0
mov dword [eax], esi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00402c20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ba1db
mov esp, ebp
pop ebp
ret

Function at 0x466380
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x580ca0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x118], 0
mov byte [ebp - 0x110], 0
push 0x103
push 0
lea eax, [ebp - 0x10f]
push eax
call fcn.004ba280
add esp, 0xc
push 0
push 0x1a
lea ecx, [ebp - 0x110]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov dword [ebp - 0x114], eax
lea edx, [ebp - 0x110]
push edx
mov ecx, dword [ebp + 8]
call fcn.00403470
mov eax, dword [ebp - 0x118]
or eax, 1
mov dword [ebp - 0x118], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ba1db
mov esp, ebp
pop ebp
ret