joyce8/EMBER2024-capa huggingface dataset:
Function at 0x428fd0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x491c4d
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x4b3c40]
xor eax, esp
mov dword [esp + 0xd8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b3c40]
xor eax, esp
push eax
lea eax, [esp + 0xf0]
mov dword fs:[0], eax
mov ecx, dword [esp + 0x10c]
mov esi, dword [esp + 0x100]
mov edi, dword [esp + 0x104]
mov ebp, dword [esp + 0x110]
mov ebx, dword [esp + 0x114]
xor eax, eax
mov dword [esp + 0x1c], ecx
push str.http:__s.360.cn_360wifi_install.htm_mid
mov ecx, esi
mov dword [esp + 0xfc], eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x1c], eax
call fcn.0040f040
mov edx, dword [0x4b5e2c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4b5e2c
mov dword [esp + 0xf8], 0
mov dword [esp + 0x18], 1
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
xor ecx, ecx
push 0xc6
push ecx
lea edx, [esp + 0x2e]
push edx
mov dword [esp + 0x104], 1
mov word [esp + 0x30], cx
call fcn.004453c0
add esp, 0xc
push 0x64
lea eax, [esp + 0x28]
push eax
call fcn.0048a400
test eax, eax
je 0x4290d1
lea eax, [esp + 0x24]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4290b5
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x28]
push ecx
mov ecx, esi
call fcn.0040e040
push 7
push str.pname
mov ecx, esi
call fcn.0040e040
push 8
push str.freewifi
mov ecx, esi
call fcn.0040e040
push 9
push 0x4961c8
mov ecx, esi
call fcn.0040e040
mov eax, dword [edi]
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, esi
call fcn.0040e040
push 5
push str.pid
mov ecx, esi
call fcn.0040e040
mov eax, dword [ebx]
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, esi
call fcn.0040e040
push 4
push str.os
mov ecx, esi
call fcn.0040e040
mov eax, dword [ebp]
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, esi
call fcn.0040e040
push 7
push 0x4961a0
mov ecx, esi
call fcn.0040e040
mov ebx, dword [esp + 0x118]
mov ebp, dword [esp + 0x108]
test ebx, ebx
je 0x429182
mov edx, 0x49619c
test ebp, ebp
jne 0x429170
mov edx, 0x496198
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x429175
jmp 0x4291a0
mov edx, 0x496194
test ebp, ebp
jne 0x429190
mov edx, str.4231
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x429195
sub eax, edi
sar eax, 1
push eax
push edx
mov ecx, esi
call fcn.0040e040
test ebp, ebp
je 0x4291d1
push 9
push str.lastver
mov ecx, esi
call fcn.0040e040
mov edx, dword [esp + 0x1c]
mov eax, dword [edx]
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, esi
call fcn.0040e040
test ebx, ebx
jne 0x4291eb
mov eax, dword [esp + 0x11c]
push eax
push str.errcode_d
push esi
call fcn.00428fb0
add esp, 0xc
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0xf8], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x429213
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0xf0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xd8]
xor ecx, esp
call fcn.004453a3
add esp, 0xe8
ret
Function at 0x4296e0
Capabilities:
Delete registry key
Delete registry value
Query or enumerate registry value

Disassembly:
sub esp, 0x220
mov eax, dword [0x4b3c40]
xor eax, esp
mov dword [esp + 0x21c], eax
push ebx
lea eax, [esp + 8]
push eax
push 0xf003f
push 0
push str.SOFTWARE360AP
xor bl, bl
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [esp + 0x1b], bl
mov dword [esp + 0x1c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x429807
mov eax, 4
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
lea eax, [esp + 0x18]
push eax
push 0
push str.SetupKilled
push ecx
mov dword [esp + 0x2c], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4297c3
mov edx, dword [esp + 8]
push str.SetupKilled
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x4297c5
push 0x206
push eax
lea ecx, [esp + 0x22]
push ecx
mov bl, 1
mov word [esp + 0x24], ax
call fcn.004453c0
mov ecx, dword [esp + 0x14]
add esp, 0xc
push 0
push 0
push 0
push 0
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x2c]
push eax
push 0
push ecx
mov dword [esp + 0x2c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0x103
jne 0x4297c5
mov byte [esp + 7], bl
jmp 0x4297c5
mov bl, 1
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [esp + 7], 0
mov dword [esp + 8], 0
je 0x4297ef
push str.SOFTWARE360AP
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov al, bl
pop ebx
mov ecx, dword [esp + 0x21c]
xor ecx, esp
call fcn.004453a3
add esp, 0x220
ret
mov ecx, dword [esp + 0x220]
pop ebx
xor ecx, esp
mov al, 1
call fcn.004453a3
add esp, 0x220
ret
Function at 0x4298a0
Capabilities:
Get file version info

Disassembly:
sub esp, 0x2e0
mov eax, dword [0x4b3c40]
xor eax, esp
mov dword [esp + 0x2dc], eax
push ebx
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0xe2]
push ecx
xor bl, bl
mov word [esp + 0xe4], ax
call fcn.004453c0
add esp, 0xc
push 0x104
lea edx, [esp + 0xdc]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x429908
xor al, al
pop ebx
mov ecx, dword [esp + 0x2dc]
xor ecx, esp
call fcn.004453a3
add esp, 0x2e0
ret
push edi
push 0
lea eax, [esp + 0xe0]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
jne 0x429937
pop edi
xor al, al
pop ebx
mov ecx, dword [esp + 0x2dc]
xor ecx, esp
call fcn.004453a3
add esp, 0x2e0
ret
push esi
push edi
call fcn.00446538
mov esi, eax
add esp, 4
test esi, esi
je 0x429a30
push edi
push 0
push esi
call fcn.004453c0
add esp, 0xc
push esi
push edi
push 0
lea ecx, [esp + 0xec]
push ecx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x429a04
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
push str.VarFileInfoTranslation
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x429a27
mov eax, dword [esp + 0x14]
movzx edi, word [eax]
push ebp
movzx ebp, word [eax + 2]
xor ecx, ecx
push 0xc6
push ecx
lea edx, [esp + 0x26]
push edx
mov word [esp + 0x28], cx
call fcn.004453c0
movzx eax, bp
push eax
movzx ecx, di
push ecx
lea edx, [esp + 0x30]
push str.StringFileInfo_04x_04xSpecialBuild
push edx
mov dword [esp + 0x2c], 0
call fcn.00429250
add esp, 0x1c
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x24]
push edx
push esi
call sub.VERSION.dll_VerQueryValueW
pop ebp
test eax, eax
je 0x429a27
mov eax, dword [esp + 0xc]
mov ecx, 0x31
cmp cx, word [eax]
jne 0x429a04
xor edx, edx
cmp dx, word [eax + 2]
jne 0x429a04
mov bl, 1
push esi
call fcn.00445dfc
add esp, 4
pop esi
pop edi
mov al, bl
pop ebx
mov ecx, dword [esp + 0x2dc]
xor ecx, esp
call fcn.004453a3
add esp, 0x2e0
ret
push esi
call fcn.00445dfc
add esp, 4
mov ecx, dword [esp + 0x2e8]
pop esi
pop edi
pop ebx
xor ecx, esp
xor al, al
call fcn.004453a3
add esp, 0x2e0
ret

Function at 0x42a6a0
Capabilities:
Set registry value

Disassembly:
mov edx, dword [esp + 4]
push 4
lea eax, [esp + 0xc]
push eax
mov eax, dword [ecx]
push 4
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 8

Function at 0x42a6c0
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, ecx
test esi, esi
jne 0x42a6d4
pop edi
lea eax, [esi + 0xd]
pop esi
ret 0xc
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
lea eax, [eax + eax + 2]
push eax
mov eax, dword [edi]
push esi
push ecx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
ret 0xc
Function at 0x42a700
Capabilities:
Set registry value

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
mov dword [esp + 4], ecx
test ebp, ebp
jne 0x42a716
lea eax, [ebp + 0xd]
pop ebp
pop ecx
ret 8
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push edi
xor edi, edi
mov esi, ebp
push esi
call ebx
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x42a723
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
push edi
push ebp
push 7
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
pop ebp
pop ecx
ret 8

Function at 0x42b140
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x224
mov eax, dword [0x4b3c40]
xor eax, esp
mov dword [esp + 0x220], eax
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
mov ebx, ecx
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
lea esi, [esp + 0x14]
push esi
xor edi, edi
or eax, 0x2001f
push eax
push edi
push edx
push ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [esp + 0xc]
mov esi, eax
cmp esi, edi
jne 0x42b1b6
xor eax, eax
cmp ecx, edi
je 0x42b1a4
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x10], edi
mov esi, eax
mov dword [esp + 0xc], ecx
cmp eax, edi
je 0x42b1c4
cmp ecx, edi
je 0x42b262
push ecx
jmp 0x42b25c
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [esp + 0x20]
push eax
push edi
push edi
push edi
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x3c]
push eax
push edi
push ecx
mov dword [esp + 0x38], 0x100
call esi
test eax, eax
jne 0x42b22c
lea esp, [esp]
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x10]
call fcn.0042b140
mov dword [esp + 0x14], eax
cmp eax, edi
jne 0x42b27b
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x10]
push edi
push edi
push edi
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x3c]
push ecx
push edi
push edx
mov dword [esp + 0x38], 0x100
call esi
test eax, eax
je 0x42b1f0
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x42b23f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xc], edi
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebx]
push eax
push ecx
mov dword [esp + 0x18], edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x42b262
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.004453a3
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esp + 0xc]
cmp ecx, edi
je 0x42b264
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x22c]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004453a3
mov esp, ebp
pop ebp
ret 4
Function at 0x42d290
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x408]
sub esp, 0x408
push 0xffffffffffffffff
push 0x491ed0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x4b3c40]
xor eax, ebp
mov dword [ebp + 0x404], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x410]
mov edi, dword [ebp + 0x414]
mov ebx, dword [ebp + 0x418]
xor edx, edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 4], edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], edx
mov dword [ebp], edx
push 2
push edx
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
jne 0x42d312
call fcn.0042a470
mov edi, eax
jmp 0x42d3f4
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x42d32b
call fcn.0042a470
jmp 0x42d3eb
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x14], ebx
test ebx, ebx
jne 0x42d346
call fcn.0042a470
jmp 0x42d3eb
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
lea eax, [edi + 1]
mov dword [ebp - 0x18], edi
cmp eax, edi
jae 0x42d37c
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x42d36a
lea ecx, [ebp]
call fcn.0042b050
lea ecx, [ebp - 0x20]
call fcn.0042ae70
mov eax, 0x8007000e
jmp 0x42d406
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 2
call fcn.0042bf10
mov dword [ebp - 4], 1
jmp 0x42d3a8
mov eax, dword [ebp]
test eax, eax
jne 0x42d3b6
mov edi, 0x8007000e
jmp 0x42d3ed
push edi
push eax
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x42d3cf
call fcn.0042a470
jmp 0x42d3eb
mov edx, dword [ebp]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [ebp + 0x41c]
mov ecx, dword [ebp]
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.0042ceb0
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea edx, [ebp + 4]
cmp dword [ebp], edx
je 0x42d404
lea ecx, [ebp]
call fcn.0042b050
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x404]
xor ecx, ebp
call fcn.004453a3
add ebp, 0x408
mov esp, ebp
pop ebp
ret 0x10
Function at 0x42f250
Capabilities:
Check mutex on windows

Disassembly:
sub esp, 0x118
mov eax, dword [0x4b3c40]
xor eax, esp
mov dword [esp + 0x114], eax
push esi
push edi
mov edi, dword [esp + 0x12c]
push str.360AP_setup
push 0x104
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x24], 0
call fcn.00422460
lea ecx, [esp + 0x18]
push ecx
push 0
push 0
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [esp + 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x14], eax
cmp eax, 0xb7
je 0x42f2b7
cmp eax, 5
jne 0x42f2ef
mov ecx, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test ecx, ecx
je 0x42f2d2
push ecx
call esi
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov dword [esp + 0x10], ecx
test eax, eax
jne 0x42f2e8
test ecx, ecx
je 0x42f2e8
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov edx, dword [esp + 0x10]
push edx
call esi
xor eax, eax
jmp 0x42f397
mov esi, dword [sym.imp.ole32.dll_CoInitialize]
push 0
call esi
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_DefWindowProcW]
lea eax, [esp + 8]
push eax
mov dword [esp + 0xc], 8
mov dword [esp + 0x10], 0x404
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
push 0
call esi
mov ecx, dword [esp + 0x124]
push 0
push ecx
push 0
mov ecx, 0x4b5c04
call fcn.0042a060
mov edx, dword [esp + 0x130]
push edx
push edi
mov byte [0x4b5c00], 0
call fcn.0042e1e0
add esp, 8
cmp byte [0x4b5c00], 0
mov esi, eax
je 0x42f364
call fcn.004296e0
mov ecx, 0x4b5c04
call fcn.0042d1b0
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp dword [esp + 0x14], 0
jne 0x42f395
mov eax, dword [esp + 0x10]
test eax, eax
je 0x42f395
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov ecx, dword [esp + 0x11c]
pop edi
pop esi
xor ecx, esp
call fcn.004453a3
add esp, 0x118
ret 0x10
Function at 0x430030
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
mov ebp, ecx
test ebx, ebx
jne 0x43004d
push ebx
push ebx
push ebx
push 2
call fcn.00433100
pop ebp
xor al, al
pop ebx
ret 8
push edi
call fcn.0042fcb0
push 2
or eax, 0xffffffff
push 0
push ebx
mov dword [ebp + 8], eax
mov dword [ebp + 4], eax
call fcn.00449472
push ebx
call fcn.0044937a
push 0
push 0
push ebx
mov edi, eax
call fcn.00449472
add esp, 0x1c
test edi, edi
jg 0x430096
push 0
push 0
push 0
push 0xc
mov ecx, ebp
call fcn.00433100
pop edi
pop ebp
xor al, al
pop ebx
ret 8
lea eax, [edi + 1]
push esi
push eax
call fcn.00439350
push ebx
push 1
mov esi, eax
push edi
push esi
mov byte [esi], 0
call fcn.004491c0
add esp, 0x14
cmp eax, 1
je 0x4300d8
push esi
call fcn.00439380
add esp, 4
push 0
push 0
push 0
push 2
mov ecx, ebp
call fcn.00433100
pop esi
pop edi
pop ebp
xor al, al
pop ebx
ret 8
mov byte [esi + edi], 0
cmp byte [esi], 0
mov eax, esi
mov ecx, esi
je 0x430101
mov dl, byte [eax]
cmp dl, 0xd
jne 0x4300f8
mov byte [ecx], 0xa
inc eax
inc ecx
cmp byte [eax], 0xa
jne 0x4300fc
jmp 0x4300fb
mov byte [ecx], dl
inc ecx
inc eax
cmp byte [eax], 0
jne 0x4300e5
mov eax, dword [esp + 0x18]
push eax
mov byte [ecx], 0
mov edx, dword [ebp]
mov edx, dword [edx + 8]
push 0
push esi
mov ecx, ebp
call edx
push esi
call fcn.00439380
add esp, 4
pop esi
xor eax, eax
cmp byte [ebp + 0x2c], al
pop edi
pop ebp
sete al
pop ebx
ret 8

Function at 0x434fb0
Capabilities:
Set file attributes

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne al
ret

Function at 0x435030
Capabilities:
Delete file

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0
push esi
call fcn.00434fb0
add esp, 8
test al, al
jne 0x435046
pop esi
ret
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne al
pop esi
ret

Function at 0x435310
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 8], 0x105
push edi
jg 0x43532b
push 0x105
mov ecx, esi
call fcn.00421e50
mov eax, dword [esi]
push 0x105
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov edi, dword [esi]
xor ecx, ecx
cmp word [edi], cx
je 0x43534e
mov edx, edi
add edx, 2
inc ecx
cmp word [edx], 0
jne 0x435344
xor edx, edx
mov word [edi + ecx*2], dx
mov dword [esi + 4], ecx
dec eax
mov ecx, 0x103
cmp ecx, eax
sbb eax, eax
pop edi
inc eax
pop esi
ret

Function at 0x4355f0
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 8], 0x105
push edi
jg 0x43560b
push 0x105
mov ecx, esi
call fcn.00421e50
mov eax, dword [esi]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, dword [esi]
xor ecx, ecx
cmp word [edi], cx
je 0x43562e
mov edx, edi
add edx, 2
inc ecx
cmp word [edx], 0
jne 0x435624
xor edx, edx
mov word [edi + ecx*2], dx
mov dword [esi + 4], ecx
dec eax
mov ecx, 0x103
cmp ecx, eax
sbb eax, eax
pop edi
inc eax
pop esi
ret
Function at 0x435650
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, dword [esp + 0x10]
cmp dword [esi + 8], 0x105
push edi
jg 0x43566b
push 0x105
mov ecx, esi
call fcn.00421e50
mov eax, dword [esi]
mov ecx, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0x14]
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov edi, dword [esi]
xor ecx, ecx
cmp word [edi], cx
je 0x43569a
mov edx, edi
jmp 0x435690
add edx, 2
inc ecx
cmp word [edx], 0
jne 0x435690
xor edx, edx
mov word [edi + ecx*2], dx
pop edi
mov dword [esi + 4], ecx
pop esi
ret
Function at 0x435dc0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x492a30
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push esi
push edi
mov eax, dword [0x4b3c40]
xor eax, esp
push eax
lea eax, [esp + 0x74]
mov dword fs:[0], eax
xor ebx, ebx
push 3
lea ecx, [esp + 0x68]
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
call fcn.00421e50
mov edi, dword [esp + 0x84]
push 0x5c
lea eax, [esp + 0x18]
push edi
push eax
mov dword [esp + 0x88], ebx
call fcn.00435960
push 0x2a
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x34]
push edx
mov byte [esp + 0x94], 1
call fcn.00435960
add esp, 0x18
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x80], 2
call fcn.004352b0
mov eax, dword [esp + 0x20]
push eax
mov byte [esp + 0x80], 4
call fcn.00446995
add esp, 4
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x30]
call fcn.00436600
test al, al
je 0x435ed6
nop
lea edx, [esp + 0x3c]
push edx
sub esp, 0xc
mov esi, esp
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov eax, dword [esp + 0x28]
mov dword [esp + 0x20], esp
push eax
mov ecx, esi
call fcn.00421e50
mov edx, dword [esp + 0x24]
mov ecx, dword [esi]
jmp 0x435ea0
movzx eax, word [edx]
mov word [ecx], ax
add ecx, 2
add edx, 2
cmp ax, bx
jne 0x435ea0
mov ecx, dword [esp + 0x28]
mov dword [esi + 4], ecx
call fcn.00435d10
add esp, 0x10
cmp al, bl
je 0x435f3a
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x30]
call fcn.00436600
test al, al
jne 0x435e70
mov eax, dword [esp + 0x30]
push eax
mov byte [esp + 0x80], 1
call fcn.00446995
add esp, 4
lea ecx, [esp + 0x2c]
call fcn.00436180
mov eax, dword [edi]
push ebx
push eax
call fcn.00434fb0
add esp, 8
test al, al
je 0x435f58
mov eax, dword [edi]
push eax
call fcn.00434fd0
mov bl, al
mov eax, dword [esp + 0x18]
push eax
call fcn.00446995
mov ecx, dword [esp + 0x6c]
push ecx
call fcn.00446995
add esp, 0xc
mov al, bl
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x70
ret
mov eax, dword [esp + 0x30]
push eax
mov byte [esp + 0x80], 1
call fcn.00446995
add esp, 4
lea ecx, [esp + 0x2c]
call fcn.00436180
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00446995
mov edx, dword [esp + 0x68]
push edx
call fcn.00446995
add esp, 8
xor al, al
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x70
ret
Function at 0x437d30
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, 0x107c
call fcn.004463d0
mov eax, dword [0x4b3c40]
xor eax, esp
mov dword [esp + 0x1078], eax
mov eax, dword [esp + 0x1080]
mov ecx, dword [esp + 0x1084]
push ebp
push esi
xor ebp, ebp
push ebp
push 0x80
push 3
push ebp
push 7
push SysReAllocString
push eax
mov dword [esp + 0x30], ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x437d98
lea edx, [esp + 0x10]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esp + 0xc], eax
cmp eax, 0xffffffff
jne 0x437db1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x1078]
xor ecx, esp
call fcn.004453a3
add esp, 0x107c
ret
push ebx
push edi
lea eax, [esp + 0x20]
push ebp
push eax
mov dword [esp + 0x18], ebp
call fcn.00438940
add esp, 8
cmp dword [esp + 0x18], ebp
ja 0x437dd9
cmp dword [esp + 0x14], 0x200000
jbe 0x437eab
cmp dword [esp + 0x1098], ebp
jne 0x437eab
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
xor edi, edi
lea ebp, [edi + 1]
push 0
lea ecx, [esp + 0x14]
push ecx
push 0x1000
lea edx, [esp + 0x94]
push edx
push esi
call ebx
test eax, eax
je 0x437ea7
mov eax, dword [esp + 0x10]
test eax, eax
je 0x437ea7
push eax
lea eax, [esp + 0x8c]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.00438990
add edi, dword [esp + 0x1c]
add esp, 0xc
cmp edi, 0x100000
jb 0x437df1
push 2
push 0
push 0xfff00000
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x437f0f
xor edi, edi
lea esp, [esp]
push 0
lea edx, [esp + 0x14]
push edx
push 0x1000
lea eax, [esp + 0x94]
push eax
push esi
call ebx
test eax, eax
je 0x437ea7
mov eax, dword [esp + 0x10]
test eax, eax
je 0x437ea7
push eax
lea ecx, [esp + 0x8c]
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.00438990
add edi, dword [esp + 0x1c]
add esp, 0xc
cmp edi, 0x100000
jb 0x437e60
jmp 0x437f0f
xor ebp, ebp
jmp 0x437f0f
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push ebp
lea eax, [esp + 0x14]
push eax
push 0x1000
lea ecx, [esp + 0x94]
push ecx
push esi
call edi
test eax, eax
je 0x437f0f
jmp 0x437ed0
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x437f0a
push eax
lea edx, [esp + 0x8c]
push edx
lea eax, [esp + 0x28]
push eax
call fcn.00438990
add esp, 0xc
push ebp
lea ecx, [esp + 0x14]
push ecx
push 0x1000
lea edx, [esp + 0x94]
push edx
push esi
call edi
test eax, eax
jne 0x437ed0
jmp 0x437f0f
mov ebp, 1
lea eax, [esp + 0x20]
push eax
call fcn.00438ab0
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
test ebp, ebp
je 0x437d98
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
mov dword [eax], ecx
mov ecx, dword [esp + 0x78]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x7c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x1080]
pop esi
pop ebp
mov dword [eax + 0xc], edx
xor ecx, esp
mov eax, 1
call fcn.004453a3
add esp, 0x107c
ret