joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43300a
Capabilities:
Get proxy

Disassembly:
mov eax, 0x598d03
call fcn.00595190
sub esp, 0x428
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x24], 0x104
mov esi, 0x206
push esi
lea eax, [ebp - 0x22a]
push ebx
mov dword [ebp - 4], ebx
push eax
mov word [ebp - 0x22c], bx
call fcn.0049bec0
push esi
lea eax, [ebp - 0x432]
push ebx
push eax
mov word [ebp - 0x434], bx
call fcn.0049bec0
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
add esp, 0x18
lea eax, [ebp - 0x1c]
push eax
push 1
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
mov edi, SysReAllocStringLen
push edi
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x1c], ebx
call esi
cmp eax, ebx
jne 0x4330ae
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x20]
push eax
push str.ProxyEnable
lea eax, [ebp - 0x10]
push eax
call fcn.00433cde
cmp dword [ebp - 0x10], ebx
je 0x4330ae
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
cmp dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
je 0x4330c2
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x14], ebx
je 0x4331f3
lea eax, [ebp - 0x10]
push eax
push 1
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push edi
mov dword [ebp - 0x10], ebx
call esi
cmp eax, ebx
jne 0x4331f3
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
push str.ProxyServer
lea eax, [ebp - 0x14]
push eax
lea esi, [ebp - 0x24]
lea edi, [ebp - 0x22c]
call fcn.004187db
cmp eax, ebx
jne 0x4331e5
cmp word [ebp - 0x22c], bx
je 0x4331e5
mov eax, edi
push 0x104
push eax
call fcn.0049bc95
mov esi, dword [ebp + 8]
mov edi, str.socks
lea eax, [ebp - 0x22c]
push edi
push eax
mov dword [esi], 2
call fcn.0049b9e0
add esp, 0x10
cmp eax, ebx
mov dword [ebp + 8], eax
je 0x43316a
mov dword [esi], 3
push edi
call fcn.0049bdc3
mov ecx, dword [ebp + 8]
lea eax, [ecx + eax*2]
push eax
lea eax, [ebp - 0x434]
push eax
call fcn.00433cbe
jmp 0x4331a3
mov edi, str.http
lea eax, [ebp - 0x22c]
push edi
push eax
call fcn.0049b9e0
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp + 8], eax
mov dword [esi], 2
jne 0x43314f
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x434]
push 0x104
push eax
call fcn.0049be46
add esp, 0xc
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp + 8]
push eax
call fcn.004328f9
mov esi, dword [ebp + 0x10]
push dword [ebp + 0xc]
mov ecx, esi
lea ebx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.00433207
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004011c0
mov eax, dword [esi]
xor ebx, ebx
cmp dword [eax - 0xc], ebx
je 0x4331e5
mov dword [ebp - 0x18], 1
cmp dword [ebp - 0x10], ebx
je 0x4331f3
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x4346c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebx]
xor ecx, ecx
cmp eax, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], ecx
je 0x43474e
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea edx, [ebp - 4]
push edx
push ecx
lea edx, [ebp - 8]
push edx
push ecx
push dword [ebp + 8]
push eax
call edi
cmp dword [ebp - 8], 1
je 0x4346f7
cmp dword [ebp - 8], 2
jne 0x43474d
push esi
mov esi, dword [ebp + 0xc]
call fcn.0040146d
mov eax, dword [ebp - 4]
shr eax, 1
inc eax
push eax
call fcn.004011f9
mov esi, eax
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 8]
push dword [ebx]
call edi
test eax, eax
jne 0x43474c
mov eax, dword [ebp - 4]
shr eax, 1
and word [esi + eax*2], 0
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
test eax, eax
je 0x43473e
push eax
call fcn.0049bdc3
pop ecx
mov edx, esi
call fcn.004011d8
mov dword [ebp - 0xc], 1
pop esi
pop edi
mov eax, dword [ebp - 0xc]
leave
ret 8

Function at 0x434755
Capabilities:
Set registry value

Disassembly:
push edi
xor edi, edi
cmp dword [esi], edi
je 0x434783
push dword [esp + 0xc]
call fcn.0049bdc3
pop ecx
lea eax, [eax + eax + 2]
push eax
push dword [esp + 0x10]
push 1
push edi
push dword [esp + 0x18]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x434783
inc edi
mov eax, edi
pop edi
ret 8

Function at 0x434b45
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
push dword [ebp + 8]
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x434bb6
xor eax, eax
mov dword [ebp - 0xc], esi
lea edi, [ebp - 8]
stosd dword es:[edi], eax
lea eax, [ebp - 0xc]
push eax
push esi
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x434bb6
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
shrd ecx, eax, 0x14
shr eax, 0x14
mov dword [ebp - 8], eax
and dword [ebp - 8], 0x80000000
and eax, 0x7fffffff
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0xc], esi
fild qword [ebp - 0x14]
fild qword [ebp - 0xc]
fchs
faddp st(1)
fcomp qword [0x5f2f10]
fnstsw ax
test ah, 1
jne 0x434bb6
inc esi
pop edi
mov eax, esi
pop esi
leave
ret

Function at 0x434bbc
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x597b71
call fcn.00595190
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
and dword [edi], 0
and dword [edi + 4], 0
mov ebx, 0x61b884
lea esi, [edi + 8]
mov ecx, ebx
call fcn.004014c8
and dword [ebp - 4], 0
lea esi, [edi + 0xc]
mov ecx, ebx
call fcn.004014c8
lea esi, [edi + 0x10]
mov ecx, ebx
mov byte [ebp - 4], 1
call fcn.004014c8
lea esi, [edi + 0x14]
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.004014c8
xor eax, eax
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], eax
mov dword [edi + 0x2c], eax
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], eax
mov ecx, dword [ebp - 0xc]
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], eax
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x4378ae
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x599d21
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x238
push ebx
push esi
push edi
mov edi, ecx
mov esi, dword [edi + 0xb8]
mov eax, esi
mov dword [esp + 0x28], esi
call fcn.0047bdf3
and dword [esp + 0x10], 0
test eax, eax
mov dword [esp + 0x24], eax
jle 0x437ab9
add edi, 0xa4
mov dword [esp + 0x18], edi
jmp 0x437906
mov esi, dword [esp + 0x28]
mov eax, esi
call fcn.0047bdf3
mov edi, dword [esp + 0x10]
cmp edi, eax
jae 0x43792d
mov eax, esi
call fcn.0047bdf3
cmp edi, eax
jb 0x437925
call fcn.0049cfc4
mov eax, dword [esi + 4]
mov ebx, dword [eax + edi*4]
jmp 0x43792f
xor ebx, ebx
lea esi, [esp + 0x20]
mov eax, ebx
call fcn.00490b75
and dword [esp + 0x24c], 0
mov eax, dword [0x61b884]
mov ecx, 0x61b884
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x38]
mov byte [esp + 0x250], 1
mov edi, dword [esp + 0x24]
push eax
push edi
push dword [esp + 0x24]
call fcn.0047f188
test eax, eax
jne 0x437a8b
lea esi, [esp + 0x30]
mov eax, ebx
call fcn.00490b8d
mov byte [esp + 0x24c], 2
push dword [eax]
lea esi, [esp + 0x3c]
call fcn.0041db14
mov byte [esp + 0x24c], 3
push dword [eax]
lea eax, [esp + 0x10]
push eax
call fcn.004328f9
lea eax, [esp + 0x3c]
cmp dword [esp + 0x38], eax
je 0x4379c4
push dword [esp + 0x38]
call fcn.0049ca88
pop ecx
mov byte [esp + 0x24c], 6
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
call fcn.004011c0
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x1c]
call fcn.0047f761
push dword [esp + 0xc]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x437a7f
lea esi, [esp + 0x2c]
mov eax, ebx
call fcn.00490ba6
mov byte [esp + 0x24c], 7
push dword [eax]
lea esi, [esp + 0x140]
call fcn.0041db14
mov byte [esp + 0x24c], 8
push dword [eax]
lea eax, [esp + 0x20]
push eax
call fcn.004328f9
lea eax, [esp + 0x140]
cmp dword [esp + 0x13c], eax
je 0x437a4a
push dword [esp + 0x13c]
call fcn.0049ca88
pop ecx
mov byte [esp + 0x24c], 0xb
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
call fcn.004011c0
push 0
push dword [esp + 0x20]
xor ecx, ecx
push dword [esp + 0x14]
inc ecx
call fcn.00481231
mov eax, dword [esp + 0x28]
add esp, 0xc
add eax, 0xfffffff0
call fcn.004011c0
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
call fcn.004011c0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.004011c0
or dword [esp + 0x24c], 0xffffffff
lea eax, [edi - 0x10]
call fcn.004011c0
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x24]
jl 0x437902
mov ecx, dword [esp + 0x244]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x437f97
Capabilities:
Delete file
Move file

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x437fb6
push 4
push eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x437fb9
xor eax, eax
inc eax
ret 4
Function at 0x437fbc
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x599c4b
call fcn.00595190
push ecx
push ecx
push ebx
push str.http:__config.i.duba.net_aldconfig_resource.png
lea eax, [ebp - 0x10]
push eax
call fcn.004328f9
and dword [ebp - 4], 0
push 0x1f4
push 0
push 0
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.00484265
mov ebx, eax
mov eax, dword [ebp - 0x10]
add esp, 0x14
add eax, 0xfffffff0
call fcn.004011c0
test ebx, ebx
jne 0x438013
push dword [edi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x438013
xor eax, eax
inc eax
jmp 0x438015
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x438ce3
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [esi + 8]
test eax, eax
je 0x438d15
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x438d08
push 0
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [esi + 8], 0
xor eax, eax
inc eax
ret
Function at 0x438e31
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
mov ebx, eax
mov eax, dword [0x61e5bc]
xor esi, esi
cmp eax, esi
push edi
mov dword [esp + 0x1c], esi
je 0x438e4e
mov ebp, dword [eax + 4]
jmp 0x438e50
xor ebp, ebp
cmp ebp, esi
jne 0x438e60
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov ebp, eax
cmp ebp, esi
je 0x438e85
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp ebp, eax
je 0x438e85
push ebp
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x438e85
push esi
push ebp
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [esp + 0x1c], 1
push ecx
mov eax, esp
mov dword [ebx + 0x51c], esi
push ebp
mov dword [eax], esi
call fcn.00439288
cmp eax, esi
mov dword [esp + 0x18], eax
jne 0x438eae
push 1
push ebp
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
jmp 0x438f8a
mov edx, eax
call fcn.0041a714
mov dword [esp + 0x20], eax
mov eax, ebp
call fcn.0040ea0a
cmp dword [ebx + 0x510], esi
je 0x438f30
push esi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push esi
push esi
push esi
push 0x2001
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0x43
push esi
push esi
push esi
push esi
push esi
push dword [esp + 0x30]
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp edi, dword [esp + 0x14]
je 0x438f14
push 1
push edi
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
cmp edi, dword [esp + 0x14]
je 0x438f30
push esi
push edi
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov edi, ebx
call fcn.0043943e
push 0x97
push esi
push esi
push esi
push esi
push esi
push dword [ebx + 4]
mov dword [ebx + 0x51c], esi
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [esp + 0x1c], esi
je 0x438f75
push 1
push ebp
call dword [sym.imp.USER32.dll_EnableWindow]
cmp ebp, esi
je 0x438f75
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [ebx + 4]
jne 0x438f75
push ebp
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov edx, dword [esp + 0x20]
call fcn.0041a714
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [ebx + 0x28]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x439025
Capabilities:
Create thread

Disassembly:
push edi
xor edi, edi
cmp dword [esi], edi
je 0x439096
cmp dword [esp + 8], edi
je 0x439096
mov eax, dword [esi + 8]
cmp eax, edi
je 0x439051
push edi
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x439051
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], edi
cmp dword [esi + 8], edi
jne 0x439096
push ebx
mov ebx, dword [esi]
push 0xc
call fcn.004656b0
cmp eax, edi
pop ecx
jne 0x439069
xor eax, eax
jmp 0x439087
mov ecx, dword [esp + 0xc]
push edi
push edi
push eax
push 0x439d4c
push edi
push edi
mov dword [eax], ebx
mov dword [eax + 8], edi
mov dword [eax + 4], ecx
call fcn.004a060a
add esp, 0x18
xor ecx, ecx
cmp eax, edi
setne cl
mov dword [esi + 8], eax
pop ebx
mov eax, ecx
jmp 0x439098
xor eax, eax
pop edi
ret 4

Function at 0x439fb5
Capabilities:
Delete file

Disassembly:
mov eax, 0x597192
call fcn.00595190
sub esp, 0x14
mov eax, dword [0x61b884]
push ebx
push esi
mov ebx, ecx
xor esi, esi
push edi
mov ecx, 0x61b884
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x10], esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
push esi
mov dword [ebp - 4], esi
mov edi, 0x61f638
mov dword [ebp - 0x1c], esi
push str.GetPacketData__d
mov esi, edi
call fcn.00486c18
pop ecx
pop ecx
lea eax, [ebp - 0x10]
push eax
push 0
mov esi, ebx
call fcn.0043a0c5
push eax
push str.GetPacketData_return:_d
mov esi, edi
mov dword [ebp - 0x14], eax
call fcn.00486c18
cmp dword [ebp - 0x14], 0
pop ecx
pop ecx
jne 0x43a02a
mov dword [ebx + 0x1c], 1
jmp 0x43a0a3
push 0x28
call fcn.004656b0
test eax, eax
pop ecx
je 0x43a040
push eax
call fcn.00474f14
mov ebx, eax
jmp 0x43a042
xor ebx, ebx
test ebx, ebx
mov dword [ebp - 0x1c], ebx
je 0x43a0a3
push str.Extract...
call fcn.00486c18
mov eax, dword [ebx]
pop ecx
push dword [ebp + 8]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push ebx
call dword [eax]
mov ebx, eax
xor eax, eax
test ebx, ebx
sete al
push eax
push str.Extract_return:_d
call fcn.00486c18
test ebx, ebx
pop ecx
pop ecx
je 0x43a09c
xor esi, esi
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.004011c0
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
mov dword [ebp - 0x20], 1
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], 0
je 0x43a0b3
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x43a0c0
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov esi, dword [ebp - 0x20]
jmp 0x43a07e
Function at 0x43a1a6
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
push ebx
push esi
push edi
xor edi, edi
push 0x206
mov esi, eax
lea eax, [ebp - 0x20e]
push edi
push eax
mov dword [ebp - 4], edi
mov word [ebp - 0x210], di
call fcn.0049bec0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x210]
push eax
push 0x400000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocStringLen
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x43a232
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.LoadImageToMem_CreateFile_error:_d__path:_ws
mov esi, 0x61f638
call fcn.00486c18
add esp, 0xc
jmp 0x43a2aa
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push edi
push eax
push edi
push 2
push edi
push ebx
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
cmp ebx, edi
mov dword [esi], eax
jne 0x43a265
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateFileByMem_CreateFileMapping_error:_d__path:_ws
jmp 0x43a28d
push dword [esi + 8]
push edi
push edi
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, edi
mov dword [esi + 4], eax
jne 0x43a29c
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateFileByMem_MapViewOfFile_error:_d__path:_ws
mov esi, 0x61f638
call fcn.00486c18
add esp, 0xc
jmp 0x43a2a3
mov dword [ebp - 4], 1
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x43a70d
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
push dword [ebp + 8]
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x43a77e
xor eax, eax
mov dword [ebp - 0xc], esi
lea edi, [ebp - 8]
stosd dword es:[edi], eax
lea eax, [ebp - 0xc]
push eax
push esi
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x43a77e
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
shrd ecx, eax, 0x14
shr eax, 0x14
mov dword [ebp - 8], eax
and dword [ebp - 8], 0x80000000
and eax, 0x7fffffff
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0xc], esi
fild qword [ebp - 0x14]
fild qword [ebp - 0xc]
fchs
faddp st(1)
fcomp qword [0x5f2f18]
fnstsw ax
test ah, 1
jne 0x43a77e
inc esi
pop edi
mov eax, esi
pop esi
leave
ret
Function at 0x43b332
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x599c39
call fcn.00595190
push ecx
push ecx
mov eax, dword [0x61b884]
push ebx
push esi
push edi
mov ecx, 0x61b884
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
push reloc.OLEAUT32.dll_SysReAllocString
lea eax, [ebp - 0x10]
push eax
push str.SOFTWAREcmpc
mov ecx, str.ProgramPath
call fcn.0043b1d0
test eax, eax
je 0x43b37c
lea ecx, [ebp - 0x10]
call fcn.0043b2c9
test eax, eax
mov ebx, eax
je 0x43b417
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
push dword [ebp + 8]
push eax
call fcn.004328f9
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x10]
push ecx
lea eax, [esi - 0x10]
mov dword [ebp + 8], esp
mov edi, esp
call fcn.00401367
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 0
call fcn.0043aa08
mov ebx, eax
test ebx, ebx
je 0x43b41a
mov eax, dword [esi - 0xc]
mov ecx, dword [0x61f910]
cmp eax, dword [ecx - 0xc]
jl 0x43b41a
lea eax, [ebp - 0x10]
mov edi, 0x61f910
call fcn.004013bf
push str.product_tag_cmpc_ch.tag
lea eax, [ebp - 0x10]
call fcn.0041654b
mov esi, dword [ebp - 0x10]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43b40b
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x43b40b
mov dword [0x61f90c], 0x12
jmp 0x43b41a
mov dword [0x61f90c], 0x65
jmp 0x43b41a
mov esi, dword [ebp - 0x10]
lea eax, [esi - 0x10]
call fcn.004011c0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, ebx
mov dword fs:[0], ecx
pop ebx
leave
ret 4

Function at 0x43c11b
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x597a54
call fcn.00595190
push edi
push 0x12c
xor edi, edi
push edi
push edi
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push eax
mov dword [ebp - 4], 1
call fcn.00484265
add esp, 0x14
test eax, eax
jne 0x43c158
push dword [ebp + 0xc]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43c158
inc edi
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004011c0
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.004011c0
mov ecx, dword [ebp - 0xc]
mov eax, edi
mov dword fs:[0], ecx
pop edi
leave
ret

Function at 0x43c8b0
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x598cb5
call fcn.00595190
push ebx
and dword [ebp - 4], 0
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43c90b
cmp dword [ebp + 0xc], 0
je 0x43c90b
push dword [ebp + 8]
call fcn.00448ce3
pop ecx
call fcn.00417bda
mov ebx, eax
call fcn.00417d3b
push 0x1770
call fcn.00448ac2
mov dword [esp], 0x1771
call fcn.004415f6
mov dword [esp], 0x1772
call fcn.004411cf
jmp 0x43c92d
push 0x2710
call fcn.004415f6
mov dword [esp], 0x2711
call fcn.004411cf
mov dword [esp], 0x2712
call fcn.00448ac2
mov eax, dword [ebp + 8]
pop ecx
add eax, 0xfffffff0
call fcn.004011c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x43c9cd
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x59b27a
call fcn.00595190
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 4], 1
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
xor ebx, ebx
call fcn.00401367
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
push esi
lea edi, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.0047fcba
pop ecx
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edi, eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004011c0
test edi, edi
je 0x43ca5b
mov eax, dword [ebp + 8]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x10], esp
mov edi, esp
call fcn.00401367
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 3
mov eax, dword [ebp + 0xc]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x18], esp
mov edi, esp
call fcn.00401367
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 2
call fcn.0043c11b
pop ecx
pop ecx
mov ebx, eax
lea eax, [esi - 0x10]
call fcn.004011c0
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004011c0
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.004011c0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, ebx
mov dword fs:[0], ecx
pop ebx
leave
ret