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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5955b6
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x62f018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ecx, 0x6355a1
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 4], 0
mov dword [ebp - 0x128], esi
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x130], 0
call fcn.00561ea5
mov dword [esi], 0xffffffff
mov dword [esi + 4], 0xffffffff
lea eax, [ebp - 0x124]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x130], 1
mov dword [ebp - 0x124], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 2
jne 0x4e627b
cmp dword [ebp - 0x120], 5
jne 0x4e627b
cmp dword [ebp - 0x11c], 1
jne 0x4e627b
push dword [ebp - 0x128]
mov edx, edi
lea ecx, [ebp - 0x12c]
push ebx
call fcn.004e42f0
add esp, 8
mov dword [ebp - 4], 1
mov ecx, dword [eax]
mov dword [esi], ecx
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
jmp 0x4e62a3
push dword [ebp - 0x128]
mov edx, edi
lea ecx, [ebp - 0x12c]
push ebx
call fcn.004e3e60
add esp, 8
mov dword [ebp - 4], 2
mov ecx, dword [eax]
mov dword [esi], ecx
mov eax, dword [eax + 4]
mov dword [esi + 4], eax
mov byte [ebp - 4], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052f553
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4e73f0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59588c
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x62f018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x250], ecx
mov edi, dword [ebp + 8]
mov ecx, 0x6355a1
mov dword [ebp - 0x244], 0
call fcn.00561ea5
push 0
xor bl, bl
push 2
mov byte [ebp - 0x23d], bl
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x4e7509
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x23c], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x4e7502
mov ebx, dword [sym.imp.KERNEL32.dll_Process32NextW]
nop
cmp dword [ebp - 0x234], edi
je 0x4e74f5
lea eax, [ebp - 0x23c]
push eax
push esi
call ebx
test eax, eax
jne 0x4e7480
mov al, byte [ebp - 0x23d]
xorps xmm0, xmm0
movlpd qword [ebp - 0x24c], xmm0
test al, al
je 0x4e74f9
mov ecx, dword [ebp - 0x250]
lea edx, [ebp - 0x24c]
push edx
push edi
lea edx, [ebp - 0x254]
mov eax, dword [ecx]
push edx
call dword [eax + 0x38]
mov dword [ebp - 4], 0
cmp dword [eax], 0
mov dword [ebp - 0x244], 1
jne 0x4e74f9
mov eax, dword [ebp - 0x24c]
cmp eax, dword [ebp + 0xc]
jne 0x4e74f9
mov eax, dword [ebp - 0x248]
cmp eax, dword [ebp + 0x10]
jne 0x4e74f9
mov bl, 1
jmp 0x4e74fb
mov al, 1
jmp 0x4e749c
xor bl, bl
mov dword [ebp - 4], 0xffffffff
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052f553
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4e7d10
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x595a80
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x62f018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x20], edi
mov ecx, 0x634bd5
call fcn.00561ea5
mov dword [ebp - 4], 0xffffffff
mov dword [edi], 0
mov dword [edi + 4], 0
push 0
push 0
call fcn.004d78b0
mov dword [ebp - 4], 0xffffffff
mov dword [edi], eax
mov dword [ebp - 4], 9
mov byte [ebp - 4], 0xd
mov byte [ebp - 4], 0xc
mov byte [ebp - 4], 0xe
mov byte [ebp - 4], 0x11
mov byte [ebp - 4], 0x10
mov byte [ebp - 4], 0xf
mov byte [ebp - 4], 0xb
mov eax, dword [edi]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0x14
mov byte [ebp - 4], 0x13
mov byte [ebp - 4], 0x15
mov byte [ebp - 4], 0x18
mov byte [ebp - 4], 0x17
mov byte [ebp - 4], 0x16
mov byte [ebp - 4], 0x12
mov edx, dword [ebp + 8]
mov ecx, dword [edx]
mov dword [ebp - 0x18], ecx
mov byte [ebp - 4], 0x1b
mov byte [ebp - 4], 0x1a
mov byte [ebp - 4], 0x1c
mov byte [ebp - 4], 0x1f
mov byte [ebp - 4], 0x1e
mov byte [ebp - 4], 0x1d
mov byte [ebp - 4], 0x19
mov ecx, dword [edx]
mov ecx, dword [ecx]
mov dword [ebp - 0x1c], ecx
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
mov byte [ebp - 4], 0x22
mov byte [ebp - 4], 0x21
mov byte [ebp - 4], 0x23
mov byte [ebp - 4], 0x20
mov byte [ebp - 4], 0x26
mov byte [ebp - 4], 0x25
mov byte [ebp - 4], 0x27
mov byte [ebp - 4], 0x2a
mov byte [ebp - 4], 0x29
mov byte [ebp - 4], 0x28
mov byte [ebp - 4], 0x24
mov esi, dword [edi]
mov esi, dword [esi]
mov dword [ebp + 8], esi
mov byte [ebp - 4], 0xa
push dword [ebp + 8]
push ecx
push edx
mov ecx, edi
push eax
cmp eax, dword [ebp + 8]
jne 0x4e7e5d
call fcn.004eadf0
mov byte [ebp - 4], 0x2d
mov byte [ebp - 4], 0x2c
mov byte [ebp - 4], 0x2e
mov byte [ebp - 4], 0x31
mov byte [ebp - 4], 0x30
mov byte [ebp - 4], 0x2f
mov byte [ebp - 4], 0x2b
mov byte [ebp - 4], 0xa
jmp 0x4e7e62
call fcn.004eadf0
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4e7ff0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x595af0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x62f018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x20], edi
mov ecx, 0x634bd5
call fcn.00561ea5
mov dword [ebp - 4], 0xffffffff
mov dword [edi], 0
mov dword [edi + 4], 0
push 0
push 0
call fcn.004d7a80
mov dword [ebp - 4], 0xffffffff
mov dword [edi], eax
mov dword [ebp - 4], 9
mov byte [ebp - 4], 0xd
mov byte [ebp - 4], 0xc
mov byte [ebp - 4], 0xe
mov byte [ebp - 4], 0x11
mov byte [ebp - 4], 0x10
mov byte [ebp - 4], 0xf
mov byte [ebp - 4], 0xb
mov eax, dword [edi]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0x14
mov byte [ebp - 4], 0x13
mov byte [ebp - 4], 0x15
mov byte [ebp - 4], 0x18
mov byte [ebp - 4], 0x17
mov byte [ebp - 4], 0x16
mov byte [ebp - 4], 0x12
mov edx, dword [ebp + 8]
mov ecx, dword [edx]
mov dword [ebp - 0x18], ecx
mov byte [ebp - 4], 0x1b
mov byte [ebp - 4], 0x1a
mov byte [ebp - 4], 0x1c
mov byte [ebp - 4], 0x1f
mov byte [ebp - 4], 0x1e
mov byte [ebp - 4], 0x1d
mov byte [ebp - 4], 0x19
mov ecx, dword [edx]
mov ecx, dword [ecx]
mov dword [ebp - 0x1c], ecx
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
mov byte [ebp - 4], 0x22
mov byte [ebp - 4], 0x21
mov byte [ebp - 4], 0x23
mov byte [ebp - 4], 0x20
mov byte [ebp - 4], 0x26
mov byte [ebp - 4], 0x25
mov byte [ebp - 4], 0x27
mov byte [ebp - 4], 0x2a
mov byte [ebp - 4], 0x29
mov byte [ebp - 4], 0x28
mov byte [ebp - 4], 0x24
mov esi, dword [edi]
mov esi, dword [esi]
mov dword [ebp + 8], esi
mov byte [ebp - 4], 0xa
push dword [ebp + 8]
push ecx
push edx
mov ecx, edi
push eax
cmp eax, dword [ebp + 8]
jne 0x4e813d
call fcn.004eafd0
mov byte [ebp - 4], 0x2d
mov byte [ebp - 4], 0x2c
mov byte [ebp - 4], 0x2e
mov byte [ebp - 4], 0x31
mov byte [ebp - 4], 0x30
mov byte [ebp - 4], 0x2f
mov byte [ebp - 4], 0x2b
mov byte [ebp - 4], 0xa
jmp 0x4e8142
call fcn.004eafd0
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x5030a0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59c7ed
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x62f018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 5
lea esi, [ebx + 0x7c]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 7
mov ecx, esi
call fcn.00408740
mov byte [ebp - 4], 5
mov byte [ebp - 4], 4
lea esi, [ebx + 0x64]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 0xb
mov ecx, esi
call fcn.00408740
mov byte [ebp - 4], 4
mov byte [ebp - 4], 3
lea esi, [ebx + 0x4c]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 0xf
mov ecx, esi
call fcn.00408740
mov byte [ebp - 4], 3
mov byte [ebp - 4], 2
lea esi, [ebx + 0x30]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 0x13
mov ecx, esi
call fcn.00408740
mov byte [ebp - 4], 2
mov byte [ebp - 4], 1
lea esi, [ebx + 0x14]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 0x17
mov ecx, esi
call fcn.00408740
mov byte [ebp - 4], 1
mov byte [ebp - 4], 0
lea edi, [ebx + 8]
mov eax, dword [edi]
test eax, eax
je 0x5031c0
push edi
push dword [edi + 4]
push eax
call fcn.00475200
mov ecx, dword [edi + 8]
mov eax, 0x2aaaaaab
mov esi, dword [edi]
add esp, 0xc
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
shl ecx, 3
cmp ecx, 0x1000
jb 0x5031a2
mov edx, dword [esi - 4]
add ecx, 0x23
sub esi, edx
lea eax, [esi - 4]
cmp eax, 0x1f
ja 0x5031df
mov esi, edx
push ecx
push esi
call fcn.0052f594
add esp, 8
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [ebp - 4], 0xffffffff
mov dword [ebx], vtable.RCJson::StreamWriter.0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x518218
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov ecx, 0x6355a1
call fcn.00561ea5
xor ebx, ebx
lea esi, [edi + 0xa0]
push 0x34
push ebx
push esi
mov dword [ebp - 8], ebx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [edi + 0x8c]
push eax
lea eax, [ebp - 8]
push eax
push 0x34
push esi
push dword [edi + 0x3c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
setne cl
mov byte [ebp - 1], cl
test eax, eax
jne 0x518271
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov cl, byte [ebp - 1]
mov ebx, eax
test cl, cl
jne 0x518288
cmp ebx, 0x3e5
je 0x518288
push 0xa
mov ecx, edi
call fcn.005185aa
jmp 0x518292
mov dword [edi + 0x84], 5
pop edi
pop esi
pop ebx
leave
ret
Function at 0x5237f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a187e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
call fcn.0052d600
lea esi, [edi + 4]
mov dword [edi], vtable.Poco::JSON::ParseHandler.0
push 8
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.0052f564
mov dword [esi], eax
add esp, 4
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax], esi
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0xf
mov byte [edi + 0x18], 0
lea ecx, [edi + 0x30]
mov byte [ebp - 4], 2
call fcn.00537c20
mov al, byte [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov byte [edi + 0x34], al
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x531480
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 4]
test ecx, ecx
jne 0x531499
jmp 0x531528
mov edx, dword [ebp - 4]
mov byte [edx + 4], 0
push 0
mov ecx, dword [ebp - 4]
call fcn.00430030
movzx eax, al
test eax, eax
je 0x531528
mov ecx, dword [ebp - 4]
call fcn.0042ff90
mov ecx, eax
call fcn.004b7ee0
movzx ecx, al
test ecx, ecx
je 0x53151e
push 0x7d0
mov ecx, dword [ebp - 4]
call fcn.0042ff90
mov ecx, eax
call fcn.004b7d10
movzx edx, al
test edx, edx
jne 0x53151e
mov ecx, dword [ebp - 4]
call fcn.0042ff90
mov ecx, eax
call fcn.004b7e20
push eax
push 0
push 0x1f03ff
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x53151e
push 0xfffffffffffffffe
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
mov ecx, dword [ebp - 4]
call fcn.0042ffb0
mov esp, ebp
pop ebp
ret
Function at 0x550f20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a5329
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
mov dword [ebp - 0x10], 0
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
push 0
push 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edi, eax
test edi, edi
je 0x55100e
xor ecx, ecx
mov dword [ebp - 0x20], edi
mov edx, 2
mov dword [ebp - 0x1c], edi
mul edx
mov byte [ebp - 0x14], 1
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0052ffb8
mov ebx, eax
add esp, 4
mov dword [ebp - 0x18], ebx
push ebx
push edi
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x551002
cmp eax, edi
ja 0x551002
push esi
push ebx
call fcn.00544160
mov ecx, dword [esi + 0x10]
add esp, 8
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x550fd1
mov eax, dword [esi]
cmp byte [eax + ecx - 1], 0x5c
je 0x550fe6
push 1
push 0x5b2300
mov ecx, esi
call fcn.00433a40
push ebx
call fcn.0052fc78
mov ecx, dword [ebp - 0xc]
add esp, 4
mov eax, esi
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0
call fcn.0054ffc0
push str.Cannot_get_current_directory
lea ecx, [ebp - 0x28]
call fcn.0040e8f0
push 0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 2
push eax
lea ecx, [ebp - 0x54]
call fcn.0053ced0
push 0x62af14
lea eax, [ebp - 0x54]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x5512a0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a5388
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push esi
xor eax, eax
mov dword [ebp - 0x24], 0
push edi
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x34]
push eax
push esi
call fcn.00543880
push 0xfffe
mov dword [ebp - 0x1c], 0x7fff
mov dword [ebp - 0x18], 0x7fff
mov byte [ebp - 0x10], 1
call fcn.0052ffb8
mov edi, eax
add esp, 0xc
mov dword [ebp - 0x14], edi
cmp dword [ebp - 0x20], 8
lea ecx, [ebp - 0x34]
push 0x7fff
cmovae ecx, dword [ebp - 0x34]
push edi
push ecx
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x5513f3
cmp eax, 0x7ffe
jae 0x5513f3
lea esi, [eax + 1]
cmp esi, 0x7fff
jb 0x551358
push 0
push pe_nt_image_headers32
push str.e:xhsundcode_remote_trunk_rhinopcinfrastructure_thirdpartypoco_src_foundationincludepoco_buffer.h
push str.index____used
call fcn.005406b0
add esp, 0x10
xor eax, eax
mov word [edi + esi*2], ax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], al
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 2
push eax
push edi
call fcn.00544160
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x4c]
movups xmm0, xmmword [ebp - 0x4c]
add esp, 8
mov byte [ebp - 0x4c], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x3c]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
call fcn.004081e0
push edi
call fcn.0052fc78
mov edx, dword [ebp - 0x20]
add esp, 4
cmp edx, 8
jb 0x55140a
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x551400
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x551400
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.004727f0
jmp 0x5513b8
push edx
push ecx
call fcn.0052f594
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x5533b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a55d1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push esi
mov dword [ebp - 0x10], 0
push edi
push 0xfffe
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 0x7fff
mov dword [ebp - 0x1c], 0x7fff
mov byte [ebp - 0x14], 1
call fcn.0052ffb8
mov edi, eax
add esp, 4
mov dword [ebp - 0x18], edi
push 0x7fff
push edi
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x553489
push 0x7fff
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test eax, eax
je 0x55349c
mov esi, dword [ebp + 8]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
push esi
push edi
mov dword [ebp - 0x10], 1
call fcn.00544160
mov ecx, dword [esi + 0x10]
add esp, 8
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x553459
mov eax, dword [esi]
cmp byte [eax + ecx - 1], 0x5c
je 0x55346e
push 1
push 0x5b2300
mov ecx, esi
call fcn.00433a40
push edi
call fcn.0052fc78
mov ecx, dword [ebp - 0xc]
add esp, 4
mov eax, esi
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push str.Cannot_get_temporary_directory_path
lea ecx, [ebp - 0x38]
call fcn.0040e8f0
mov byte [ebp - 4], 3
jmp 0x5534ad
push str.Cannot_get_system_directory_long_path_name
lea ecx, [ebp - 0x38]
call fcn.0040e8f0
mov byte [ebp - 4], 2
push 0
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x64]
call fcn.0053ced0
push 0x62af14
lea eax, [ebp - 0x64]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3

Function at 0x553530
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a5611
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push esi
mov dword [ebp - 0x10], 0
push edi
push 0xfffe
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 0x7fff
mov dword [ebp - 0x1c], 0x7fff
mov byte [ebp - 0x14], 1
call fcn.0052ffb8
mov edi, eax
add esp, 4
mov dword [ebp - 0x18], edi
push edi
push 0x7fff
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x553609
push 0x7fff
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test eax, eax
je 0x55361c
mov esi, dword [ebp + 8]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
push esi
push edi
mov dword [ebp - 0x10], 1
call fcn.00544160
mov ecx, dword [esi + 0x10]
add esp, 8
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x5535d9
mov eax, dword [esi]
cmp byte [eax + ecx - 1], 0x5c
je 0x5535ee
push 1
push 0x5b2300
mov ecx, esi
call fcn.00433a40
push edi
call fcn.0052fc78
mov ecx, dword [ebp - 0xc]
add esp, 4
mov eax, esi
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push str.Cannot_get_temporary_directory_path
lea ecx, [ebp - 0x38]
call fcn.0040e8f0
mov byte [ebp - 4], 3
jmp 0x55362d
push str.Cannot_get_temporary_directory_long_path_name
lea ecx, [ebp - 0x38]
call fcn.0040e8f0
mov byte [ebp - 4], 2
push 0
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x64]
call fcn.0053ced0
push 0x62af14
lea eax, [ebp - 0x64]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x557520
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5a59f8
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x14], 0
lea esi, [edi + 4]
jne 0x557561
push 0
push 0x128
push str.e:xhsundcode_remote_trunk_rhinopcinfrastructure_thirdpartypoco_src_foundation_src_file_win32u.cpp
push str.__path.empty__
call fcn.005406b0
add esp, 0x10
xor eax, eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 7
mov word [ebp - 0x24], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp + 8]
call fcn.005571c0
add esp, 8
lea ecx, [ebp - 0x24]
cmp dword [ebp - 0x10], 8
lea eax, [edi + 0x1c]
cmovae ecx, dword [ebp - 0x24]
cmp dword [eax + 0x14], 8
jb 0x55759d
mov eax, dword [eax]
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x5575f9
mov edx, dword [ebp - 0x10]
pop edi
pop esi
cmp edx, 8
jb 0x5575e9
mov ecx, dword [ebp - 0x24]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5575df
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x5575df
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0052f594
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
push esi
call fcn.00557a70
int3

Function at 0x557880
Capabilities:
Check if file exists
Get disk size
Get file attributes

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x14], 0
jne 0x55789f
push 0
push 0x5e
push str.e:xhsundcode_remote_trunk_rhinopcinfrastructure_thirdpartypoco_src_foundation_src_file_win32u.cpp
push str.__path.empty__
call fcn.005406b0
add esp, 0x10
cmp dword [esi + 0x30], 8
lea eax, [esi + 0x1c]
jb 0x5578aa
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x5578d6
call dword [sym.imp.KERNEL32.dll_GetLastError]
add eax, 0xfffffffe
cmp eax, 0x13
ja case.0x5578cb.4
movzx eax, byte [eax + 0x5578ec]
jmp dword [eax*4 + 0x5578e4]
xor al, al
pop esi
ret
mov al, 1
pop esi
ret
lea eax, [esi + 4]
push eax
call fcn.00557a70
nop
sar byte [eax + 0x55], cl
add dl, bl
js 0x557940
add byte [eax], al
add byte [ecx], al
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add byte [ecx], al
add dword [ecx], eax
add dword [ecx], eax
add cl, ch
or eax, dword [eax]
add byte [eax], al
int3
lea ecx, [esp + 4]
push ecx
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x557961
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
pop esi
add esp, 8
ret
lea eax, [esi + 4]
push eax
call fcn.00557a70
int3
Function at 0x5578e4
Capabilities:
Get disk size

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x14], 0
jne 0x55789f
push 0
push 0x5e
push str.e:xhsundcode_remote_trunk_rhinopcinfrastructure_thirdpartypoco_src_foundation_src_file_win32u.cpp
push str.__path.empty__
call fcn.005406b0
add esp, 0x10
cmp dword [esi + 0x30], 8
lea eax, [esi + 0x1c]
jb 0x5578aa
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x5578d6
call dword [sym.imp.KERNEL32.dll_GetLastError]
add eax, 0xfffffffe
cmp eax, 0x13
ja case.0x5578cb.4
movzx eax, byte [eax + 0x5578ec]
jmp dword [eax*4 + 0x5578e4]
xor al, al
pop esi
ret
mov al, 1
pop esi
ret
lea eax, [esi + 4]
push eax
call fcn.00557a70
nop
sar byte [eax + 0x55], cl
add dl, bl
js 0x557940
add byte [eax], al
add byte [ecx], al
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add byte [ecx], al
add dword [ecx], eax
add dword [ecx], eax
add cl, ch
or eax, dword [eax]
add byte [eax], al
int3
lea ecx, [esp + 4]
push ecx
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x557961
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
pop esi
add esp, 8
ret
lea eax, [esi + 4]
push eax
call fcn.00557a70
int3