Function at 0x411620
Capabilities:
Get number of processors
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x43f08b
mov eax, dword fs:[0]
push eax
sub esp, 0xa34
mov eax, dword [0x44fb64]
xor eax, esp
mov dword [esp + 0xa30], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44fb64]
xor eax, esp
push eax
lea eax, [esp + 0xa48]
mov dword fs:[0], eax
mov eax, dword [esp + 0xa58]
mov edi, ecx
push 0x7d000
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], eax
call fcn.00413bd6
add esp, 4
push 0x208
lea ecx, [esp + 0x30]
push 0
push ecx
mov dword [esp + 0x2c], eax
call fcn.004253a0
add esp, 0xc
push 0x208
lea edx, [esp + 0x238]
push 0
push edx
call fcn.004253a0
add esp, 0xc
call fcn.00413be1
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4116c2
push 0x80004005
call fcn.0040a000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
push 0x447ae8
push edi
mov dword [esp + 0xa58], 0
call fcn.004228cf
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x4118da
push 0x400
lea ecx, [esp + 0x648]
push 0
push ecx
call fcn.004253a0
add esp, 0xc
push ebp
call fcn.0042303e
add esp, 4
test eax, eax
jne 0x4118cf
lea ecx, [ecx]
push ebp
push 0x400
lea edx, [esp + 0x64c]
push 1
push edx
call fcn.00423346
push ebp
mov esi, eax
call fcn.00422e10
add esp, 0x14
mov ebx, eax
mov dword [esp + 0x28], edx
cmp esi, 0x400
jne 0x4118be
mov ecx, str.LeaderCab
lea eax, [esp + 0x644]
mov edi, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x411780
test dl, dl
je 0x41177c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x411780
add eax, 2
add ecx, 2
test dl, dl
jne 0x411760
xor eax, eax
jmp 0x411785
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4118be
push 0x208
push eax
lea eax, [esp + 0x444]
push eax
call fcn.004253a0
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x448]
add esp, 0xc
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4117b0
lea edi, [esp + 0x43c]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4117c2
mov cx, word [0x447968]
lea eax, [esp + 0x668]
mov word [edi], cx
mov esi, eax
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4117e0
lea edi, [esp + 0x43c]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4117f1
mov edx, dword [esp + 0x28]
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push 0
push edx
mov ecx, eax
and ecx, 3
push ebx
push ebp
rep movsb byte es:[edi], byte [esi]
call fcn.00422a75
lea eax, [esp + 0x44c]
push eax
lea ecx, [esp + 0x28]
push str.SplitFile_:_s__Begin
push ecx
call fcn.00409910
mov edx, dword [esp + 0x30]
add esp, 0x1c
push 0
push edx
push 0x453d11
call fcn.0040d890
mov eax, dword [esp + 0x664]
mov ecx, dword [esp + 0x6d8]
mov edx, dword [esp + 0x6d4]
push eax
push ecx
push edx
lea eax, [esp + 0x448]
push eax
lea ecx, [esp + 0x6dc]
mov edx, ebp
call fcn.00412810
lea ecx, [esp + 0x44c]
push ecx
lea edx, [esp + 0x28]
push str.SplitFile_:_s__End
push edx
call fcn.00409910
mov eax, dword [esp + 0x30]
add esp, 0x1c
push 0
push eax
push 0x453d11
call fcn.0040d890
mov ecx, dword [esp + 0x6d4]
mov edx, dword [esp + 0x6d8]
add ecx, ebx
adc edx, dword [esp + 0x28]
push 0
push edx
push ecx
push ebp
call fcn.00422a75
mov edi, dword [esp + 0x2c]
add esp, 0x10
push ebp
call fcn.0042303e
add esp, 4
test eax, eax
je 0x411720
push ebp
call fcn.0042295d
add esp, 4
jmp 0x411905
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
lea eax, [esp + 0x1c]
push str.CUnCompressFile::UnCompressldmFile_fopen__s__fial__d_
push eax
call fcn.00409910
mov ecx, dword [esp + 0x24]
add esp, 0x10
push 0
push ecx
push 0x453d11
call fcn.0040d890
mov edx, dword [esp + 0x20]
push edx
call fcn.00413bcb
lea eax, [esp + 0x30]
add esp, 4
push eax
call fcn.0040a100
add esp, 4
test eax, eax
je 0x41199d
lea eax, [esp + 0x234]
dec eax
jmp 0x411930
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x411930
mov ecx, dword [str.__srcfile__]
mov edx, dword [0x448dd4]
mov dword [eax], ecx
mov ecx, dword [0x448dd8]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov eax, edi
mov ecx, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x411956
lea edi, [esp + 0x234]
sub eax, ecx
mov esi, ecx
dec edi
lea esp, [esp]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x411970
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x234]
dec edi
mov edi, edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x411990
jmp 0x411b19
push 0x208
lea edx, [esp + 0x30]
push 0
push edx
call fcn.004253a0
add esp, 0xc
push 0x208
lea eax, [esp + 0x30]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 0x2c]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4119d0
sub eax, edx
add eax, 0xffffffff
js 0x4119eb
mov cl, 0x5c
cmp byte [esp + eax + 0x2c], cl
je 0x4119eb
sub eax, 1
jns 0x4119e0
mov byte [esp + eax + 0x2c], 0
lea eax, [esp + 0x2c]
dec eax
cmp byte [esp + 0xa5c], 1
jne 0x411a26
nop
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x411a00
mov ecx, dword [str.Ldxc.exe]
mov edx, dword [0x448c78]
mov dword [eax], ecx
mov cx, word [0x448c7c]
mov dword [eax + 4], edx
mov word [eax + 8], cx
jmp 0x411a48
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x411a26
mov edx, dword [0x448c80]
mov ecx, dword [0x448c84]
mov dword [eax], edx
mov dl, byte [0x448c88]
mov dword [eax + 4], ecx
mov byte [eax + 8], dl
lea eax, [esp + 0x234]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x411a50
mov ecx, dword [str.__Simplefile__]
mov edx, dword [0x448e2c]
mov dword [eax], ecx
mov ecx, dword [0x448e30]
mov dword [eax + 4], edx
mov dx, word [0x448e34]
mov dword [eax + 8], ecx
mov cl, byte [0x448e36]
mov word [eax + 0xc], dx
mov byte [eax + 0xe], cl
mov eax, dword [esp + 0x18]
mov ecx, eax
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x411a90
lea edi, [esp + 0x234]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x411aa3
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x234]
rep movsb byte es:[edi], byte [esi]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x411ac1
mov edx, dword [0x448e38]
mov cl, byte [0x448e3c]
mov dword [eax], edx
mov byte [eax + 4], cl
mov eax, dword [esp + 0x1c]
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x411ae0
lea edi, [esp + 0x234]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x411af3
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x234]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x411b11
mov dx, word [0x4485b0]
push 0x64
mov word [edi], dx
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
lea eax, [esp + 0x238]
push eax
lea ecx, [esp + 0x34]
push ecx
call fcn.0040a410
mov dword [esp + 0xa5c], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
add esp, 0xc
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x411b6d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0xa48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa30]
xor ecx, esp
call fcn.00421f05
add esp, 0xa40
ret