Function at 0x5f08c4
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x39
push 0
push 0
dec ecx
jne 0x5f08cd
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
call fcn.00405814
xor eax, eax
push ebp
push 0x5f166a
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x15], 0
lea eax, [ebp - 8]
call fcn.00405394
cmp dword [ebp - 0x14], 0
je 0x5f1619
cmp dword [ebp + 0x10], 0
je 0x5f0925
lea eax, [ebp - 0xc]
mov edx, dword [ebp + 0x10]
add edx, 0x15
call fcn.004055f8
jmp 0x5f092d
lea eax, [ebp - 0xc]
call fcn.00405394
push ebp
push 0x5f1575
push dword fs:[0]
mov dword fs:[0], esp
mov byte [ebp - 0x42], 0
lea eax, [ebp - 0x74]
xor ecx, ecx
mov edx, 0x28
call fcn.004e2d28
lea edx, [ebp - 0x74]
mov ecx, 0x28
mov eax, dword [ebp - 4]
call fcn.004e64b8
lea eax, [ebp - 0x88]
xor ecx, ecx
mov edx, 0x14
call fcn.004e2d28
lea eax, [ebp - 0x9c]
xor ecx, ecx
mov edx, 0x14
call fcn.004e2d28
lea eax, [ebp - 0xb0]
xor ecx, ecx
mov edx, 0x14
call fcn.004e2d28
lea eax, [ebp - 0xc4]
xor ecx, ecx
mov edx, 0x14
call fcn.004e2d28
lea eax, [ebp - 0xd8]
xor ecx, ecx
mov edx, 0x14
call fcn.004e2d28
xor eax, eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
movzx edx, word [eax + 6]
mov eax, dword [0x6c0ec4]
mov eax, dword [eax]
call fcn.005bf910
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x5f09ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5f1619
cmp byte [ebp + 8], 1
jne 0x5f0a05
mov eax, dword [ebp - 0x24]
test byte [eax + 0x13], 4
je 0x5f0a05
mov eax, dword [ebp - 0x24]
cmp word [eax + 0x1f], 1
ja 0x5f0a09
xor eax, eax
jmp 0x5f0a0b
mov al, 1
mov byte [ebp - 0x32], al
cmp byte [ebp - 0x32], 0
je 0x5f0a20
mov eax, dword [ebp - 0x24]
movzx eax, word [eax + 0x1f]
mov dword [ebp - 0x38], eax
jmp 0x5f0a27
mov dword [ebp - 0x38], 1
xor eax, eax
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x41], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x24]
mov edx, dword [ebp - 0x10]
cmp eax, dword [edx + 0x15d8]
jg 0x5f0a4e
mov eax, dword [ebp - 0x10]
add eax, 0x15d8
mov dword [ebp - 0x1c], eax
jmp 0x5f0a65
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x24]
mov edx, dword [ebp - 0x10]
cmp eax, dword [edx + 0x30]
jg 0x5f0a65
mov eax, dword [ebp - 0x10]
add eax, 0x30
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x15], 5
mov eax, dword [ebp - 0x10]
call fcn.005e3e54
test al, al
jne 0x5f0a7e
mov byte [ebp - 0x15], 0xc
xor eax, eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x5f13f7
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0x10]
add eax, dword [edx + 0x15d8]
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0x24]
cdq
idiv ecx
mov edx, eax
mov eax, dword [ebp - 0x38]
call fcn.004e3dd8
mov dword [ebp - 0x38], eax
push ebp
push 0x5f13f0
push dword fs:[0]
mov dword fs:[0], esp
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x418]
mov eax, dword [eax + 8]
dec eax
cmp eax, 0
jl 0x5f0d2a
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x418]
mov edx, dword [ebp - 0x28]
call fcn.0041fbfc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x5f0d1d
mov eax, dword [ebp - 0x20]
movzx edx, word [eax + 4]
mov eax, dword [0x6c0ec4]
mov eax, dword [eax]
call fcn.005bf910
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x5f0d1d
xor eax, eax
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x74]
lea edx, [ebp - 0x88]
mov dword [ebp - 0x48], edx
lea edx, [ebp - 0xb0]
mov dword [ebp - 0x4c], edx
lea ebx, [ebp - 0x9c]
lea esi, [ebp - 0xc4]
mov edx, dword [ebp - 0x20]
mov edx, dword [edx]
cmp edx, dword [eax]
jne 0x5f0ccb
mov eax, dword [ebp - 0x2c]
lea eax, [eax + eax*4]
mov edx, dword [ebp - 0x14]
movzx eax, word [edx + eax + 0xb]
mov edx, dword [ebp - 0x20]
cmp ax, word [edx + 4]
jne 0x5f0d1d
mov eax, dword [ebp - 0x24]
test byte [eax + 0x13], 4
je 0x5f0bb4
mov eax, dword [ebp - 0x24]
cmp word [eax + 0x1f], 1
jbe 0x5f0bb4
mov eax, dword [ebp - 0x2c]
lea eax, [eax + eax*4]
mov edx, dword [ebp - 0x14]
movzx ebx, word [edx + eax + 0xd]
mov eax, dword [ebp - 0x20]
movzx ecx, word [eax + 0xc]
cmp bx, cx
ja 0x5f0d1d
movzx eax, bx
push eax
movzx eax, cx
pop edx
mov ecx, edx
xor edx, edx
div ecx
mov edx, eax
mov eax, dword [ebp - 0x38]
call fcn.004e3dd8
mov dword [ebp - 0x38], eax
jmp 0x5f0bb8
mov byte [ebp - 0x32], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x418]
mov edx, dword [ebp - 0x28]
call fcn.0041faa0
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x20]
mov dword [eax], edx
mov eax, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x24]
mov dword [eax], edx
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax + 6]
xor edx, edx
call fcn.004e307c
test al, al
je 0x5f0bf7
lea eax, [ebp - 0x42]
mov cl, 1
xor edx, edx
call fcn.004e309c
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax + 6]
mov dl, 1
call fcn.004e307c
test al, al
je 0x5f0c15
lea eax, [ebp - 0x42]
mov cl, 1
mov dl, 1
call fcn.004e309c
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax + 6]
mov dl, 2
call fcn.004e307c
test al, al
je 0x5f0c33
lea eax, [ebp - 0x42]
mov cl, 1
mov dl, 2
call fcn.004e309c
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax + 6]
mov dl, 3
call fcn.004e307c
test al, al
je 0x5f0c51
lea eax, [ebp - 0x42]
mov cl, 1
mov dl, 3
call fcn.004e309c
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax + 6]
mov dl, 4
call fcn.004e307c
test al, al
je 0x5f0c6f
lea eax, [ebp - 0x42]
mov cl, 1
mov dl, 4
call fcn.004e309c
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax + 6]
mov dl, 5
call fcn.004e307c
test al, al
je 0x5f0c8d
lea eax, [ebp - 0x42]
mov cl, 1
mov dl, 5
call fcn.004e309c
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax + 6]
mov dl, 6
call fcn.004e307c
test al, al
je 0x5f0cab
lea eax, [ebp - 0x42]
mov cl, 1
mov dl, 6
call fcn.004e309c
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax + 6]
mov dl, 7
call fcn.004e307c
test al, al
je 0x5f0d1d
lea eax, [ebp - 0x42]
mov cl, 1
mov dl, 7
call fcn.004e309c
jmp 0x5f0d1d
cmp edx, dword [eax + 0x14]
jne 0x5f0cff
mov eax, dword [ebp - 0x24]
cmp byte [eax + 0x12], 0x19
jne 0x5f0d1d
mov eax, dword [ebp - 0x24]
cmp byte [eax + 0x14], 2
jne 0x5f0d1d
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x418]
mov edx, dword [ebp - 0x28]
call fcn.0041faa0
mov eax, dword [ebp - 0x20]
mov dword [ebx], eax
mov eax, dword [ebp - 0x24]
mov dword [esi], eax
jmp 0x5f0d1d
inc dword [ebp - 0x2c]
add esi, 4
add ebx, 4
add dword [ebp - 0x4c], 4
add dword [ebp - 0x48], 4
add eax, 4
cmp dword [ebp - 0x2c], 5
jne 0x5f0b3e
dec dword [ebp - 0x28]
cmp dword [ebp - 0x28], 0xffffffff
jne 0x5f0ada
cmp dword [ebp - 0x38], 1
jg 0x5f0d34
mov byte [ebp - 0x32], 0
mov eax, dword [ebp - 0x14]
movzx edi, byte [eax + 0x28]
xor eax, eax
mov dword [ebp - 0x30], eax
mov cl, 1
xor eax, eax
mov dword [ebp - 0x2c], eax
lea esi, [ebp - 0x88]
lea ebx, [ebp - 0xb0]
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0xc4]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x2c]
lea eax, [eax + eax*4]
mov edx, dword [ebp - 0x14]
cmp word [edx + eax + 0xb], 0
jbe 0x5f0d9a
cmp dword [esi], 0
jne 0x5f0d7f
xor ecx, ecx
jmp 0x5f0dc5
mov eax, dword [ebx]
cmp byte [eax + 0x12], 0x15
jne 0x5f0d9a
mov eax, dword [esi]
movzx eax, word [eax + 0xc]
push ecx
mov ecx, 0x3e8
xor edx, edx
div ecx
pop ecx
add edi, eax
mov eax, dword [ebp - 0x4c]
cmp dword [eax], 0
je 0x5f0dae
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
movzx eax, word [eax + 0x19]
add dword [ebp - 0x30], eax
inc dword [ebp - 0x2c]
add dword [ebp - 0x48], 4
add dword [ebp - 0x4c], 4
add ebx, 4
add esi, 4
cmp dword [ebp - 0x2c], 5
jne 0x5f0d65
mov byte [ebp - 0x15], 6
test cl, cl
je 0x5f1398
mov edx, 3
mov eax, dword [ebp - 0x10]
call fcn.00606cc8
test eax, eax
jne 0x5f0df4
mov ecx, 1
mov edx, 3
mov eax, dword [ebp - 0x10]
call fcn.00606dc0
cmp dword [ebp + 0x10], 0
jne 0x5f0e29
movzx eax, byte [ebp + 0xc]
sub al, 0xa
jae 0x5f0e29
movzx edx, byte [ebp + 0xc]
add edx, 5
mov eax, dword [ebp - 0x10]
call fcn.00606cc8
test eax, eax
jne 0x5f0e29
movzx edx, byte [ebp + 0xc]
add edx, 5
mov ecx, 1
mov eax, dword [ebp - 0x10]
call fcn.00606dc0
cmp dword [ebp + 0x10], 0
jne 0x5f0e64
movzx eax, byte [ebp + 0xc]
mov edx, dword [ebp - 0x10]
cmp byte [edx + eax + 0x482a], 0
jbe 0x5f0e64
movzx eax, byte [ebp + 0xc]
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + eax + 0x482a]
mov edx, dword [setsockopt]
movzx edx, byte [edx + 0x5fa9]
mov ecx, edx
xor edx, edx
div ecx
add edi, eax
cmp byte [ebp - 0x32], 0
je 0x5f0ef3
cmp dword [ebp - 0x38], 1
jle 0x5f0ef3
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x24]
imul dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x15d8]
cmp eax, dword [ebp - 0x40]
jl 0x5f0ea1
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x40]
sub dword [eax + 0x15d8], edx
xor eax, eax
mov dword [ebp - 0x40], eax
jmp 0x5f0eb8
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x15d8]
sub dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x15d8], edx
cmp dword [ebp - 0x40], 0
jle 0x5f0ed2
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x30]
cmp eax, dword [ebp - 0x40]
jl 0x5f0ed2
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x40]
sub dword [eax + 0x30], edx
mov ebx, dword [ebp - 0x38]
test ebx, ebx
jle 0x5f0f27
mov eax, 0x64
call fcn.00403484
cmp edi, eax
jle 0x5f0eee
inc dword [ebp - 0x3c]
mov byte [ebp - 0x31], 1
dec ebx
jne 0x5f0ed9
jmp 0x5f0f27
add edi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax + 0x29]
cmp edi, eax
jle 0x5f0f08
mov eax, dword [ebp - 0x14]
movzx edi, byte [eax + 0x29]
mov byte [ebp - 0x15], 7
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x24]
mov edx, dword [ebp - 0x1c]
sub dword [edx], eax
mov eax, 0x64
call fcn.00403484
cmp edi, eax
setg byte [ebp - 0x31]
cmp byte [ebp - 0x32], 0
jne 0x5f0f34
mov dword [ebp - 0x38], 1
xor eax, eax
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x88]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0xb0]
mov dword [ebp - 0x4c], eax
lea ebx, [ebp - 0x9c]
lea esi, [ebp - 0xc4]
mov eax, dword [ebp - 0x48]
cmp dword [eax], 0
je 0x5f10c1
mov eax, dword [ebp - 0x4c]
mov edi, dword [eax]
test byte [edi + 0x13], 4
je 0x5f103d
cmp word [edi + 0x1f], 1
jbe 0x5f103d
mov eax, dword [ebp - 0x2c]
lea eax, [eax + eax*4]
mov edx, dword [ebp - 0x14]
movzx eax, word [edx + eax + 0xd]
imul dword [ebp - 0x38]
mov edx, dword [ebp - 0x48]
mov edx, dword [edx]
movzx edx, word [edx + 0xc]
cmp eax, edx
jge 0x5f103d
mov eax, dword [ebp - 0x2c]
lea eax, [eax + eax*4]
mov edx, dword [ebp - 0x14]
movzx eax, word [edx + eax + 0xd]
imul word [ebp - 0x38]
mov edx, dword [ebp - 0x48]
mov edx, dword [edx]
sub word [edx + 0xc], ax
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax]
cmp byte [eax + 0x58], 1
jne 0x5f10c1
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
movzx eax, word [eax + 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0x5f1684
mov eax, dword [ebp - 0x2c]
lea eax, [eax + eax*4]
mov edx, dword [ebp - 0x14]
movzx eax, word [edx + eax + 0xd]
imul dword [ebp - 0x38]
lea edx, [ebp - 0xdc]
call fcn.0040a790
mov eax, dword [ebp - 0xdc]
push eax
push 0x5f1690
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
push eax
lea eax, [ebp - 0xe0]
mov edx, dword [ebp - 0x4c]
mov edx, dword [edx]
add edx, 2
call fcn.004055f8
mov ecx, dword [ebp - 0xe0]
mov edx, 6
mov eax, dword [ebp - 0x10]
call fcn.006421ac
jmp 0x5f10c1
mov eax, dword [ebp - 0x2c]
lea eax, [eax + eax*4]
mov edx, dword [ebp - 0x14]
movzx eax, byte [edx + eax + 0xf]
xor al, 1
or al, byte [ebp - 0x31]
je 0x5f10c1
cmp byte [edi + 0x58], 1
jne 0x5f10a4
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
movzx eax, word [eax + 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0x5f16a0
push 0x5f16a0
push 0x5f1690
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
push eax
lea eax, [ebp - 0xe4]
lea edx, [edi + 2]
call fcn.004055f8
mov ecx, dword [ebp - 0xe4]
mov edx, 8
mov eax, dword [ebp - 0x10]
call fcn.006421ac
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
mov edx, 0x72
call fcn.00402fb0
mov eax, dword [ebp - 0x48]
xor edx, edx
mov dword [eax], edx
mov eax, dword [ebp - 0x4c]
xor edx, edx
mov dword [eax], edx
mov edi, dword [ebx]
test edi, edi
je 0x5f1122
mov eax, dword [esi]
cmp byte [eax + 0x58], 1
jne 0x5f110e
mov eax, dword [edi]
push eax
movzx eax, word [edi + 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0x5f16a0
push 0x5f16a0
push 0x5f1690
push edi
lea eax, [ebp - 0xe8]
mov edx, dword [esi]
add edx, 2
call fcn.004055f8
mov ecx, dword [ebp - 0xe8]
mov edx, 8
mov eax, dword [ebp - 0x10]
call fcn.006421ac
mov eax, dword [ebx]
mov edx, 0x72
call fcn.00402fb0
xor eax, eax
mov dword [ebx], eax
xor eax, eax
mov dword [esi], eax
inc dword [ebp - 0x2c]
add esi, 4
add ebx, 4
add dword [ebp - 0x4c], 4
add dword [ebp - 0x48], 4
cmp dword [ebp - 0x2c], 5
jne 0x5f0f57
mov byte [ebp - 0x41], 1
cmp byte [ebp - 0x31], 0
je 0x5f1394
mov byte [ebp - 0x15], 7
mov eax, 0x72
call fcn.00402f94
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
movzx edx, word [eax + 6]
mov eax, dword [0x6c0ec4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x20]
call fcn.005bfe88
test al, al
je 0x5f1385
mov eax, dword [ebp - 0x20]
movzx edx, word [eax + 4]
mov eax, dword [0x6c0ec4]
mov eax, dword [eax]
call fcn.005bf910
mov dword [ebp - 0x24], eax
cmp byte [ebp - 0x32], 0
je 0x5f11ad
cmp dword [ebp - 0x38], 1
jle 0x5f11ad
cmp dword [ebp - 0x3c], 1
jle 0x5f11ad
mov eax, dword [ebp - 0x20]
movzx edx, word [ebp - 0x3c]
mov word [eax + 0xc], dx
mov eax, dword [ebp - 0x24]
test byte [eax + 0x13], 2
je 0x5f11fe
mov eax, dword [setsockopt]
mov eax, dword [eax + 0x1c10]
call fcn.00403484
test eax, eax
jne 0x5f1208
mov eax, dword [ebp - 0x20]
add eax, 7
mov cl, 1
xor edx, edx
call fcn.004e309c
mov eax, dword [setsockopt]
cmp byte [eax + 0x1c16], 0
je 0x5f1208
mov ecx, dword [0x6c0e10]
mov eax, dword [0x6c0fe8]
mov eax, dword [eax]
mov edx, dword [ebp - 0x20]
call fcn.004f2eb8
jmp 0x5f1208
mov eax, dword [ebp - 0x20]
movzx edx, byte [ebp - 0x42]
mov byte [eax + 6], dl
mov eax, dword [ebp - 0x24]
cmp byte [eax + 0x58], 1
jne 0x5f125a
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 0x20]
movzx eax, word [eax + 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0x5f16a0
push 0x5f16a0
push 0x5f1690
mov eax, dword [ebp - 0x20]
push eax
lea eax, [ebp - 0xec]
mov edx, dword [ebp - 0x24]
add edx, 2
call fcn.004055f8
mov ecx, dword [ebp - 0xec]
mov edx, 7
mov eax, dword [ebp - 0x10]
call fcn.006421ac
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x418]
mov edx, dword [ebp - 0x20]
call fcn.0041fa54
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x5d]
cmp byte [eax], 0
je 0x5f1371
mov edx, 0x5f16a4
lea eax, [ebp - 0x110]
call fcn.004039c4
mov eax, dword [ebp - 0x10]
lea edx, [eax + 0x15]
lea eax, [ebp - 0x110]
mov cl, 0x21
call fcn.00403994
lea edx, [ebp - 0x110]
lea eax, [ebp - 0x148]
call fcn.004039c4
mov edx, 0x5f16b8
lea eax, [ebp - 0x148]
mov cl, 0x36
call fcn.00403994
lea edx, [ebp - 0x148]
lea eax, [ebp - 8]
call fcn.004055f8
push dword [ebp - 8]
push 0x5f16d8
mov eax, dword [ebp - 0x20]
call fcn.00641344
lea edx, [ebp - 0x14c]
call fcn.0040a790
push dword [ebp - 0x14c]
push 0x5f16e4
lea eax, [ebp - 8]
mov edx, 4
call fcn.00405728
push dword [ebp - 8]
lea edx, [ebp - 0x150]
mov eax, dword [ebp - 0x20]
movzx eax, word [eax + 4]
call fcn.0040a790
push dword [ebp - 0x150]
push 0x5f16e4
lea eax, [ebp - 8]
mov edx, 3
call fcn.00405728
push dword [ebp - 8]
lea edx, [ebp - 0x154]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
call fcn.0040a790
push dword [ebp - 0x154]
push 0x5f16f0
lea eax, [ebp - 8]
mov edx, 3
call fcn.00405728
push 0x7d0
push 0
mov eax, dword [0x6c0ec4]
mov eax, dword [eax]
mov cl, 1
mov edx, dword [ebp - 8]
call fcn.005c3a08
lea ecx, [ebp - 8]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x10]
call fcn.005ecd24
mov byte [ebp - 0x15], 8
jmp 0x5f1398
mov edx, 0x72
mov eax, dword [ebp - 0x20]
call fcn.00402fb0
jmp 0x5f1398
mov byte [ebp - 0x15], 0xb
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f13f7
mov dword [ebp - 0x28], 5
lea esi, [ebp - 0x88]
lea ebx, [ebp - 0x9c]
mov eax, dword [esi]
test eax, eax
je 0x5f13ce
mov edx, eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x418]
call fcn.0041fa54
mov eax, dword [ebx]
test eax, eax
je 0x5f13e4
mov edx, eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x418]
call fcn.0041fa54
add ebx, 4
add esi, 4
dec dword [ebp - 0x28]
jne 0x5f13b8
ret
movzx eax, byte [ebp - 0x41]
and al, byte [ebp - 0x32]
je 0x5f14bf
cmp dword [ebp - 0x38], 1
jle 0x5f14bf
cmp dword [ebp - 8], 0
je 0x5f1489
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x15d8]
shr eax, 0x10
push eax
movzx eax, word [ebp - 0x38]
push eax
lea eax, [ebp - 0x160]
push eax
mov eax, dword [ebp - 0x10]
movzx ecx, word [eax + 0x15d8]
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x30]
mov ax, 0x14d5
call fcn.004e6038
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x160]
mov dword [eax + 0xb88], edx
mov edx, dword [ebp - 0x15c]
mov dword [eax + 0xb8c], edx
mov edx, dword [ebp - 0x158]
mov dword [eax + 0xb90], edx
mov eax, dword [ebp - 0x10]
lea edx, [eax + 0xb88]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0x98]
jmp 0x5f1568
mov eax, dword [ebp - 0x10]
movzx eax, word [eax + 0x15d8]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x15d8]
shr eax, 0x10
push eax
movzx eax, word [ebp - 0x38]
push eax
push 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x30]
mov dx, 0x14d5
mov eax, dword [ebp - 0x10]
call fcn.005e44bc
jmp 0x5f1568
cmp dword [ebp - 8], 0
je 0x5f1537
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x15d8]
shr eax, 0x10
push eax
movzx eax, byte [ebp - 0x15]
push eax
lea eax, [ebp - 0x160]
push eax
mov eax, dword [ebp - 0x10]
movzx ecx, word [eax + 0x15d8]
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x30]
mov ax, 0x142b
call fcn.004e6038
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x160]
mov dword [eax + 0xb88], edx
mov edx, dword [ebp - 0x15c]
mov dword [eax + 0xb8c], edx
mov edx, dword [ebp - 0x158]
mov dword [eax + 0xb90], edx
mov eax, dword [ebp - 0x10]
lea edx, [eax + 0xb88]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0x98]
jmp 0x5f1568
mov eax, dword [ebp - 0x10]
movzx eax, word [eax + 0x15d8]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x15d8]
shr eax, 0x10
push eax
movzx eax, byte [ebp - 0x15]
push eax
push 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x30]
mov dx, 0x142b
mov eax, dword [ebp - 0x10]
call fcn.005e44bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5f1619
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f1671
lea eax, [ebp - 0x1cc]
call fcn.00405394
lea eax, [ebp - 0x164]
call fcn.00405394
lea eax, [ebp - 0x154]
mov edx, 3
call fcn.004053b8
lea eax, [ebp - 0xec]
mov edx, 5
call fcn.004053b8
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004053b8
ret