Function at 0x5f0f60
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 4], ecx
mov esi, edx
xor eax, eax
push ebp
push 0x5f1b6a
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp - 0x2c], eax
call fcn.0040d634
fstp qword [ebp - 0x28]
wait
mov eax, dword [ebp - 4]
add eax, 0x21
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
push esi
lea edi, [esi + 0xc4c]
mov esi, eax
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
pop esi
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [esi + 0x35a0], eax
lea eax, [esi + 0xc6d]
mov edx, dword [ebp - 8]
add edx, 0x137
mov cl, 0xf
call fcn.004039d0
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x12f]
mov dword [esi + 0xc80], edx
mov edx, dword [eax + 0x133]
mov dword [esi + 0xc84], edx
lea eax, [esi + 0x15]
mov edx, dword [ebp - 8]
add edx, 4
mov cl, 0xe
call fcn.004039d0
lea eax, [esi + 4]
mov edx, dword [ebp - 8]
add edx, 0x13
mov cl, 0x10
call fcn.004039d0
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x24]
mov dword [esi + 0x24], eax
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x26]
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 0x28]
mov byte [esi + 0x2c], al
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 0x29]
mov byte [esi + 0x2e], al
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 0x2a]
mov byte [esi + 0x2d], al
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 0x2b]
mov byte [esi + 0x2f], al
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x2c]
mov dword [esi + 0x30], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30]
mov dword [esi + 0x15d4], eax
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x34]
mov word [esi + 0x34], ax
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x4a]
mov word [esi + 0x4a], ax
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x4c]
mov word [esi + 0x4c], ax
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x4e]
mov word [esi + 0x4e], ax
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x50]
mov word [esi + 0x50], ax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x52]
mov dword [esi + 0x52], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x56]
mov dword [esi + 0x56], eax
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x5a]
mov word [esi + 0x5a], ax
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x5c]
mov word [esi + 0x5c], ax
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x5e]
mov word [esi + 0x5e], ax
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x60]
mov word [esi + 0x60], ax
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x62]
mov word [esi + 0x62], ax
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x64]
mov word [esi + 0x64], ax
movzx edx, word [esi + 0x34]
mov eax, esi
call fcn.00661c84
mov dword [esi + 0x56], eax
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x66]
mov dword [esi + 0xcc0], edx
mov edx, dword [eax + 0x6a]
mov dword [esi + 0xcc4], edx
mov edx, dword [eax + 0x6e]
mov dword [esi + 0xcc8], edx
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x72]
mov dword [esi + 0xccc], eax
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x8235]
mov dword [esi + 0xcd0], eax
mov eax, dword [ebp - 8]
push esi
lea edi, [esi + 0x1b4]
lea esi, [eax + 0x74]
mov ecx, 6
rep movsd dword es:[edi], dword [esi]
pop esi
lea eax, [esi + 0x80]
mov edx, dword [ebp - 8]
add edx, 0x8c
mov cl, 0x10
call fcn.004039d0
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x9d]
mov dword [esi + 0x94], eax
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x9f]
mov dword [esi + 0x98], eax
lea eax, [esi + 0x9c]
mov edx, dword [ebp - 8]
add edx, 0xa1
mov cl, 0x10
call fcn.004039d0
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0xb2]
mov dword [esi + 0xb0], eax
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0xb4]
mov dword [esi + 0xb4], eax
lea eax, [esi + 0x10b0]
mov edx, dword [ebp - 8]
add edx, 0xb6
mov cl, 0xe
call fcn.004039d0
xor ebx, ebx
mov eax, ebx
shl eax, 4
sub eax, ebx
mov edx, dword [ebp - 8]
cmp byte [edx + eax + 0xc5], 0
je 0x5f1208
lea eax, [ebp - 0x4c]
mov edx, ebx
shl edx, 4
sub edx, ebx
mov ecx, dword [ebp - 8]
lea edx, [ecx + edx + 0xc5]
call fcn.004055f8
mov edx, dword [ebp - 0x4c]
mov eax, dword [esi + 0x10d0]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc ebx
cmp ebx, 7
jne 0x5f11cd
mov eax, dword [esi + 0x10d0]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jg 0x5f1226
mov byte [esi + 0x10d4], 0
jmp 0x5f1236
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 0x12e]
mov byte [esi + 0x10d4], al
mov eax, dword [ebp - 8]
push esi
lea edi, [esi + 0x10d8]
lea esi, [eax + 0x9bf2]
mov ecx, 0x14
rep movsd dword es:[edi], dword [esi]
pop esi
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x147]
mov dword [esi + 0x1128], eax
lea eax, [esi + 0x38b9]
mov edx, dword [ebp - 8]
add edx, 0x14b
mov cl, 0xc
call fcn.004039d0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x158]
mov dword [esi + 0x3918], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 0x15c]
mov byte [esi + 0x38c7], al
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 0x15d]
mov byte [esi + 0x38c6], al
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x15e]
mov dword [esi + 0x38c8], edx
mov edx, dword [eax + 0x162]
mov dword [esi + 0x38cc], edx
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 0x166]
mov byte [esi + 0x1285], al
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x167]
mov dword [esi + 0x1554], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x16f]
mov dword [esi + 0x1568], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x173]
mov dword [esi + 0x156c], eax
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x177]
mov word [esi + 0xc4], ax
mov eax, dword [ebp - 8]
push esi
lea edi, [esi + 0x137c]
lea esi, [eax + 0x369]
mov ecx, 0x6e
rep movsd dword es:[edi], dword [esi]
pop esi
push dword [ebp - 0x24]
push dword [ebp - 0x28]
mov eax, dword [ebp - 4]
push dword [eax + 0xe]
push dword [eax + 0xa]
call fcn.00489bbc
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 0
jne 0x5f134e
cmp dword [ebp - 0x20], 0x927c0
jbe 0x5f135c
jmp 0x5f1350
jle 0x5f135c
mov dword [esi + 0x3968], 0x927c0
jmp 0x5f1384
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x17b]
mov edx, dword [select]
mov edx, dword [edx + 0x70]
imul edx, dword [ebp - 0x20]
add eax, edx
mov edx, 0x927c0
call fcn.0048b208
mov dword [esi + 0x3968], eax
mov ebx, 1
imul edi, ebx, 0xb
cmp byte [esi + edi*2 + 0x1366], 0
je 0x5f13d1
cmp word [esi + edi*2 + 0x137a], 0
jbe 0x5f13d1
movzx eax, word [esi + edi*2 + 0x137a]
xor edx, edx
cmp edx, dword [ebp - 0x1c]
jne 0x5f13b7
cmp eax, dword [ebp - 0x20]
jbe 0x5f13c7
jmp 0x5f13b9
jle 0x5f13c7
movzx eax, word [ebp - 0x20]
sub word [esi + edi*2 + 0x137a], ax
jmp 0x5f13d1
mov word [esi + edi*2 + 0x137a], 1
inc ebx
cmp ebx, 0x15
jne 0x5f1389
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1b2]
mov dword [esi + 0x41d0], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 0x17f]
mov byte [esi + 0x291], al
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 0x180]
mov dword [esi + 0xc8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 0x181]
mov dword [esi + 0xcc], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 0x182]
mov dword [esi + 0xd0], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 0x183]
mov dword [esi + 0xdc], eax
lea eax, [esi + 0xc21]
mov edx, dword [ebp - 8]
add edx, 0x184
mov cl, 0x14
call fcn.004039d0
lea eax, [esi + 0x4200]
mov edx, dword [ebp - 8]
add edx, 0x195
mov cl, 0xe
call fcn.004039d0
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x1a4]
mov word [esi + 0x1584], ax
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x1ae]
mov word [esi + 0xee], ax
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x1b0]
mov word [esi + 0xec], ax
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x1a6]
mov dword [esi + 0xe0], edx
mov edx, dword [eax + 0x1aa]
mov dword [esi + 0xe4], edx
mov eax, dword [ebp - 8]
push esi
lea edi, [esi + 0x35b8]
lea esi, [eax + 0x1cb]
mov ecx, 0x26
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
pop esi
mov eax, dword [ebp - 8]
push esi
lea edi, [esi + 0x3924]
lea esi, [eax + 0x265]
mov ecx, 0xf
rep movsd dword es:[edi], dword [esi]
pop esi
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x1c3]
mov dword [esi + 0x3658], edx
mov edx, dword [eax + 0x1c7]
mov dword [esi + 0x365c], edx
mov eax, dword [ebp - 8]
push esi
lea edi, [esi + 0x12b4]
lea esi, [eax + 0x2a1]
mov ecx, 0x19
rep movsd dword es:[edi], dword [esi]
pop esi
mov eax, dword [ebp - 8]
push esi
lea edi, [esi + 0x1318]
lea esi, [eax + 0x305]
mov ecx, 0x19
rep movsd dword es:[edi], dword [esi]
pop esi
mov eax, dword [ebp - 8]
push esi
lea edi, [esi + 0x3530]
lea esi, [eax + 0x535]
mov ecx, 0x19
rep movsd dword es:[edi], dword [esi]
pop esi
push dword [ebp - 0x24]
push dword [ebp - 0x28]
lea ecx, [ebp - 0x32]
lea edx, [ebp - 0x30]
lea eax, [ebp - 0x2e]
call fcn.0040d58c
mov eax, dword [ebp - 4]
push dword [eax + 0xe]
push dword [eax + 0xa]
lea ecx, [ebp - 0x38]
lea edx, [ebp - 0x36]
lea eax, [ebp - 0x34]
call fcn.0040d58c
movzx eax, word [ebp - 0x2e]
cmp ax, word [ebp - 0x34]
jne 0x5f158e
movzx eax, word [ebp - 0x30]
cmp ax, word [ebp - 0x36]
jne 0x5f158e
movzx eax, word [ebp - 0x32]
cmp ax, word [ebp - 0x38]
je 0x5f15a9
mov byte [esi + 0x41f0], 0
lea eax, [esi + 0x1534]
xor ecx, ecx
mov edx, 0x14
call fcn.0048a160
jmp 0x5f15cf
mov eax, dword [ebp - 8]
push esi
lea edi, [esi + 0x1534]
lea esi, [eax + 0x521]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 0x1b6]
mov byte [esi + 0x41f0], al
mov eax, dword [ebp - 8]
push esi
lea edi, [esi + 0x424]
lea esi, [eax + 0x8b7]
mov ecx, 0x1c8
rep movsd dword es:[edi], dword [esi]
pop esi
mov eax, dword [ebp - 8]
push esi
lea edi, [esi + 0x112c]
lea esi, [eax + 0x761]
mov ecx, 0x55
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
pop esi
xor ebx, ebx
imul eax, ebx, 0x39
mov edx, dword [ebp - 8]
cmp word [edx + eax*2 + 0x59d], 0
jbe 0x5f1645
mov eax, 0x72
call fcn.00402f94
imul edx, ebx, 0x39
mov ecx, dword [ebp - 8]
push esi
lea esi, [ecx + edx*2 + 0x599]
mov edi, eax
mov ecx, 0x1c
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
pop esi
mov edx, eax
mov eax, dword [esi + 0x3920]
call fcn.0041fa48
inc ebx
cmp ebx, 4
jne 0x5f1603
mov eax, dword [ebp - 8]
add eax, 0xfd7
mov dword [ebp - 0xc], eax
xor ebx, ebx
imul eax, ebx, 0x39
mov edx, dword [ebp - 8]
cmp word [edx + eax*2 + 0xfdb], 0
jbe 0x5f1696
mov eax, 0x72
call fcn.00402f94
imul edx, ebx, 0x39
mov ecx, dword [ebp - 0xc]
push esi
lea esi, [ecx + edx*2]
mov edi, eax
mov ecx, 0x1c
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
pop esi
mov edx, eax
mov eax, dword [esi + 0x418]
call fcn.0041fa48
inc ebx
cmp ebx, 0x69
jne 0x5f1658
mov edi, dword [ebp - 4]
add edi, 0x3eba
xor ebx, ebx
imul eax, ebx, 0xb
movzx eax, word [edi + eax]
test ax, ax
jbe 0x5f1796
movzx edx, ax
mov eax, dword [0x6c0ec4]
mov eax, dword [eax]
call fcn.005f25ac
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x5f1796
mov eax, 0x10
call fcn.00402f94
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov dword [eax], edx
imul eax, ebx, 0xb
movzx eax, word [edi + eax]
mov edx, dword [ebp - 0x10]
mov word [edx + 4], ax
imul eax, ebx, 0xb
movzx eax, byte [edi + eax + 2]
mov edx, dword [ebp - 0x10]
mov byte [edx + 6], al
imul eax, ebx, 0xb
cmp dword [edi + eax + 7], 0
jbe 0x5f175e
push dword [ebp - 0x24]
push dword [ebp - 0x28]
mov eax, dword [ebp - 4]
push dword [eax + 0xe]
push dword [eax + 0xa]
call fcn.00489c1c
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
imul eax, ebx, 0xb
mov eax, dword [edi + eax + 7]
xor edx, edx
cmp edx, dword [ebp - 0x1c]
jne 0x5f173d
cmp eax, dword [ebp - 0x20]
ja 0x5f1749
jmp 0x5f173f
jg 0x5f1749
mov eax, dword [ebp - 0x10]
xor edx, edx
mov dword [eax + 0xb], edx
jmp 0x5f1766
imul eax, ebx, 0xb
mov eax, dword [edi + eax + 7]
sub eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x10]
mov dword [edx + 0xb], eax
jmp 0x5f1766
mov eax, dword [ebp - 0x10]
xor edx, edx
mov dword [eax + 0xb], edx
imul eax, ebx, 0xb
mov eax, dword [edi + eax + 3]
and eax, 0xffffff
mov edx, dword [ebp - 0x10]
mov dword [edx + 7], eax
imul eax, ebx, 0xb
mov eax, dword [edi + eax + 3]
shr eax, 0x18
mov edx, dword [ebp - 0x10]
mov byte [edx + 0xf], al
mov edx, dword [ebp - 0x10]
mov eax, dword [esi + 0x36a4]
call fcn.0041fa48
inc ebx
cmp ebx, 0x1e
jne 0x5f16a7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4004]
mov dword [esi + 0x39b5], eax
cmp byte [esi + 0x38b9], 0
sete al
mov byte [esi + 0x38e4], al
mov eax, dword [ebp - 4]
add eax, 0x4008
mov dword [ebp - 0x18], eax
xor ebx, ebx
mov eax, dword [ebp - 4]
add eax, 0x400d
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
cmp word [eax], 0
jbe 0x5f180e
mov eax, 0x73
call fcn.00402f94
imul edx, ebx, 0x73
mov ecx, dword [ebp - 0x18]
push esi
lea esi, [ecx + edx]
mov edi, eax
mov ecx, 0x1c
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
pop esi
mov edx, eax
mov eax, dword [esi + 0x38d0]
call fcn.0041fa48
inc ebx
add dword [ebp - 0x3c], 0x73
cmp ebx, 0x31
jne 0x5f17d7
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 0x55ea]
mov byte [esi + 0x38e5], al
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x55eb]
mov dword [esi + 0x38f8], edx
mov edx, dword [eax + 0x55ef]
mov dword [esi + 0x38fc], edx
mov eax, dword [ebp - 4]
add eax, 0x5614
mov dword [ebp - 0x18], eax
xor ebx, ebx
mov eax, dword [ebp - 4]
add eax, 0x5619
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
cmp word [eax], 0
jbe 0x5f1892
mov eax, 0x73
call fcn.00402f94
imul edx, ebx, 0x73
mov ecx, dword [ebp - 0x18]
push esi
lea esi, [ecx + edx]
mov edi, eax
mov ecx, 0x1c
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
pop esi
mov edx, eax
mov eax, dword [esi + 0x38d4]
call fcn.0041fa48
inc ebx
add dword [ebp - 0x40], 0x73
cmp ebx, 0x31
jne 0x5f185b
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 0x6bf6]
mov byte [esi + 0x38e6], al
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x6bf7]
mov dword [esi + 0x3900], edx
mov edx, dword [eax + 0x6bfb]
mov dword [esi + 0x3904], edx
mov eax, dword [ebp - 4]
add eax, 0x6c20
mov dword [ebp - 0x18], eax
xor ebx, ebx
mov eax, dword [ebp - 4]
add eax, 0x6c25
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
cmp word [eax], 0
jbe 0x5f1916
mov eax, 0x73
call fcn.00402f94
imul edx, ebx, 0x73
mov ecx, dword [ebp - 0x18]
push esi
lea esi, [ecx + edx]
mov edi, eax
mov ecx, 0x1c
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
pop esi
mov edx, eax
mov eax, dword [esi + 0x38d8]
call fcn.0041fa48
inc ebx
add dword [ebp - 0x44], 0x73
cmp ebx, 0x31
jne 0x5f18df
mov eax, dword [ebp - 4]
push esi
lea edi, [esi + 0x39c8]
lea esi, [eax + 0x8223]
mov ecx, 0xc
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
pop esi
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x8258]
mov word [esi + 0x41cc], ax
mov eax, dword [ebp - 4]
push esi
lea edi, [esi + 0x39fc]
lea esi, [eax + 0x825a]
mov ecx, 0x1f4
rep movsd dword es:[edi], dword [esi]
pop esi
mov ebx, 0x1e
mov eax, dword [ebp - 4]
add eax, 0x8a2a
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
cmp byte [eax], 0
je 0x5f19a2
lea eax, [ebp - 0x50]
mov edx, dword [ebp - 0x48]
call fcn.004055f8
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax + 0xf]
mov eax, dword [esi + 0x359c]
mov edi, dword [eax]
call dword [edi + 0x3c]
add dword [ebp - 0x48], 0x13
dec ebx
jne 0x5f1974
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x1b7]
mov word [esi + 0x1282], ax
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 0x1b9]
mov byte [esi + 0xbbd], al
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x9be6]
mov dword [esi + 0x482a], edx
mov edx, dword [eax + 0x9bea]
mov dword [esi + 0x482e], edx
mov dx, word [eax + 0x9bee]
mov word [esi + 0x4832], dx
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x9bf0]
mov word [esi + 0x4834], ax
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 0x1ba]
mov byte [esi + 0x1284], al
mov eax, dword [select]
cmp byte [eax + 0x6446], 0
je 0x5f1a87
mov eax, dword [ebp - 8]
cmp dword [eax + 0x1bb], 0x64
jle 0x5f1aa5
push dword [ebp - 0x24]
push dword [ebp - 0x28]
mov eax, dword [ebp - 4]
push dword [eax + 0xe]
push dword [eax + 0xa]
call fcn.00489bec
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1bf]
xor edx, edx
cmp edx, dword [ebp - 0x1c]
jne 0x5f1a58
cmp eax, dword [ebp - 0x20]
jbe 0x5f1a7d
jmp 0x5f1a5a
jle 0x5f1a7d
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1bb]
mov dword [esi + 0x12a0], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1bf]
sub eax, dword [ebp - 0x20]
mov dword [esi + 0x12a8], eax
jmp 0x5f1aa5
xor eax, eax
mov dword [esi + 0x12a8], eax
jmp 0x5f1aa5
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1bb]
mov dword [esi + 0x12a0], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1bf]
mov dword [esi + 0x12a8], eax
cmp dword [esi + 0x12a0], 0x64
jge 0x5f1ab8
mov dword [esi + 0x12a0], 0x64
movzx eax, byte [esi + 0xbbd]
cmp al, 1
jb 0x5f1ac7
cmp al, 5
jbe 0x5f1ace
mov byte [esi + 0xbbd], 1
mov eax, dword [esi + 0x3664]
test eax, eax
je 0x5f1add
call fcn.00402fb0
xor eax, eax
mov dword [esi + 0x3664], eax
mov word [esi + 0x3668], 0
mov eax, dword [ebp - 8]
movzx ebx, word [eax + 0x8c43]
test bx, bx
jbe 0x5f1b39
movzx eax, bx
mov edx, 0xfa0
call fcn.0048b208
mov edi, eax
mov word [esi + 0x3668], di
movzx eax, di
call fcn.00402f94
mov ebx, eax
mov dword [esi + 0x3664], ebx
movzx ecx, word [esi + 0x3668]
mov edx, ebx
mov eax, dword [ebp - 8]
add eax, 0x8c45
call fcn.004031fc
mov eax, dword [ebp - 8]
lea edi, [esi + 0x4872]
lea esi, [eax + 0xabfc]
mov ecx, 0x15
rep movsd dword es:[edi], dword [esi]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f1b71
lea eax, [ebp - 0x50]
mov edx, 2
call fcn.004053b8
ret