joyce8/EMBER2024-capa huggingface dataset:
Function at 0x417150
Capabilities:
Check if file exists
Copy file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48f1d8
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4c51d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx]
mov ecx, dword [ebp + 0x10]
mov ecx, dword [ecx]
mov edx, dword [ebp + 0xc]
mov edx, dword [edx]
mov esi, dword [ebp + 8]
mov esi, dword [esi]
push eax
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea esi, [ebp - 0x14]
lea eax, [ebx + 4]
call fcn.0046ce40
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4171b6
test al, 0x10
jne 0x4171b6
mov eax, 1
jmp 0x4171b8
xor eax, eax
test eax, eax
mov eax, dword [ebp - 0x14]
sete byte [ebp - 0xd]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4171dd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [ebp - 0xd], 0
je 0x417271
lea esi, [ebp + 0xc]
lea eax, [ebx + 4]
call fcn.0046ce40
mov edi, eax
lea esi, [ebp + 0x10]
mov eax, ebx
mov dword [ebp - 4], 0
call fcn.0046ce40
mov edi, dword [edi]
mov eax, dword [eax]
push 1
push 0
push 0
push 0
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileExW]
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417238
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41728d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebx + 4]
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
push ecx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x419500
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x240
mov eax, dword [0x4c51d0]
xor eax, esp
mov dword [esp + 0x23c], eax
push ebx
push esi
test edi, edi
jne 0x419536
xor eax, eax
pop esi
pop ebx
mov ecx, dword [esp + 0x23c]
xor ecx, esp
call fcn.0046e5d5
mov esp, ebp
pop ebp
ret
push 0
push 2
mov dword [esp + 0x14], 1
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x4195ae
push 0x228
lea eax, [esp + 0x18]
push 0
push eax
call fcn.004720e0
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
push esi
mov dword [esp + 0x18], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x419520
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpW]
push edi
lea edx, [esp + 0x38]
push edx
call ebx
test eax, eax
jne 0x41959e
mov eax, dword [esp + 0x18]
push eax
call fcn.00419270
add esp, 4
mov dword [esp + 0xc], eax
lea ecx, [esp + 0x10]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x419581
mov ecx, dword [esp + 0x244]
mov eax, dword [esp + 0xc]
pop esi
pop ebx
xor ecx, esp
call fcn.0046e5d5
mov esp, ebp
pop ebp
ret
Function at 0x41d4e0
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4951ee
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x4c51d0]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push esi
push edi
mov eax, dword [0x4c51d0]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov ebx, 1
xor edi, edi
test byte [sym.Install.exe____B_1__get_instance___singleton_VCFpFunshionIni___serialization_boost__CAAAVCFpFunshionIni__XZ_51], bl
jne 0x41d54a
or dword [sym.Install.exe____B_1__get_instance___singleton_VCFpFunshionIni___serialization_boost__CAAAVCFpFunshionIni__XZ_51], ebx
mov dword [esp + 0x70], edi
call fcn.00416ba0
push 0x49c7a0
call fcn.0046e898
add esp, 4
mov dword [esp + 0x70], 0xffffffff
xor eax, eax
cmp eax, 0x4d007c
je 0x41d64c
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x70], ebx
push ecx
xor esi, esi
mov dword [esp + 0x20], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x41d593
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
push edi
push esi
lea edx, [esp + 0x20]
push 0x4a8be0
push edx
call fcn.0040d860
mov esi, dword [esp + 0x28]
add esp, 0x10
push esi
lea ecx, [esp + 0x18]
call fcn.00401c40
push 0x4a8304
lea ecx, [esp + 0x14]
mov byte [esp + 0x74], 2
call fcn.00401c40
mov eax, dword [0x4d007c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push eax
mov eax, dword [0x4cfc00]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d604
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x70], bl
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d628
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov dword [esp + 0x70], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d64c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.0046e5d5
mov esp, ebp
pop ebp
ret
Function at 0x41f090
Capabilities:
Check if file exists
Copy file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x493b20
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4c51d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x4a86ec
lea ecx, [ebp - 0x14]
mov edi, 1
call fcn.00401c40
push 0x25
lea esi, [ebp - 0x1c]
mov dword [ebp - 4], 0
call fcn.0040e9c0
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x10]
push edx
mov ebx, eax
mov byte [ebp - 4], 1
call fcn.004078b0
add esp, 0xc
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f114
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41f127
test al, 0x10
je 0x41f199
lea ecx, [ebp - 0x20]
call fcn.0040e7f0
lea edx, [ebp - 0x14]
push edx
lea ecx, [ebp - 0x18]
push ecx
mov ebx, eax
mov byte [ebp - 4], 4
call fcn.004078b0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
add esp, 8
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41f168
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
push 1
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov edi, eax
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f199
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f1bc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f1e2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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
Function at 0x41fee0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x495c7e
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x4c51d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x206
xor esi, esi
lea ecx, [ebp - 0x216]
xor eax, eax
push esi
push ecx
mov word [ebp - 0x218], ax
call fcn.004720e0
add esp, 0xc
test byte [sym.Install.exe____B_1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_51], 1
jne 0x41ff58
or dword [sym.Install.exe____B_1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_51], 1
mov dword [ebp - 4], esi
call fcn.00421b60
push 0x49c880
call fcn.0046e898
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea edx, [ebp - 0x21c]
push edx
push sym.Install.exe__t__1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_4V__singleton_wrapp
call fcn.00422e50
mov ecx, dword [0x4cfc2c]
mov edx, dword [eax]
push ecx
push edx
lea eax, [ebp - 0x218]
push 0x4a7d08
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
add esp, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41ffaa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x38
lea ecx, [ebp - 0x254]
push esi
push ecx
call fcn.004720e0
add esp, 0xc
lea eax, [ebp - 0x258]
lea edx, [ebp - 0x218]
mov dword [ebp - 0x23c], esi
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push eax
mov dword [ebp - 0x258], 0x3c
mov dword [ebp - 0x254], 0x500
mov dword [ebp - 0x248], edx
mov dword [ebp - 0x244], 0x4a8afc
call esi
lea edx, [ebp - 0x258]
lea ecx, [ebp - 0x218]
push edx
mov dword [ebp - 0x258], 0x3c
mov dword [ebp - 0x254], 0x500
mov dword [ebp - 0x248], ecx
mov dword [ebp - 0x244], 0x4a8b0c
mov dword [ebp - 0x23c], 0
call esi
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046e5d5
mov esp, ebp
pop ebp
ret
Function at 0x421fc0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x493a1a
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4c51d0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov edi, edx
mov eax, esi
call fcn.0040bb10
test eax, eax
je 0x4220f9
mov edx, esi
call fcn.004224e0
test eax, eax
jne 0x422024
mov eax, 0x80004005
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push esi
lea eax, [esp + 0x20]
push eax
call fcn.004225e0
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ebx, 0x4a56e4
mov dword [esp + 0x40], 0
call fcn.00406750
mov edx, dword [ebp + 8]
push edx
lea ecx, [esp + 0x20]
push ecx
mov ebx, eax
mov byte [esp + 0x48], 1
call fcn.004078b0
add esp, 0x10
mov byte [esp + 0x38], 3
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x422084
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x38], 4
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4220a9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push ecx
call esi
test eax, eax
jne 0x422113
mov edx, dword [esp + 0x14]
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov eax, dword [esp + 0x14]
push eax
call esi
test eax, eax
jne 0x422113
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4220f9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
push eax
mov dword [esp + 0x28], edi
call fcn.004015d0
lea esi, [eax + 0x10]
add esp, 4
mov dword [esp + 0x28], esi
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x24]
mov bl, 5
push edx
mov byte [esp + 0x40], bl
call fcn.004247b0
push eax
add edi, 4
mov byte [esp + 0x3c], 6
call fcn.00425290
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x3c], bl
call fcn.004253d0
lea eax, [esi - 0x10]
mov byte [esp + 0x38], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422180
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4221a8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x422d60
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x494960
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push edi
mov eax, dword [0x4c51d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x14]
push eax
xor edi, edi
push ecx
mov dword [ebp - 0x14], edi
call fcn.00422e50
lea edx, [ebp - 0x10]
push 0x4cfc48
push edx
mov ebx, eax
mov dword [ebp - 4], edi
call fcn.004078b0
add esp, 8
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
or edi, 0xffffffff
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422dd1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, edi
je 0x422de3
test al, 0x10
je 0x422e02
push 0x4a59e4
mov ecx, esi
call fcn.00401c40
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
lock xadd dword [edx], edi
dec edi
jmp 0x422e27
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.004015d0
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x422e35
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x423d70
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x492230
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
mov eax, dword [0x4c51d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x4a913c
lea ecx, [ebp - 0x10]
call fcn.00401c40
lea esi, [ebp - 0x20]
mov dword [ebp - 4], 0
call fcn.0040e710
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x1c]
push edx
mov ebx, eax
mov byte [ebp - 4], 1
call fcn.004078b0
mov esi, eax
lea eax, [ebp - 0x18]
push 0x4cfc3c
push eax
mov ebx, 0x4a56e4
mov byte [ebp - 4], 2
call fcn.00406750
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x14]
push edx
mov ebx, eax
mov byte [ebp - 4], 3
call fcn.004078b0
mov esi, dword [esi]
mov eax, dword [eax]
add esp, 0x18
push 0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423e22
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423e45
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423e68
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423e8b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423eb1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x425bf0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4938c9
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x4c51d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x58], ebx
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov edi, ecx
mov ecx, section..data
mov dword [ebp - 0x5c], edi
call edx
add eax, 0x10
mov dword [edi], eax
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x58], 1
call fcn.0040f900
mov dword [ebp - 4], 1
call fcn.00404f50
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x54]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425c7b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [edi]
cmp dword [ecx - 0xc], ebx
jne 0x425d01
push 0x3e
lea eax, [ebp - 0x4e]
xor edx, edx
push ebx
push eax
mov word [ebp - 0x50], dx
call fcn.004720e0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
xor edx, edx
mov ecx, 0x41
cmp eax, ebx
je 0x425cc3
cmp ecx, 0x5a
jg 0x425cc3
cmp edx, 0x20
jge 0x425cc3
test al, 1
je 0x425cbc
mov word [ebp + edx*2 - 0x50], cx
inc edx
shr eax, 1
inc ecx
cmp eax, ebx
jne 0x425ca8
lea ecx, [ebp - 0x50]
push ecx
lea edx, [ebp - 0x54]
push edx
call fcn.0040f600
add esp, 8
mov dword [ebp - 4], 2
call fcn.00404f50
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x54]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425d01
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0xe
push 0x4a95dc
mov ebx, edi
call fcn.0040d430
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046e5d5
mov esp, ebp
pop ebp
ret
Function at 0x425d30
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x494cee
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4c51d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.004015d0
lea ebx, [eax + 0x10]
add esp, 4
mov dword [ebp + 8], ebx
mov dword [ebp - 4], 0
cmp dword [ebx - 0xc], 2
jne 0x425d8c
push 1
push 0x4a56e4
lea ebx, [ebp + 8]
call fcn.0040d430
mov ebx, dword [ebp + 8]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathIsRootW]
or esi, 0xffffffff
test eax, eax
je 0x425de0
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x10]
push edx
mov ebx, 0x4a6e7c
call fcn.00406750
add esp, 8
lea edi, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.00404f50
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425ddd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [ebp + 8]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push ebx
call edi
test eax, eax
jne 0x425dfc
push ebx
push eax
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push ebx
call edi
test eax, eax
je 0x425e73
test byte [sym.Install.exe____B_1__get_instance___singleton_VCFpFunshionIni___serialization_boost__CAAAVCFpFunshionIni__XZ_51], 1
jne 0x425e26
or dword [sym.Install.exe____B_1__get_instance___singleton_VCFpFunshionIni___serialization_boost__CAAAVCFpFunshionIni__XZ_51], 1
mov byte [ebp - 4], 2
call fcn.00416ba0
push 0x49c7a0
call fcn.0046e898
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
push ecx
push 0x4cfc68
mov ecx, 0x4cfc64
mov edi, sym.Install.exe__t__1__get_instance___singleton_VCFpFunshionIni___serialization_boost__CAAAVCFpFunshionIni__XZ_4V__singleton_wrapp
call fcn.00416ec0
add ebx, 0xfffffff0
mov dword [ebp - 4], esi
lea edx, [ebx + 0xc]
lock xadd dword [edx], esi
dec esi
test esi, esi
jg 0x425e5a
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov eax, 1
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
lea eax, [ebx - 0x10]
mov dword [ebp - 4], esi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x425e8f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
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 0x426b70
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x54
mov eax, dword [0x4c51d0]
xor eax, esp
mov dword [esp + 0x50], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
cmp dword [esp + 0x24], 0
ja 0x426c96
jb 0x426bc2
cmp dword [esp + 0x20], 0x40000000
ja 0x426c96
mov eax, dword [edi]
mov esi, dword [eax]
cmp esi, eax
je 0x426c96
mov edi, edi
mov edx, dword [esi + 8]
mov eax, dword [edx]
push 0x4a976c
push eax
call fcn.0046f5dc
add esp, 8
test eax, eax
jne 0x426c8c
mov eax, dword [esp + 0x10]
mov edi, dword [eax]
mov ecx, dword [edi + 4]
push ecx
push edi
lea ecx, [esi + 8]
call fcn.0042ad10
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + 4]
mov edx, 0x1ffffffe
sub edx, ecx
cmp edx, 1
jb 0x426caa
mov edx, dword [esp + 0x10]
inc ecx
mov dword [edx + 4], ecx
mov edx, dword [esp + 0xc]
mov dword [edi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
mov eax, dword [esi]
mov dword [esp + 0x14], eax
cmp esi, dword [edx]
je 0x426c84
mov ecx, dword [esi + 4]
mov dword [ecx], eax
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov dword [edx + 4], eax
mov edi, dword [esi + 0xc]
test edi, edi
je 0x426c70
lea ecx, [edi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x426c70
mov eax, dword [edi]
mov edx, dword [eax]
mov ecx, edi
call edx
lea eax, [edi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x426c70
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
push esi
call fcn.0046e5ca
mov eax, dword [esp + 0x10]
add esp, 4
dec dword [eax + 4]
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0xc]
mov esi, eax
jmp 0x426c8e
mov esi, dword [esi]
cmp esi, dword [edi]
jne 0x426bd0
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0046e5d5
mov esp, ebp
pop ebp
ret 4
push 0x4a5ed4
call fcn.0046da14
int3