joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402100
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
xor eax, eax
movzx esi, ax
push edi
add edx, 4
mov eax, esi
shl esi, 0x10
or eax, esi
mov edi, edx
mov ecx, 0x82
rep stosd dword es:[edi], eax
lea eax, [ebp - 4]
push eax
push edx
lea ecx, [ebp - 8]
push ecx
push 0x58c9c8
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsQHSafeMain.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], 0x208
mov dword [ebp - 8], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x403200
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x566be8
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x5c5678]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp + 8], 0
mov ecx, dword [eax]
cmp dword [ecx - 0xc], 0
jne 0x403252
push edi
mov ecx, 0x582044
call fcn.00425130
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push eax
lea edx, [ebp + 8]
push edx
mov esi, 0x582c84
call fcn.004236c0
add esp, 8
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x403286
push edi
mov ecx, 0x582044
call fcn.00425130
jmp 0x403296
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004254c0
add eax, 0x10
mov dword [edi], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4032bc
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 esi
mov esp, ebp
pop ebp
ret

Function at 0x403e30
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5c5678]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call fcn.00545940
add esp, 0xc
push 0x104
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x403e87
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053d78d
mov esp, ebp
pop ebp
ret
push str.ntdll.dll
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x403e77
push str.RtlGetVersion
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053d78d
mov esp, ebp
pop ebp
ret
Function at 0x403ed0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x5c5678]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x110
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.00545940
add esp, 0xc
lea ecx, [ebp - 0x118]
push ecx
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 5
jne 0x403f26
mov eax, 1
cmp dword [ebp - 0x110], eax
je 0x403f28
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053d78d
mov esp, ebp
pop ebp
ret
Function at 0x404ca0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsQHSafeMain.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x404d28
lea ecx, [ebp - 8]
push ecx
push esi
lea edx, [ebp - 0xc]
push edx
push eax
mov eax, dword [ebp - 4]
push 0x58c9c8
push eax
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x404d02
sub eax, edx
sar eax, 1
je 0x404d2a
cmp word [esi + eax*2 - 2], 0x5c
je 0x404d2a
mov edx, 0x5c
mov word [esi + eax*2], dx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x405510
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
mov edi, eax
lea eax, [ebp - 4]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [ebp - 4]
push 0
push eax
push ecx
push 2
push 0
push edi
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [esi + 8], eax
test eax, eax
jne 0x40554a
call fcn.00421f70
pop edi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
push 0
push ecx
mov dword [esi + 0x10], 0
mov edx, dword [esi + 0x10]
push edx
mov dword [esi + 4], ecx
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x14]
push ecx
push 4
push eax
mov dword [esi + 0x18], 4
call dword [sym.imp.KERNEL32.dll_MapViewOfFileEx]
mov dword [esi], eax
test eax, eax
jne 0x40559e
call fcn.00421f70
mov edx, dword [esi + 8]
push edx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], 0
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x405c20
Capabilities:
Terminate process

Disassembly:
cmp eax, 0xffffffff
jne 0x405c28
xor al, al
ret
push esi
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, 0xffffffff
je 0x405c5d
test esi, esi
je 0x405c5d
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
test eax, eax
je 0x405c57
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop esi
ret
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop esi
ret
Function at 0x405c70
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x564891
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x5c5678]
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
xor esi, esi
xor eax, eax
mov byte [ebp - 0x251], 0
mov dword [ebp - 0x238], 7
mov dword [ebp - 0x23c], esi
mov word [ebp - 0x24c], ax
push 0x206
lea edx, [ebp - 0x216]
xor ecx, ecx
push esi
mov dword [ebp - 4], esi
push edx
mov word [ebp - 0x218], cx
call fcn.00545940
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push esi
push esi
push 0x25
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x405d4a
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x405d00
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x218]
push ecx
lea esi, [ebp - 0x250]
call fcn.0040f460
cmp dword [ebp - 0x23c], 0
jne 0x405d4a
cmp dword [ebp - 0x238], 8
jb 0x405d43
mov edx, dword [ebp - 0x24c]
push edx
call fcn.0053d782
add esp, 4
xor al, al
jmp 0x405e6b
call fcn.00403ff0
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test al, al
jne 0x405d68
call fcn.00404070
test al, al
je 0x405de2
push str.Shcore.dll
lea ecx, [ebp - 0x250]
lea esi, [ebp - 0x234]
call fcn.00419f40
add esp, 4
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x230]
mov esi, 8
cmp dword [ebp - 0x21c], esi
jae 0x405d9e
lea eax, [ebp - 0x230]
push eax
call edi
test eax, eax
je 0x405dbe
push str.SetProcessDpiAwareness
push eax
call ebx
test eax, eax
je 0x405dbe
push 1
call eax
test eax, eax
sete byte [ebp - 0x251]
mov byte [ebp - 4], 0
cmp dword [ebp - 0x21c], esi
jb 0x405dd9
mov eax, dword [ebp - 0x230]
push eax
call fcn.0053d782
add esp, 4
cmp byte [ebp - 0x251], 0
jne 0x405e4d
push str.User32.dll
lea ecx, [ebp - 0x250]
lea esi, [ebp - 0x234]
call fcn.00419f40
add esp, 4
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x230]
mov esi, 8
cmp dword [ebp - 0x21c], esi
jae 0x405e18
lea eax, [ebp - 0x230]
push eax
call edi
test eax, eax
je 0x405e36
push str.SetProcessDPIAware
push eax
call ebx
test eax, eax
je 0x405e36
call eax
test eax, eax
setne byte [ebp - 0x251]
cmp dword [ebp - 0x21c], esi
jb 0x405e4d
mov ecx, dword [ebp - 0x230]
push ecx
call fcn.0053d782
add esp, 4
cmp dword [ebp - 0x238], 8
jb 0x405e65
mov edx, dword [ebp - 0x24c]
push edx
call fcn.0053d782
add esp, 4
mov al, byte [ebp - 0x251]
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.0053d78d
mov esp, ebp
pop ebp
ret
Function at 0x409170
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x5c5678]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
push 0x206
mov esi, ecx
mov dword [ebp - 0x210], 0
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov dword [ebp - 0x214], 1
mov dword [ebp - 0x210], 0x104
mov word [ebp - 0x20c], ax
call fcn.00545940
add esp, 0xc
lea edx, [ebp - 0x210]
push edx
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x214]
push ecx
push 0x58c9c8
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsQHSafeMain.exe
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x409220
xor edx, edx
push edx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
push 0x582044
mov word [esi + 4], dx
call fcn.0040f460
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053d78d
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x214], 1
mov eax, esi
mov edx, 0x582044
jne 0x409236
lea edx, [ebp - 0x20c]
call fcn.0040f390
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0053d78d
mov esp, ebp
pop ebp
ret
Function at 0x409250
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x563a7b
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x5c5678]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x238], ebx
cmp esi, 0x23
je 0x4092a2
cmp esi, 0x1a
je 0x4092a2
mov edx, 0x582044
mov eax, edi
call fcn.0040f390
jmp 0x4093d8
push 0x206
lea ecx, [ebp - 0x216]
xor eax, eax
push ebx
push ecx
mov word [ebp - 0x218], ax
call fcn.00545940
add esp, 0xc
lea edx, [ebp - 0x218]
push edx
push ebx
push ebx
push esi
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
cmp eax, ebx
jge 0x4092f7
push ebx
xor eax, eax
mov dword [edi + 0x18], 7
mov dword [edi + 0x14], ebx
push 0x582044
mov esi, edi
mov word [edi + 4], ax
call fcn.0040f460
jmp 0x4093d8
xor ecx, ecx
lea eax, [ebp - 0x218]
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], ebx
mov word [ebp - 0x230], cx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x409320
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x218]
push edx
lea esi, [ebp - 0x234]
call fcn.0040f460
push 0x11
push str.360TotalSecurity
mov eax, esi
mov dword [ebp - 4], ebx
call fcn.00412530
cmp byte [ebp + 8], bl
jne 0x40938f
push 0xffffffffffffffff
xor eax, eax
mov dword [edi + 0x18], 7
mov dword [edi + 0x14], ebx
push ebx
mov ecx, esi
mov word [edi + 4], ax
push ecx
mov eax, edi
call fcn.00412610
cmp dword [ebp - 0x21c], 8
jb 0x4093d8
mov edx, dword [ebp - 0x230]
push edx
call fcn.0053d782
add esp, 4
jmp 0x4093d8
lea eax, [ebp - 0x234]
call fcn.004d4d60
test al, al
je 0x4093c1
push 0xffffffffffffffff
xor eax, eax
mov dword [edi + 0x18], 7
mov dword [edi + 0x14], ebx
push ebx
lea ecx, [ebp - 0x234]
mov word [edi + 4], ax
push ecx
mov eax, edi
call fcn.00412610
jmp 0x4093cd
mov edx, 0x582044
mov eax, edi
call fcn.0040f390
lea ecx, [ebp - 0x234]
call fcn.0040f400
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053d78d
mov esp, ebp
pop ebp
ret
Function at 0x4095e0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x569702
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x5c5678]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
mov dword [ebp - 4], edi
mov esi, edx
push 0x58c9b0
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x10], edi
call fcn.00419f40
add esp, 4
mov dword [ebp - 4], edi
mov ebx, 1
mov dword [ebp - 0x10], ebx
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x409644
cmp byte [ebp + 8], 0
jne 0x409644
mov edx, str.Administrators
jmp 0x40965d
lea eax, [ebp - 0x14]
push eax
call fcn.004040f0
add esp, 4
mov dword [ebp - 4], ebx
mov edx, dword [eax]
mov ebx, 3
mov dword [ebp - 0x10], ebx
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x409662
sub eax, edi
sar eax, 1
push eax
push edx
mov eax, esi
call fcn.00412530
mov dword [ebp - 4], 0
test bl, 2
je 0x4096ab
mov eax, dword [ebp - 0x14]
and ebx, 0xfffffffd
add eax, 0xfffffff0
mov dword [ebp - 0x10], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4096ab
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esi + 0x14], 0
je 0x4096d8
cmp dword [esi + 0x18], 8
jb 0x4096bc
mov ebx, dword [esi + 4]
jmp 0x4096bf
lea ebx, [esi + 4]
test ebx, ebx
je 0x4096d8
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4096d8
push ebx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov eax, esi
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 0x40b7d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x5c5678]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x208
lea eax, [ebp - 0x20c]
push 0
mov dword [ebp - 0x210], 0
push eax
mov esi, ecx
mov dword [ebp - 0x210], 1
call fcn.00545940
add esp, 0xc
lea ecx, [ebp - 0x214]
push ecx
lea edx, [ebp - 0x20c]
push edx
lea eax, [ebp - 0x210]
push eax
push 0x58c9c8
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360zip.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x214], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
test eax, eax
jne 0x40b87e
xor ecx, ecx
lea eax, [ebp - 0x20c]
mov word [esi + 4], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40b865
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x20c]
push edx
jmp 0x40b88a
xor eax, eax
push eax
mov word [esi + 4], ax
push 0x582044
call fcn.0040f460
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0053d78d
mov esp, ebp
pop ebp
ret

Function at 0x40b8a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x5c5678]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x208
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.00545940
add esp, 0xc
lea ecx, [ebp - 0x22c]
call fcn.0040b7d0
mov esi, 8
cmp dword [eax + 0x18], esi
jb 0x40b8e5
mov eax, dword [eax + 4]
jmp 0x40b8e8
add eax, 4
push str.360zip.exe
push eax
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
cmp dword [ebp - 0x214], esi
jb 0x40b912
mov edx, dword [ebp - 0x228]
push edx
call fcn.0053d782
add esp, 4
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40b967
cmp dword [0x5d2cfc], 0
jne 0x40b941
mov ecx, dword [0x5d0e70]
push ecx
mov esi, 0x5d28d0
call fcn.00422c10
test eax, eax
je 0x40b967
push 0x5d28d0
lea edi, [ebp - 0x210]
call fcn.00528230
test eax, eax
je 0x40b967
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053d78d
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor al, al
pop esi
call fcn.0053d78d
mov esp, ebp
pop ebp
ret
Function at 0x40b980
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x5c5678]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x208
lea eax, [ebp - 0x20c]
push 0
mov dword [ebp - 0x210], 0
push eax
mov esi, ecx
mov dword [ebp - 0x210], 1
call fcn.00545940
add esp, 0xc
lea ecx, [ebp - 0x214]
push ecx
lea edx, [ebp - 0x20c]
push edx
lea eax, [ebp - 0x210]
push eax
push str.UninstallString
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallVPNMaster
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x214], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
test eax, eax
jne 0x40ba2e
xor ecx, ecx
lea eax, [ebp - 0x20c]
mov word [esi + 4], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40ba15
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x20c]
push edx
jmp 0x40ba3a
xor eax, eax
push eax
mov word [esi + 4], ax
push 0x582044
call fcn.0040f460
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0053d78d
mov esp, ebp
pop ebp
ret

Function at 0x40ba50
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56f1b8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x5c5678]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x2c]
call fcn.0040b980
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 4], 0
mov edi, 0x22
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x30], edi
call fcn.00412820
push 0
lea esi, [ebp - 0x2c]
call fcn.0040f540
push 1
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], edi
push ecx
mov edi, esi
call fcn.004128b0
inc eax
push eax
or eax, 0xffffffff
call fcn.0040f540
mov eax, dword [ebp - 0x28]
mov esi, 8
cmp dword [ebp - 0x14], esi
jae 0x40bad1
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40baf1
cmp dword [ebp - 0x14], esi
jb 0x40baed
mov edx, dword [ebp - 0x28]
push edx
call fcn.0053d782
add esp, 4
mov al, 1
jmp 0x40bb04
cmp dword [ebp - 0x14], esi
jb 0x40bb02
mov eax, dword [ebp - 0x28]
push eax
call fcn.0053d782
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053d78d
mov esp, ebp
pop ebp
ret
Function at 0x414f13
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add esp, 4
add edx, 0x3ac6
pop edx
imul edx, dword [ebp - 0x2c], 0x138
add edx, 0x44f3644b
imul eax, dword [ebp - 0x2c], 0x138
sub edx, eax
xor edx, 0
imul edx, dword [ebp - 0x2c]
imul ecx, dword [ebp - 0x2c], 0x138
sub edx, ecx
mov dword [ebp - 0x30], edx
jmp 0x4150fe
Function at 0x418768
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add esp, 4
sub edx, 0x1a21
pop edx
mov edx, dword [ebp - 0xc08]
sub edx, 1
mov dword [ebp - 0xc08], edx
mov eax, dword [ebp - 0xa68]
add eax, 1
mov dword [ebp - 0xa68], eax
mov ecx, dword [ebp - 0xa64]
add ecx, 1
mov dword [ebp - 0xa64], ecx
jmp 0x41867f
Function at 0x418c4a
Capabilities:
Contain obfuscated stackstrings
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add esp, 4
and edi, 0x43b5
pop edi
mov byte [ebp - 0x804], 0x45
mov byte [ebp - 0x803], 0x78
mov byte [ebp - 0x802], 0x69
mov byte [ebp - 0x801], 0x74
mov byte [ebp - 0x800], 0x50
mov byte [ebp - 0x7ff], 0x72
mov byte [ebp - 0x7fe], 0x6f
mov byte [ebp - 0x7fd], 0x63
mov byte [ebp - 0x7fc], 0x65
mov byte [ebp - 0x7fb], 0x73
mov byte [ebp - 0x7fa], 0x73
mov byte [ebp - 0x7f9], 0
push eax
add eax, 0x11c94
xor eax, 0x1089e
and eax, 0x339d
call 0x418cca
add byte [ebp + 0x38], cl
aaa
xor eax, 0x3a393b48
add esp, 4
pop eax
push edx
push eax
add esp, 4
or edx, 0x1658b
pop edx
mov ecx, 0x6b
mov word [ebp - 0x1628], cx
mov edx, 0x65
mov word [ebp - 0x1626], dx
mov eax, 0x72
mov word [ebp - 0x1624], ax
mov ecx, 0x6e
mov word [ebp - 0x1622], cx
mov edx, 0x65
mov word [ebp - 0x1620], dx
mov eax, 0x6c
invalid
invalid
test edx, esp
invalid

Function at 0x418cca
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add esp, 4
and edi, 0x43b5
pop edi
mov byte [ebp - 0x804], 0x45
mov byte [ebp - 0x803], 0x78
mov byte [ebp - 0x802], 0x69
mov byte [ebp - 0x801], 0x74
mov byte [ebp - 0x800], 0x50
mov byte [ebp - 0x7ff], 0x72
mov byte [ebp - 0x7fe], 0x6f
mov byte [ebp - 0x7fd], 0x63
mov byte [ebp - 0x7fc], 0x65
mov byte [ebp - 0x7fb], 0x73
mov byte [ebp - 0x7fa], 0x73
mov byte [ebp - 0x7f9], 0
push eax
add eax, 0x11c94
xor eax, 0x1089e
and eax, 0x339d
call 0x418cca
add byte [ebp + 0x38], cl
aaa
xor eax, 0x3a393b48
add esp, 4
pop eax
push edx
push eax
add esp, 4
or edx, 0x1658b
pop edx
mov ecx, 0x6b
mov word [ebp - 0x1628], cx
mov edx, 0x65
mov word [ebp - 0x1626], dx
mov eax, 0x72
mov word [ebp - 0x1624], ax
mov ecx, 0x6e
mov word [ebp - 0x1622], cx
mov edx, 0x65
mov word [ebp - 0x1620], dx
mov eax, 0x6c
invalid
invalid
test edx, esp
invalid
Function at 0x419450
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add esp, 4
add ecx, 0x224a
sub ecx, 0x994c
pop ecx
movzx eax, word [ebp - 0x104]
test eax, eax
jne 0x419483
movzx ecx, word [ebp - 0x1fc]
movzx edx, word [ebp - 0x104]
sub ecx, edx
mov dword [ebp - 0x14e4], ecx
jmp 0x4194e6
movzx eax, word [ebp - 0x1fc]
movzx ecx, word [ebp - 0x104]
cmp eax, ecx
je 0x4193a2
movzx edx, word [ebp - 0x1fc]
xor edx, 0x20
movzx eax, word [ebp - 0x104]
cmp edx, eax
je 0x4193a2
movzx ecx, word [ebp - 0x1fc]
movzx edx, word [ebp - 0x104]
cmp ecx, edx
jge 0x4194d0
mov dword [ebp - 0x14e0], 0xffffffff
jmp 0x4194da
mov dword [ebp - 0x14e0], 1
mov eax, dword [ebp - 0x14e0]
mov dword [ebp - 0x14e4], eax
cmp dword [ebp - 0x14e4], 0
jne 0x41952f
push edx
push edi
add esp, 4
and edx, 0x652f
xor edx, 0x15dc0
add edx, 0x5f2f
add edx, 0xaa8
pop edx
push esi
call fcn.0041951d
add byte [edx + 0x47], al
cmp byte [eax], bh
inc ecx
inc eax
xor eax, 0xc483454f
add esp, 4
pop esi
push eax
add eax, 0x527a
pop eax
push ecx
push edx
add esp, 4
sub ecx, 0xcae9
pop ecx
push ecx
push edx
add esp, 4
call fcn.00419555
add byte [edx + 0x38], cl
inc ecx
cmp byte [esi + 0x50], cl
push edx
push ecx
add esp, 4
call 0x4195ab
add byte [edx + 0x32], cl
inc eax
cmp al, 0x47
dec ebx
inc esi
xor al, 0x4f
add esp, 4
call 0x4195bd
add byte [edi + 0x42], cl
dec ecx
dec esp
inc ebx
aaa
dec edx
inc edx
cmp al, 0x83
les eax, [edx + ebx*2]
push ebx
add ebx, 0x86ec
pop ebx
cmp dword [ebp - 0x6ec], 0
jne 0x419613
push esi
add esi, 0x184f8
sub esi, 0x140e4
add esi, 0x1568f
add esi, 0xea04
pop esi
push eax
push esi
add esp, 4
xor eax, 0x3c2b
xor eax, 0xf408
or eax, 0x4618
pop eax
mov dword [ebp - 0x738], 0
jmp 0x41a13a
push ebx
or ebx, 0x1d7c
sub ebx, 0x10ef8
xor ebx, 0x6fac
and ebx, 0xd7e0
pop ebx
push ebx
push edi
add esp, 4
add ebx, 0x180a1
jmp 0x41963d
jmp 0x419644
pop ebx
mov eax, dword [ebp - 0x6ec]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x2f8], ecx
mov dword [ebp - 0x6fc], 0
mov edx, dword [ebp - 0x2f8]
mov dword [ebp - 0x14e8], edx
cmp dword [ebp - 0x14e8], 0
jne 0x419684
mov eax, dword [ebp - 0x6fc]
mov dword [ebp - 0x3c4], eax
jmp 0x419975
mov ecx, dword [ebp - 0x14e8]
mov edx, dword [ebp - 0x2f8]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x14ec], edx
jne 0x4196ac
mov eax, dword [ebp - 0x6fc]
mov dword [ebp - 0x3c4], eax
jmp 0x419975
mov ecx, 8
imul edx, ecx, 0
mov eax, dword [ebp - 0x14ec]
mov ecx, dword [eax + edx + 0x78]
mov dword [ebp - 0x14f0], ecx
cmp dword [ebp - 0x14f0], 0
jne 0x4196de
mov edx, dword [ebp - 0x6fc]
mov dword [ebp - 0x3c4], edx
jmp 0x419975
mov eax, dword [ebp - 0x2f8]
add eax, dword [ebp - 0x14f0]
mov dword [ebp - 0x6f0], eax
jne 0x419703
mov ecx, dword [ebp - 0x6fc]
mov dword [ebp - 0x3c4], ecx
jmp 0x419975
mov edx, dword [ebp - 0x6f0]
mov eax, dword [ebp - 0x2f8]
add eax, dword [edx + 0x20]
mov dword [ebp - 0x18a0], eax
mov ecx, dword [ebp - 0x6f0]
mov edx, dword [ebp - 0x2f8]
add edx, dword [ecx + 0x24]
mov dword [ebp - 0x18a4], edx
mov eax, dword [ebp - 0x6f0]
mov ecx, dword [ebp - 0x2f8]
add ecx, dword [eax + 0x1c]
mov dword [ebp - 0x18a8], ecx
mov dword [ebp - 0x6f4], 0
jmp 0x41975d