Function at 0x40a380
Capabilities:
Get number of processors

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5db8c3
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ecx
sub esp, 0x884
mov eax, dword [0x65eff4]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x47c], ecx
push 1
push 0x40
push 0x21
mov ecx, dword [ebp - 0x47c]
add ecx, 0x30
call fcn.0040eb80
push eax
lea ecx, [ebp - 0x5f8]
call fcn.0040f0f0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x5f8]
call fcn.0040f070
movzx eax, al
test eax, eax
jne 0x40a429
mov byte [ebp - 0x491], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5f8]
call fcn.0040b3b0
mov al, byte [ebp - 0x491]
jmp 0x40b386
push 0
mov ecx, dword [ebx + 0xc]
push ecx
mov edx, dword [ebx + 8]
push edx
lea ecx, [ebp - 0x5f8]
call fcn.00410880
mov eax, dword [ebp - 0x47c]
mov dword [eax + 0x64], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x488], xmm0
push 0
push 0x200
lea ecx, [ebp - 0x240]
push ecx
lea ecx, [ebp - 0x5f8]
call fcn.004109a0
mov edx, 1
imul eax, edx, 0
movsx ecx, byte [ebp + eax - 0x240]
test ecx, ecx
jne 0x40a488
jmp 0x40ad2e
lea edx, [ebp - 0x1c4]
push edx
call fcn.0040a100
add esp, 4
mov dword [ebp - 0x490], eax
mov dword [ebp - 0x48c], edx
lea eax, [ebp - 0x240]
push eax
lea ecx, [ebp - 0x270]
call fcn.0040eef0
mov byte [ebp - 4], 1
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x538], esp
lea edx, [ebp - 0x270]
push edx
call fcn.0040efb0
mov dword [ebp - 0x534], eax
mov ecx, dword [ebp - 0x47c]
call fcn.0040a280
mov byte [ebp - 0x492], al
movzx eax, byte [ebp - 0x492]
test eax, eax
je 0x40ac65
cmp dword [ebp - 0x48c], 0
jg 0x40ac65
jl 0x40a515
cmp dword [ebp - 0x490], 0x20000
jae 0x40ac65
mov ecx, dword [ebp - 0x490]
add ecx, 1
push ecx
call fcn.0046701b
add esp, 4
mov dword [ebp - 0x520], eax
mov edx, dword [ebp - 0x520]
mov dword [ebp - 0x4a4], edx
push 0
push 1
mov eax, dword [ebp - 0x48c]
push eax
mov ecx, dword [ebp - 0x490]
push ecx
call fcn.005aa430
mov edx, dword [ebp - 0x4a4]
mov byte [edx + eax], 0
mov eax, dword [ebp - 0x490]
cdq
push edx
push eax
mov eax, dword [ebp - 0x4a4]
push eax
lea ecx, [ebp - 0x5f8]
call fcn.004109a0
mov ecx, dword [ebp - 0x490]
push ecx
mov edx, dword [ebp - 0x4a4]
push edx
mov ecx, dword [ebp - 0x47c]
call fcn.0040bca0
mov byte [ebp - 0x493], al
movzx eax, byte [ebp - 0x493]
test eax, eax
jne 0x40a5d2
mov byte [ebp - 0x494], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x270]
call fcn.0040ecc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5f8]
call fcn.0040b3b0
mov al, byte [ebp - 0x494]
jmp 0x40b386
mov ecx, dword [ebp - 0x490]
sub ecx, 0x100
mov edx, dword [ebp - 0x48c]
sbb edx, 0
push ecx
mov eax, dword [ebp - 0x4a4]
add eax, 0x100
push eax
lea ecx, [ebp - 0x2a0]
push ecx
mov ecx, dword [ebp - 0x47c]
call fcn.0040c760
mov byte [ebp - 4], 2
push 1
push 1
lea edx, [ebp - 0x2a0]
push edx
lea ecx, [ebp - 0x6a0]
call fcn.0040fe00
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x258]
call fcn.0040ef60
mov byte [ebp - 4], 4
lea eax, [ebp - 0x258]
push eax
lea ecx, [ebp - 0x6a0]
push ecx
call fcn.00419630
add esp, 8
push 1
push 1
lea edx, [ebp - 0x258]
push edx
lea ecx, [ebp - 0x748]
call fcn.0040fe00
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x47c]
add eax, 0x64
push eax
lea ecx, [ebp - 0x748]
call fcn.00410b10
mov ecx, dword [ebp - 0x47c]
add ecx, 0x48
push ecx
lea edx, [ebp - 0x6a0]
push edx
call fcn.00419630
add esp, 8
mov eax, dword [ebp - 0x47c]
cmp dword [eax + 0x64], 0
jl 0x40a6ad
mov ecx, dword [ebp - 0x47c]
cmp dword [ecx + 0x64], 0x64
jle 0x40a737
mov edx, dword [ebp - 0x4a4]
mov dword [ebp - 0x51c], edx
mov eax, dword [ebp - 0x51c]
push eax
call fcn.00467024
add esp, 4
mov byte [ebp - 0x495], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x748]
call fcn.0040b3e0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x258]
call fcn.0040ecc0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x6a0]
call fcn.0040b3e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2a0]
call fcn.0040ecc0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x270]
call fcn.0040ecc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5f8]
call fcn.0040b3b0
mov al, byte [ebp - 0x495]
jmp 0x40b386
mov dword [ebp - 0x4b4], 0
jmp 0x40a752
mov ecx, dword [ebp - 0x4b4]
add ecx, 1
mov dword [ebp - 0x4b4], ecx
mov edx, dword [ebp - 0x47c]
mov eax, dword [ebp - 0x4b4]
cmp eax, dword [edx + 0x64]
jge 0x40a860
lea ecx, [ebp - 0x258]
push ecx
lea edx, [ebp - 0x6a0]
push edx
call fcn.00419630
add esp, 8
mov dword [ebp - 0x4d0], eax
mov eax, dword [ebp - 0x4d0]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x4d0]
add edx, dword [ecx + 4]
mov ecx, edx
call fcn.00406850
movzx eax, al
test eax, eax
je 0x40a860
push 1
push 1
lea ecx, [ebp - 0x258]
push ecx
lea ecx, [ebp - 0x7f0]
call fcn.0040fe00
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2d0]
call fcn.0040ef60
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2e8]
call fcn.0040ef60
mov byte [ebp - 4], 8
lea edx, [ebp - 0x2d0]
push edx
lea eax, [ebp - 0x2e8]
push eax
lea ecx, [ebp - 0x7f0]
push ecx
call fcn.00419670
add esp, 8
push eax
call fcn.00419670
add esp, 8
lea edx, [ebp - 0x2d0]
push edx
mov ecx, dword [ebp - 0x47c]
add ecx, 0x68
call fcn.0040e660
lea eax, [ebp - 0x2e8]
push eax
mov ecx, dword [ebp - 0x47c]
add ecx, 0x74
call fcn.0040e660
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2e8]
call fcn.0040ecc0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2d0]
call fcn.0040ecc0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x7f0]
call fcn.0040b3e0
jmp 0x40a743
mov dword [ebp - 0x4bc], 1
lea ecx, [ebp - 0x258]
push ecx
lea edx, [ebp - 0x6a0]
push edx
call fcn.00419630
add esp, 8
lea ecx, [ebp - 0x258]
call fcn.0040eb60
cmp eax, 8
jbe 0x40aabf
mov byte [ebp - 4], 9
push 8
push 0
lea eax, [ebp - 0x3a8]
push eax
lea ecx, [ebp - 0x258]
call fcn.0040ea50
mov dword [ebp - 0x518], eax
mov ecx, dword [ebp - 0x518]
mov dword [ebp - 0x514], ecx
mov byte [ebp - 4], 0xa
push str.VERSION:
mov ecx, dword [ebp - 0x514]
call fcn.0040e9a0
mov dword [ebp - 0x510], eax
cmp dword [ebp - 0x510], 0
jne 0x40a8ef
mov dword [ebp - 0x4cc], 1
jmp 0x40a8f9
mov dword [ebp - 0x4cc], 0
mov dl, byte [ebp - 0x4cc]
mov byte [ebp - 0x496], dl
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x3a8]
call fcn.0040ecc0
movzx eax, byte [ebp - 0x496]
test eax, eax
je 0x40a99c
mov ecx, dword [0x633fa4]
push ecx
push 8
lea edx, [ebp - 0x390]
push edx
lea ecx, [ebp - 0x258]
call fcn.0040ea50
mov dword [ebp - 0x50c], eax
mov eax, dword [ebp - 0x50c]
mov dword [ebp - 0x52c], eax
mov byte [ebp - 4], 0xb
push 1
push 1
mov ecx, dword [ebp - 0x52c]
push ecx
lea ecx, [ebp - 0x898]
call fcn.0040fe00
mov dword [ebp - 0x540], eax
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x390]
call fcn.0040ecc0
lea edx, [ebp - 0x4bc]
push edx
lea ecx, [ebp - 0x898]
call fcn.00410b10
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x898]
call fcn.0040b3e0
cmp dword [ebp - 0x4bc], 2
jl 0x40aa89
lea eax, [ebp - 0x258]
push eax
lea ecx, [ebp - 0x6a0]
push ecx
call fcn.00419630
add esp, 8
push 8
push 0
lea edx, [ebp - 0x378]
push edx
lea ecx, [ebp - 0x258]
call fcn.0040ea50
mov dword [ebp - 0x508], eax
mov eax, dword [ebp - 0x508]
mov dword [ebp - 0x504], eax
mov byte [ebp - 4], 0xe
push str.BLKLIST:
mov ecx, dword [ebp - 0x504]
call fcn.0040e9a0
mov dword [ebp - 0x4e4], eax
cmp dword [ebp - 0x4e4], 0
jne 0x40aa16
mov dword [ebp - 0x4c0], 1
jmp 0x40aa20
mov dword [ebp - 0x4c0], 0
mov cl, byte [ebp - 0x4c0]
mov byte [ebp - 0x497], cl
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x378]
call fcn.0040ecc0
movzx edx, byte [ebp - 0x497]
test edx, edx
je 0x40aa89
mov eax, dword [0x633fa4]
push eax
push 8
lea ecx, [ebp - 0x3c0]
push ecx
lea ecx, [ebp - 0x258]
call fcn.0040ea50
mov dword [ebp - 0x4e0], eax
mov edx, dword [ebp - 0x4e0]
push edx
mov ecx, dword [ebp - 0x47c]
add ecx, 0x80
call fcn.0040ed10
lea ecx, [ebp - 0x3c0]
call fcn.0040ecc0
jmp 0x40aabf
mov dword [ebp - 4], 5
jmp 0x40ab36
mov edx, dword [ebp - 0x4a4]
mov dword [ebp - 0x528], edx
mov eax, dword [ebp - 0x528]
push eax
call fcn.00467024
add esp, 4
mov ecx, dword [ebp - 0x47c]
add ecx, 0x68
call fcn.0040e7f0
mov ecx, dword [ebp - 0x47c]
cmp dword [ecx + 0x64], eax
je 0x40abd9
mov byte [ebp - 0x499], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x748]
call fcn.0040b3e0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x258]
call fcn.0040ecc0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x6a0]
call fcn.0040b3e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2a0]
call fcn.0040ecc0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x270]
call fcn.0040ecc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5f8]
call fcn.0040b3b0
mov al, byte [ebp - 0x499]
jmp 0x40b386
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x748]
call fcn.0040b3e0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x258]
call fcn.0040ecc0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x6a0]
call fcn.0040b3e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2a0]
call fcn.0040ecc0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x270]
call fcn.0040ecc0
jmp 0x40ad2e
push 0
push 0x200
mov edx, dword [ebp - 0x48c]
push edx
mov eax, dword [ebp - 0x490]
push eax
call fcn.005aa350
mov dword [ebp - 0x488], eax
mov dword [ebp - 0x484], edx
push 0
push 0x200
mov ecx, dword [ebp - 0x48c]
push ecx
mov edx, dword [ebp - 0x490]
push edx
call fcn.005d97b0
mov dword [ebp - 0x4f0], eax
mov dword [ebp - 0x4ec], edx
mov eax, dword [ebp - 0x4f0]
or eax, dword [ebp - 0x4ec]
je 0x40acdd
mov ecx, dword [ebp - 0x488]
add ecx, 1
mov edx, dword [ebp - 0x484]
adc edx, 0
mov dword [ebp - 0x488], ecx
mov dword [ebp - 0x484], edx
push 1
push 0
push 0x200
mov eax, dword [ebp - 0x484]
push eax
mov ecx, dword [ebp - 0x488]
push ecx
call fcn.005aa430
push edx
push eax
lea ecx, [ebp - 0x5f8]
call fcn.00410880
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x270]
call fcn.0040ecc0
jmp 0x40a456
mov edx, dword [ebp - 0x47c]
cmp dword [edx + 0x64], 0
jg 0x40ad5e
mov byte [ebp - 0x4a5], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5f8]
call fcn.0040b3b0
mov al, byte [ebp - 0x4a5]
jmp 0x40b386
push 0
push 0
push 0
lea ecx, [ebp - 0x5f8]
call fcn.00410880
push 0
push 0x200
lea eax, [ebp - 0x240]
push eax
lea ecx, [ebp - 0x5f8]
call fcn.004109a0
mov ecx, 1
imul edx, ecx, 0
movsx eax, byte [ebp + edx - 0x240]
test eax, eax
jne 0x40ada1
jmp 0x40b35c
lea ecx, [ebp - 0x1c4]
push ecx
call fcn.0040a100
add esp, 4
mov dword [ebp - 0x490], eax
mov dword [ebp - 0x48c], edx
lea edx, [ebp - 0x240]
push edx
lea ecx, [ebp - 0x288]
call fcn.0040eef0
mov byte [ebp - 4], 0x10
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x53c], esp
lea eax, [ebp - 0x288]
push eax
call fcn.0040efb0
mov dword [ebp - 0x530], eax
mov ecx, dword [ebp - 0x47c]
call fcn.0040a1e0
mov byte [ebp - 0x49a], al
movzx ecx, byte [ebp - 0x49a]
test ecx, ecx
jne 0x40b293
mov dword [ebp - 0x4b8], 0xffffffff
mov dword [ebp - 0x4ac], 0
jmp 0x40ae34
mov edx, dword [ebp - 0x4ac]
add edx, 1
mov dword [ebp - 0x4ac], edx
mov ecx, dword [ebp - 0x47c]
add ecx, 0x68
call fcn.0040e7f0
cmp dword [ebp - 0x4ac], eax
jae 0x40ae7f
mov eax, dword [ebp - 0x4ac]
push eax
mov ecx, dword [ebp - 0x47c]
add ecx, 0x68
call fcn.0040e7d0
push eax
lea ecx, [ebp - 0x288]
call fcn.0040e9e0
test eax, eax
jne 0x40ae7d
mov ecx, dword [ebp - 0x4ac]
mov dword [ebp - 0x4b8], ecx
jmp 0x40ae7f
jmp 0x40ae25
cmp dword [ebp - 0x4b8], 0
jge 0x40aebb
mov byte [ebp - 0x49b], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x288]
call fcn.0040ecc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5f8]
call fcn.0040b3b0
mov al, byte [ebp - 0x49b]
jmp 0x40b386
mov edx, dword [ebp - 0x490]
mov dword [ebp - 0x488], edx
mov eax, dword [ebp - 0x48c]
mov dword [ebp - 0x484], eax
lea ecx, [ebp - 0x478]
call fcn.0040b410
mov byte [ebp - 4], 0x11
push 0x100000
call fcn.0046701b
add esp, 4
mov dword [ebp - 0x4d4], eax
mov ecx, dword [ebp - 0x4d4]
mov dword [ebp - 0x4b0], ecx
cmp dword [ebp - 0x484], 0
jl 0x40afd0
jg 0x40af1d
cmp dword [ebp - 0x488], 0
jbe 0x40afd0
cmp dword [ebp - 0x484], 0
jl 0x40af87
jg 0x40af34
cmp dword [ebp - 0x488], 0x100000
jb 0x40af87
push 0
push 0x100000
mov edx, dword [ebp - 0x4b0]
push edx
lea ecx, [ebp - 0x5f8]
call fcn.004109a0
push 0x100000
mov eax, dword [ebp - 0x4b0]
push eax
lea ecx, [ebp - 0x478]
call fcn.004595c0
mov ecx, dword [ebp - 0x488]
sub ecx, 0x100000
mov edx, dword [ebp - 0x484]
sbb edx, 0
mov dword [ebp - 0x488], ecx
mov dword [ebp - 0x484], edx
jmp 0x40afcb
mov eax, dword [ebp - 0x484]
push eax
mov ecx, dword [ebp - 0x488]
push ecx
mov edx, dword [ebp - 0x4b0]
push edx
lea ecx, [ebp - 0x5f8]
call fcn.004109a0
mov eax, dword [ebp - 0x488]
push eax
mov ecx, dword [ebp - 0x4b0]
push ecx
lea ecx, [ebp - 0x478]
call fcn.004595c0
xorps xmm0, xmm0
movlpd qword [ebp - 0x488], xmm0
jmp 0x40af01
mov edx, dword [ebp - 0x4b0]
mov dword [ebp - 0x4d8], edx
mov eax, dword [ebp - 0x4d8]
push eax
call fcn.00467024
add esp, 4
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x478]
call fcn.004077d0
push 0x628a16
lea ecx, [ebp - 0x300]
call fcn.0040eef0
mov byte [ebp - 4], 0x12
push 0x628fe0
lea ecx, [ebp - 0x318]
call fcn.0040eef0
mov byte [ebp - 4], 0x13
lea edx, [ebp - 0x300]
push edx
lea eax, [ebp - 0x318]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0x360]
call fcn.00409090
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x318]
call fcn.0040ecc0
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x300]
call fcn.0040ecc0
lea ecx, [ebp - 0x2b8]
call fcn.0040ef60
mov byte [ebp - 4], 0x17
push 0x10
call fcn.00466fe4
add esp, 4
mov dword [ebp - 0x4c4], eax
mov byte [ebp - 4], 0x18
cmp dword [ebp - 0x4c4], 0
je 0x40b0a5
lea ecx, [ebp - 0x2b8]
push ecx
mov ecx, dword [ebp - 0x4c4]
call fcn.0040daf0
mov dword [ebp - 0x4c8], eax
jmp 0x40b0af
mov dword [ebp - 0x4c8], 0
mov edx, dword [ebp - 0x4c8]
mov dword [ebp - 0x4dc], edx
mov byte [ebp - 4], 0x17
mov eax, dword [ebp - 0x4dc]
push eax
lea ecx, [ebp - 0x360]
call fcn.00441900
push 1
push 0x20
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x360]
call fcn.004079c0
push 1
push 0xffffffffffffffff
lea ecx, [ebp - 0x360]
call fcn.004079f0
mov edx, dword [ebp - 0x4b8]
push edx
mov ecx, dword [ebp - 0x47c]
add ecx, 0x74
call fcn.0040e7d0
push eax
lea ecx, [ebp - 0x2b8]
call fcn.0040e9e0
test eax, eax
je 0x40b178
mov byte [ebp - 0x49c], 0
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x2b8]
call fcn.0040ecc0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x360]
call fcn.00409260
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x478]
call fcn.0040b430
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x288]
call fcn.0040ecc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5f8]
call fcn.0040b3b0
mov al, byte [ebp - 0x49c]
jmp 0x40b386
push 0
push 0x200
mov eax, dword [ebp - 0x48c]
push eax
mov ecx, dword [ebp - 0x490]
push ecx
call fcn.005aa350
mov dword [ebp - 0x488], eax
mov dword [ebp - 0x484], edx
push 0
push 0x200
mov edx, dword [ebp - 0x48c]
push edx
mov eax, dword [ebp - 0x490]
push eax
call fcn.005d97b0
mov dword [ebp - 0x4f8], eax
mov dword [ebp - 0x4f4], edx
mov ecx, dword [ebp - 0x4f8]
or ecx, dword [ebp - 0x4f4]
je 0x40b1f0
mov edx, dword [ebp - 0x488]
add edx, 1
mov eax, dword [ebp - 0x484]
adc eax, 0
mov dword [ebp - 0x488], edx
mov dword [ebp - 0x484], eax
push 1
push 0
push 0x200
mov ecx, dword [ebp - 0x484]
push ecx
mov edx, dword [ebp - 0x488]
push edx
call fcn.005aa430
sub eax, dword [ebp - 0x490]
sbb edx, dword [ebp - 0x48c]
push edx
push eax
lea ecx, [ebp - 0x5f8]
call fcn.00410880
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x2b8]
call fcn.0040ecc0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x360]
call fcn.00409260
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x478]
call fcn.0040b430
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x288]
call fcn.0040ecc0
jmp 0x40ad6f
push 0
push 0x200
mov eax, dword [ebp - 0x48c]
push eax
mov ecx, dword [ebp - 0x490]
push ecx
call fcn.005aa350
mov dword [ebp - 0x488], eax
mov dword [ebp - 0x484], edx
push 0
push 0x200
mov edx, dword [ebp - 0x48c]
push edx
mov eax, dword [ebp - 0x490]
push eax
call fcn.005d97b0
mov dword [ebp - 0x500], eax
mov dword [ebp - 0x4fc], edx
mov ecx, dword [ebp - 0x500]
or ecx, dword [ebp - 0x4fc]
je 0x40b30b
mov edx, dword [ebp - 0x488]
add edx, 1
mov eax, dword [ebp - 0x484]
adc eax, 0
mov dword [ebp - 0x488], edx
mov dword [ebp - 0x484], eax
push 1
push 0
push 0x200
mov ecx, dword [ebp - 0x484]
push ecx
mov edx, dword [ebp - 0x488]
push edx
call fcn.005aa430
push edx
push eax
lea ecx, [ebp - 0x5f8]
call fcn.00410880
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x288]
call fcn.0040ecc0
jmp 0x40ad6f
lea ecx, [ebp - 0x5f8]
call fcn.0040f040
mov byte [ebp - 0x49d], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5f8]
call fcn.0040b3b0
mov al, byte [ebp - 0x49d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.005a980c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8