Function at 0x460840
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x23
push 0
push 0
dec ecx
jne 0x460849
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x461681
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x25], 0
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0xc], 0
je 0x461636
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x10]
mov edx, dword [eax]
call dword [edx + 4]
xor ecx, ecx
push ebp
push 0x46162f
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0
lea eax, [ebp - 0x18]
call fcn.00406a84
push eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x28]
mov eax, dword [ebp - 0x20]
lea edx, [eax + 4]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
mov ebx, dword [eax]
call dword [ebx]
test al, al
jne 0x460905
lea edx, [ebp - 0xbc]
mov eax, dword [ebp - 0x20]
add eax, 4
call fcn.0045fc70
mov ecx, dword [ebp - 0xbc]
lea eax, [ebp - 0xb8]
mov edx, 0x4616a4
call fcn.0040786c
mov edx, dword [ebp - 0xb8]
mov eax, dword [0x653d30]
mov eax, dword [eax]
mov ecx, 0x4616e0
call fcn.0043ee40
call fcn.00406244
jmp 0x461636
xor ecx, ecx
push ebp
push 0x46160f
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x2c]
cmp dword [eax + 8], 0
jne 0x460950
mov eax, dword [ebp - 0x20]
call fcn.0045f270
test al, al
jne 0x460950
mov eax, dword [0x653d30]
mov eax, dword [eax]
mov ecx, 0x4616e0
mov edx, 0x4616fc
call fcn.0043ee40
call fcn.00406244
call fcn.00406244
jmp 0x461636
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x2c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x40], eax
xor eax, eax
mov dword [ebp - 0x3c], eax
xor eax, eax
mov dword [ebp - 0x48], eax
mov word [ebp - 0x4c], 0
mov dword [ebp - 0x94], 0x66e1f4
movzx edx, word [ebp - 0x4c]
mov eax, dword [ebp - 0x20]
call fcn.0045f380
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
cmp byte [eax + 4], 0
jne 0x4609a2
mov eax, dword [ebp - 0x58]
cmp byte [eax + 5], 0
jne 0x4609a2
mov eax, dword [ebp - 0x94]
mov byte [eax], 0
jmp 0x4609cb
mov eax, dword [ebp - 0x94]
mov byte [eax], 1
mov eax, dword [ebp - 0x58]
movzx eax, byte [eax + 4]
cmp eax, dword [ebp - 0x3c]
jle 0x4609c1
mov eax, dword [ebp - 0x58]
movzx eax, byte [eax + 4]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x58]
movzx eax, byte [eax + 4]
add dword [ebp - 0x48], eax
inc word [ebp - 0x4c]
inc dword [ebp - 0x94]
cmp word [ebp - 0x4c], 0
jne 0x460976
mov byte [ebp - 0x65], 0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0
je 0x4609f7
mov eax, dword [ebp - 0x70]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
test eax, eax
jle 0x460af3
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x2c], 1
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x2c]
movzx eax, word [eax + edx*2 - 2]
mov word [ebp - 0x4c], ax
movzx eax, word [ebp - 0x4c]
movzx eax, byte [eax + 0x66e1f4]
mov byte [ebp - 0x49], al
cmp byte [ebp - 0x49], 0
jne 0x460a3d
mov byte [ebp - 0x49], 2
mov byte [ebp - 0x65], 1
cmp byte [ebp + 8], 0
jne 0x460ad9
or byte [ebp - 0x49], 0x10
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x30]
jge 0x460ad9
mov eax, 0x67e204
call fcn.00407020
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x2c]
movzx edx, word [edx + ecx*2 - 2]
mov word [eax], dx
mov eax, 0x67e204
call fcn.00407020
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x2c]
movzx edx, word [edx + ecx*2]
mov word [eax + 2], dx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x1c]
mov edx, dword [0x67e204]
call fcn.00406e90
xor eax, eax
push ebp
push 0x460ad2
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x74]
call fcn.00433e70
mov dword [ebp - 0x78], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x460ad9
lea eax, [ebp - 0x1c]
call fcn.00406a84
ret
movzx eax, word [ebp - 0x4c]
movzx edx, byte [ebp - 0x49]
mov byte [eax + 0x66e1f4], dl
inc dword [ebp - 0x2c]
dec dword [ebp - 0x6c]
jne 0x460a12
mov eax, dword [0x67e1f4]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0
je 0x460b12
mov eax, dword [ebp - 0x80]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
test eax, eax
jle 0x460b5d
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x2c], 1
mov eax, dword [0x67e1f4]
mov edx, dword [ebp - 0x2c]
movzx eax, word [eax + edx*2 - 2]
mov word [ebp - 0x4c], ax
movzx eax, word [ebp - 0x4c]
movzx edx, byte [eax + 0x66e1f4]
mov byte [ebp - 0x49], dl
cmp byte [ebp - 0x49], 0
jne 0x460b55
mov byte [eax + 0x66e1f4], 2
inc dword [ebp - 0x2c]
dec dword [ebp - 0x6c]
jne 0x460b29
cmp byte [ebp + 8], 0
je 0x460ba1
mov word [ebp - 0x4c], 0
mov dword [ebp - 0x94], 0x66e1f4
mov eax, dword [ebp - 0x94]
movzx eax, byte [eax]
mov byte [ebp - 0x49], al
cmp byte [ebp - 0x49], 0
je 0x460b95
or byte [ebp - 0x49], 0x10
mov eax, dword [ebp - 0x94]
movzx edx, byte [ebp - 0x49]
mov byte [eax], dl
inc dword [ebp - 0x94]
dec word [ebp - 0x4c]
jne 0x460b73
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax + 8]
lea eax, [eax + eax*2]
mov dword [ebp - 0xc0], eax
fild dword [ebp - 0xc0]
fld xword [0x46171c]
fmulp st(1)
call fcn.00404f64
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x64
jge 0x460bd4
mov dword [ebp - 0x34], 0x64
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
mov ebx, dword [eax]
call dword [ebx + 4]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x460c03
call fcn.00406244
call fcn.00406244
jmp 0x461636
xor ecx, ecx
push ebp
push 0x46158b
push dword fs:[ecx]
mov dword fs:[ecx], esp
cmp byte [ebp - 0x65], 0
je 0x4611b2
mov word [ebp - 0x4c], 0
mov dword [ebp - 0x94], 0x66e1f4
mov ebx, 0x65dff4
mov eax, dword [ebp - 0x94]
movzx eax, byte [eax]
and al, 0xf
mov byte [ebp - 0x49], al
cmp byte [ebp - 0x49], 2
jne 0x460ea6
movzx edx, word [ebp - 0x4c]
mov eax, dword [ebp - 0x20]
call fcn.0045fac0
mov dword [ebp - 0x58], eax
mov eax, 0x67e200
call fcn.00407020
movzx edx, word [ebp - 0x4c]
mov word [eax], dx
push ebp
xor ecx, ecx
xor edx, edx
mov eax, dword [0x67e200]
call fcn.004607d0
pop ecx
xor eax, eax
mov dword [ebp - 0xc], eax
push ebp
call fcn.00460800
pop ecx
cmp dword [ebp - 8], 0
jne 0x460d8f
push ebp
xor ecx, ecx
xor edx, edx
mov eax, dword [0x67e1f8]
call fcn.004607d0
pop ecx
xor eax, eax
mov dword [ebp - 0xc], eax
push ebp
call fcn.00460800
pop ecx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x44], eax
mov eax, 0x67e1fc
call fcn.00407020
movzx edx, word [ebp - 0x4c]
mov word [eax + 2], dx
push ebp
xor ecx, ecx
xor edx, edx
mov eax, dword [0x67e1fc]
call fcn.004607d0
pop ecx
xor eax, eax
mov dword [ebp - 0xc], eax
push ebp
call fcn.00460800
pop ecx
push 0
mov eax, dword [ebp - 0x58]
add eax, 6
mov ecx, 1
mov edx, dword [0x45ca38]
call fcn.00408ba0
add esp, 4
mov eax, dword [ebp - 0x44]
sub dword [ebp - 8], eax
cmp dword [ebp - 8], 0x7e
jle 0x460d69
push 0x461734
lea edx, [ebp - 0xc8]
mov eax, dword [ebp - 0x20]
add eax, 4
call fcn.0045fc70
push dword [ebp - 0xc8]
push 0x461778
lea edx, [ebp - 0xcc]
movzx eax, word [ebp - 0x4c]
call fcn.0041b37c
push dword [ebp - 0xcc]
lea eax, [ebp - 0xc4]
mov edx, 4
call fcn.004078f4
mov edx, dword [ebp - 0xc4]
mov eax, dword [0x653d30]
mov eax, dword [eax]
mov ecx, 0x4616e0
call fcn.0043f390
mov dword [ebp - 8], 0x7e
cmp dword [ebp - 8], 0
jg 0x460d76
mov dword [ebp - 8], 1
movzx eax, byte [ebp - 8]
mov edx, dword [ebp - 0x58]
mov byte [edx + 5], al
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 4], 0xff
jle 0x460e07
mov eax, dword [ebp - 4]
sub eax, 0xff
add dword [ebp - 8], eax
mov dword [ebp - 4], 0xff
push 0x461788
lea edx, [ebp - 0xd4]
mov eax, dword [ebp - 0x20]
add eax, 4
call fcn.0045fc70
push dword [ebp - 0xd4]
push 0x461778
lea edx, [ebp - 0xd8]
movzx eax, word [ebp - 0x4c]
call fcn.0041b37c
push dword [ebp - 0xd8]
lea eax, [ebp - 0xd0]
mov edx, 4
call fcn.004078f4
mov edx, dword [ebp - 0xd0]
mov eax, dword [0x653d30]
mov eax, dword [eax]
mov ecx, 0x4616e0
call fcn.0043f390
cmp dword [ebp - 8], 0xff
jle 0x460e74
mov dword [ebp - 8], 0xff
push 0x4617c4
lea edx, [ebp - 0xe0]
mov eax, dword [ebp - 0x20]
add eax, 4
call fcn.0045fc70
push dword [ebp - 0xe0]
push 0x461778
lea edx, [ebp - 0xe4]
movzx eax, word [ebp - 0x4c]
call fcn.0041b37c
push dword [ebp - 0xe4]
lea eax, [ebp - 0xdc]
mov edx, 4
call fcn.004078f4
mov edx, dword [ebp - 0xdc]
mov eax, dword [0x653d30]
mov eax, dword [eax]
mov ecx, 0x4616e0
call fcn.0043f390
movzx eax, byte [ebp - 4]
mov byte [ebx], al
movzx eax, byte [ebp - 8]
mov edx, dword [ebp - 0x58]
mov byte [edx + 4], al
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x3c]
jle 0x460e92
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x40]
jle 0x460ea0
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 8]
add dword [ebp - 0x48], eax
inc word [ebp - 0x4c]
inc ebx
inc dword [ebp - 0x94]
cmp word [ebp - 0x4c], 0
jne 0x460c30
cmp dword [ebp - 0x48], 0
je 0x460ec8
cmp dword [ebp - 0x40], 0
jne 0x460edc
call fcn.00406244
call fcn.00406244
call fcn.00406244
jmp 0x461636
mov eax, dword [ebp - 0x40]
push eax
push 0
mov ecx, dword [ebp - 0x48]
mov dl, 1
mov eax, dword [0x4571cc]
call fcn.00457e80
mov dword [ebp - 0x5c], eax
xor eax, eax
push ebp
push 0x4611ab
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x48], eax
xor eax, eax
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x98], eax
mov word [ebp - 0x4c], 0
mov ebx, 0x66e1f4
mov dword [ebp - 0x94], 0x65dff4
movzx eax, byte [ebx]
and al, 0xf
mov byte [ebp - 0x49], al
cmp byte [ebp - 0x49], 0
je 0x461127
movzx edx, word [ebp - 0x4c]
mov eax, dword [ebp - 0x20]
call fcn.0045f380
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x58]
movzx eax, byte [eax + 4]
add eax, dword [ebp - 0x48]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
add eax, 0x14
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x84]
mov eax, dword [eax + 4]
push eax
lea eax, [ebp - 0xb4]
push eax
mov eax, dword [ebp - 0x84]
mov ecx, dword [eax + 8]
xor edx, edx
xor eax, eax
call fcn.0040b6d4
mov eax, dword [ebp - 0x88]
mov edi, eax
lea esi, [ebp - 0xa4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x88]
mov eax, dword [eax]
cmp eax, dword [ebp - 0xb4]
jge 0x460fd2
mov eax, dword [ebp - 0x88]
mov edx, dword [ebp - 0xb4]
mov dword [eax], edx
mov eax, dword [ebp - 0x88]
mov eax, dword [eax + 4]
cmp eax, dword [ebp - 0xb0]
jge 0x460ff2
mov eax, dword [ebp - 0x88]
mov edx, dword [ebp - 0xb0]
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x88]
mov eax, dword [eax + 8]
cmp eax, dword [ebp - 0xac]
jle 0x461012
mov eax, dword [ebp - 0x88]
mov edx, dword [ebp - 0xac]
mov dword [eax + 8], edx
mov eax, dword [ebp - 0x88]
mov eax, dword [eax + 0xc]
cmp eax, dword [ebp - 0xa8]
jle 0x461032
mov eax, dword [ebp - 0x88]
mov edx, dword [ebp - 0xa8]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0x88]
mov eax, dword [eax]
mov edx, dword [ebp - 0x88]
cmp eax, dword [edx + 8]
jge 0x461059
mov eax, dword [ebp - 0x88]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x88]
cmp eax, dword [edx + 0xc]
jl 0x461074
mov eax, dword [ebp - 0x88]
xor ecx, ecx
mov edx, 0x10
call fcn.00405058
mov byte [ebp - 0x8a], 0
jmp 0x46107b
mov byte [ebp - 0x8a], 1
movzx eax, byte [ebp - 0x8a]
mov byte [ebp - 0x89], al
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x50], eax
cmp byte [ebp - 0x49], 2
jne 0x4610f4
mov eax, 0x67e200
call fcn.00407020
movzx edx, word [ebp - 0x4c]
mov word [eax], dx
push ebp
lea eax, [ebp - 0xe8]
movzx edx, word [ebp - 0x4c]
call fcn.00407694
mov eax, dword [ebp - 0xe8]
mov edx, dword [ebp - 0x94]
movzx edx, byte [edx]
neg edx
mov cl, 1
call fcn.004607d0
pop ecx
push 1
lea edx, [ebp - 0x54]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x5c]
call fcn.00458380
mov eax, dword [ebp - 0x58]
mov edx, dword [ebp - 0x48]
mov dword [eax], edx
jmp 0x46111d
cmp byte [ebp - 0x49], 1
jne 0x46111d
mov eax, dword [ebp - 0x58]
mov eax, dword [eax]
sub dword [ebp - 0x54], eax
push 1
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x2c]
lea edx, [ebp - 0x54]
mov eax, dword [ebp - 0x5c]
call fcn.00458380
mov eax, dword [ebp - 0x58]
mov edx, dword [ebp - 0x48]
mov dword [eax], edx
mov eax, dword [ebp - 0x58]
movzx eax, byte [eax + 4]
add dword [ebp - 0x48], eax
inc word [ebp - 0x4c]
inc dword [ebp - 0x94]
inc ebx
cmp word [ebp - 0x4c], 0
jne 0x460f2d
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x90]
mov eax, dword [eax + 4]
push eax
lea eax, [ebp - 0xf8]
push eax
mov eax, dword [ebp - 0x90]
mov ecx, dword [eax + 8]
xor edx, edx
xor eax, eax
call fcn.0040b6d4
mov eax, dword [ebp - 0x90]
lea esi, [ebp - 0xf8]
lea edi, [eax + 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x30]
call fcn.0042f800
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x2c]
mov edx, dword [ebp - 0x5c]
call fcn.00458f50
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4611b2
mov eax, dword [ebp - 0x5c]
call fcn.004053d8
ret
mov word [ebp - 0x4c], 0
mov dword [ebp - 0x94], 0x66e1f4
mov eax, dword [ebp - 0x94]
movzx eax, byte [eax]
mov byte [ebp - 0x49], al
test byte [ebp - 0x49], 0x10
je 0x461560
movzx edx, word [ebp - 0x4c]
mov eax, dword [ebp - 0x20]
call fcn.0045fac0
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
cmp byte [eax + 4], 0
je 0x461560
mov eax, dword [ebp - 0x58]
movzx eax, byte [eax + 5]
mov byte [ebp - 0x5d], al
mov eax, dword [ebp - 0x58]
add eax, 6
mov dword [ebp - 0x64], eax
movzx eax, byte [ebp - 0x49]
and al, 0xf
cmp al, 1
jne 0x461286
mov di, 0
mov esi, 0x66e1f4
mov ebx, 0x65dff4
movzx eax, byte [esi]
mov byte [ebp - 0x49], al
movzx eax, byte [ebp - 0x49]
and al, 0xf
cmp al, 1
jne 0x461237
movzx eax, byte [ebp - 0x5d]
mov byte [ebx], al
jmp 0x46123a
mov byte [ebx], 0x7f
inc ebx
inc esi
dec di
jne 0x46121f
mov eax, dword [ebp - 0x64]
mov eax, dword [eax]
call fcn.0040898c
test eax, eax
jl 0x461298
inc eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x2c]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 0x64]
mov edx, dword [edx]
movzx edx, byte [edx + eax + 2]
add dl, byte [ebp - 0x5d]
mov ecx, dword [ebp - 0x64]
mov ecx, dword [ecx]
movzx eax, word [ecx + eax]
mov byte [eax + 0x65dff4], dl
inc dword [ebp - 0x2c]
dec dword [ebp - 0x6c]
jne 0x46125a
jmp 0x461298
mov di, 0
mov ebx, 0x65dff4
mov byte [ebx], 0x7f
inc ebx
dec di
jne 0x46128f
mov eax, 0x67e204
call fcn.00407020
movzx edx, word [ebp - 0x4c]
mov word [eax], dx
xor edi, edi
mov ebx, 0x66e1f4
mov esi, 0x65dff4
movzx eax, byte [ebx]
mov byte [ebp - 0x49], al
test byte [ebp - 0x49], 0xf
je 0x461451
cmp byte [esi], 0x7f
jne 0x461451
mov eax, 0x67e204
call fcn.00407020
mov word [eax + 2], di
cmp byte [ebp + 8], 0
jne 0x461304
cmp di, word [0x650938]
je 0x461304
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x10]
mov edx, dword [0x67e204]
call fcn.004341a0
test eax, eax
jl 0x461451
push ebp
xor ecx, ecx
xor edx, edx
mov eax, dword [0x67e204]
call fcn.004607d0
pop ecx
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0xc], eax
push ebp
call fcn.00460800
pop ecx
mov eax, dword [ebp - 0x58]
movzx eax, byte [eax + 4]
sub dword [ebp - 8], eax
mov edx, edi
mov eax, dword [ebp - 0x20]
call fcn.0045f380
movzx eax, byte [eax + 4]
sub dword [ebp - 8], eax
cmp dword [ebp - 8], 0x7e
jle 0x4613c8
mov dword [ebp - 8], 0x7e
push 0x461734
lea edx, [ebp - 0x100]
mov eax, dword [ebp - 0x20]
add eax, 4
call fcn.0045fc70
push dword [ebp - 0x100]
push 0x461778
lea edx, [ebp - 0x104]
movzx eax, word [ebp - 0x4c]
call fcn.0041b37c
push dword [ebp - 0x104]
push 0x4617fc
lea edx, [ebp - 0x108]
movzx eax, di
call fcn.0041b37c
push dword [ebp - 0x108]
lea eax, [ebp - 0xfc]
mov edx, 6
call fcn.004078f4
mov edx, dword [ebp - 0xfc]
mov eax, dword [0x653d30]
mov eax, dword [eax]
mov ecx, 0x4616e0
call fcn.0043f390
jmp 0x46144b
cmp dword [ebp - 8], 0xffffff80
jge 0x46144b
mov dword [ebp - 8], 0xffffff80
push 0x46180c
lea edx, [ebp - 0x110]
mov eax, dword [ebp - 0x20]
add eax, 4
call fcn.0045fc70
push dword [ebp - 0x110]
push 0x461778
lea edx, [ebp - 0x114]
movzx eax, word [ebp - 0x4c]
call fcn.0041b37c
push dword [ebp - 0x114]
push 0x4617fc
lea edx, [ebp - 0x118]
movzx eax, di
call fcn.0041b37c
push dword [ebp - 0x118]
lea eax, [ebp - 0x10c]
mov edx, 6
call fcn.004078f4
mov edx, dword [ebp - 0x10c]
mov eax, dword [0x653d30]
mov eax, dword [eax]
mov ecx, 0x4616e0
call fcn.0043f390
movzx eax, byte [ebp - 8]
mov byte [esi], al
inc edi
inc esi
inc ebx
test di, di
jne 0x4612b5
mov eax, 0x66dff4
xor ecx, ecx
mov edx, 0x200
call fcn.00405058
xor eax, eax
mov dword [ebp - 0x2c], eax
mov di, 0
mov esi, 0x66e1f4
mov ebx, 0x65dff4
movzx eax, byte [esi]
mov byte [ebp - 0x49], al
test byte [ebp - 0x49], 0xf
je 0x46149b
movsx eax, byte [ebx]
inc word [eax*2 + 0x66e0f4]
inc dword [ebp - 0x2c]
inc ebx
inc esi
dec di
jne 0x461481
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x64]
mov ecx, 1
mov edx, dword [0x45ca38]
call fcn.00408ba0
add esp, 4
mov byte [ebp - 0x5d], 0x7f
xor eax, eax
mov dl, 0x80
mov ebx, 0x66dff4
movzx esi, word [ebx]
cmp ax, si
jae 0x4614d6
mov eax, esi
mov byte [ebp - 0x5d], dl
inc edx
add ebx, 2
cmp dl, 0x80
jne 0x4614c9
mov eax, dword [ebp - 0x58]
movzx edx, byte [ebp - 0x5d]
mov byte [eax + 5], dl
xor eax, eax
mov dword [ebp - 0x2c], eax
xor edi, edi
mov ebx, 0x66e1f4
mov esi, 0x65dff4
movzx eax, byte [ebx]
mov byte [ebp - 0x49], al
test byte [ebp - 0x49], 0xf
je 0x461536
movzx eax, byte [esi]
cmp al, byte [ebp - 0x5d]
je 0x461536
mov edx, dword [ebp - 0x2c]
lea edx, [edx + edx*2]
mov ecx, dword [ebp - 0x64]
mov ecx, dword [ecx]
mov word [ecx + edx], di
mov edx, dword [ebp - 0x2c]
lea edx, [edx + edx*2]
mov ecx, dword [ebp - 0x64]
mov ecx, dword [ecx]
lea edx, [ecx + edx + 2]
push edx
sub al, byte [ebp - 0x5d]
pop edx
mov byte [edx], al
inc dword [ebp - 0x2c]
inc edi
inc esi
inc ebx
test di, di
jne 0x4614fa
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x64]
mov ecx, 1
mov edx, dword [0x45ca38]
call fcn.00408ba0
add esp, 4
mov eax, dword [ebp - 0x58]
call fcn.0045fc40
inc word [ebp - 0x4c]
inc dword [ebp - 0x94]
cmp word [ebp - 0x4c], 0
jne 0x4611c2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x461592
mov eax, dword [ebp - 0x14]
call fcn.004053d8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x461688
lea eax, [ebp - 0x120]
mov edx, 0xa
call fcn.00406ae4
lea eax, [ebp - 0xe8]
mov edx, 0xa
call fcn.00406ae4
lea eax, [ebp - 0xbc]
mov edx, 2
call fcn.00406ae4
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00406ae4
ret