Function at 0x630630
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 4], ecx
mov esi, edx
xor eax, eax
push ebp
push 0x6312ba
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp - 0x2c], eax
call fcn.0040dc20
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 + 0xdd4]
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 + 0x375c], eax
lea eax, [esi + 0xdf5]
mov edx, dword [ebp - 8]
add edx, 0x155
mov cl, 0xf
call fcn.00403a2c
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x14d]
mov dword [esi + 0xe08], edx
mov edx, dword [eax + 0x151]
mov dword [esi + 0xe0c], edx
lea eax, [esi + 0x15]
mov edx, dword [ebp - 8]
add edx, 4
mov cl, 0xe
call fcn.00403a2c
lea eax, [esi + 4]
mov edx, dword [ebp - 8]
add edx, 0x13
mov cl, 0x10
call fcn.00403a2c
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 + 0x1790], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x34]
mov dword [esi + 0x34], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x60]
mov dword [esi + 0x60], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x64]
mov dword [esi + 0x64], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x68]
mov dword [esi + 0x68], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x6c]
mov dword [esi + 0x6c], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x70]
mov dword [esi + 0x70], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x74]
mov dword [esi + 0x74], eax
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x78]
mov word [esi + 0x78], ax
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x7a]
mov word [esi + 0x7a], ax
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x7c]
mov word [esi + 0x7c], ax
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x7e]
mov word [esi + 0x7e], ax
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x80]
mov word [esi + 0x80], ax
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x82]
mov word [esi + 0x82], ax
mov edx, dword [esi + 0x34]
mov eax, esi
call fcn.006a2fec
mov dword [esi + 0x74], eax
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x84]
mov dword [esi + 0xe48], edx
mov edx, dword [eax + 0x88]
mov dword [esi + 0xe4c], edx
mov edx, dword [eax + 0x8c]
mov dword [esi + 0xe50], edx
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x90]
mov dword [esi + 0xe54], eax
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x9257]
mov dword [esi + 0xe58], eax
mov eax, dword [ebp - 8]
push esi
lea edi, [esi + 0x240]
lea esi, [eax + 0x92]
mov ecx, 6
rep movsd dword es:[edi], dword [esi]
pop esi
lea eax, [esi + 0xb4]
mov edx, dword [ebp - 8]
add edx, 0xaa
mov cl, 0x10
call fcn.00403a2c
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0xbb]
mov dword [esi + 0xc8], eax
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0xbd]
mov dword [esi + 0xcc], eax
lea eax, [esi + 0xd0]
mov edx, dword [ebp - 8]
add edx, 0xbf
mov cl, 0x10
call fcn.00403a2c
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0xd0]
mov dword [esi + 0xe4], eax
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0xd2]
mov dword [esi + 0xe8], eax
lea eax, [esi + 0x1238]
mov edx, dword [ebp - 8]
add edx, 0xd4
mov cl, 0xe
call fcn.00403a2c
xor ebx, ebx
mov eax, ebx
shl eax, 4
sub eax, ebx
mov edx, dword [ebp - 8]
cmp byte [edx + eax + 0xe3], 0
je 0x6308e8
lea eax, [ebp - 0x50]
mov edx, ebx
shl edx, 4
sub edx, ebx
mov ecx, dword [ebp - 8]
lea edx, [ecx + edx + 0xe3]
call fcn.00405744
mov edx, dword [ebp - 0x50]
mov eax, dword [esi + 0x1258]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc ebx
cmp ebx, 7
jne 0x6308ad
mov eax, dword [esi + 0x1258]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jg 0x630906
mov byte [esi + 0x125c], 0
jmp 0x630916
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 0x14c]
mov byte [esi + 0x125c], al
mov eax, dword [ebp - 8]
push esi
lea edi, [esi + 0x1260]
lea esi, [eax + 0xac14]
mov ecx, 0x14
rep movsd dword es:[edi], dword [esi]
pop esi
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x165]
cdq
mov dword [esi + 0x12b0], eax
mov dword [esi + 0x12b4], edx
lea eax, [esi + 0x3a71]
mov edx, dword [ebp - 8]
add edx, 0x169
mov cl, 0xc
call fcn.00403a2c
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x176]
mov dword [esi + 0x3ad0], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 0x17a]
mov byte [esi + 0x3a7f], al
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 0x17b]
mov byte [esi + 0x3a7e], al
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x17c]
mov dword [esi + 0x3a80], edx
mov edx, dword [eax + 0x180]
mov dword [esi + 0x3a84], edx
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 0x184]
mov byte [esi + 0x143f], al
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x185]
mov dword [esi + 0x1710], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x18d]
mov dword [esi + 0x1724], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x191]
mov dword [esi + 0x1728], eax
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x195]
mov word [esi + 0xf8], ax
mov eax, dword [ebp - 8]
push esi
lea edi, [esi + 0x1538]
lea esi, [eax + 0x387]
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.0048c4dc
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 0
jne 0x630a35
cmp dword [ebp - 0x20], 0x927c0
jbe 0x630a43
jmp 0x630a37
jle 0x630a43
mov dword [esi + 0x3b20], 0x927c0
jmp 0x630aad
mov eax, dword [0x7070f8]
mov eax, dword [eax + 0x78]
cdq
push edx
push eax
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
call fcn.004067ec
push edx
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x199]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
cmp dword [ebp - 0x3c], 0
jne 0x630a86
cmp dword [ebp - 0x40], 0x927c0
jae 0x630a96
jmp 0x630a88
jge 0x630a96
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x44], eax
jmp 0x630aa4
mov dword [ebp - 0x48], 0x927c0
mov dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x48]
mov dword [esi + 0x3b20], eax
mov ebx, 1
imul edi, ebx, 0xb
cmp byte [esi + edi*2 + 0x1522], 0
je 0x630afa
cmp word [esi + edi*2 + 0x1536], 0
jbe 0x630afa
movzx eax, word [esi + edi*2 + 0x1536]
xor edx, edx
cmp edx, dword [ebp - 0x1c]
jne 0x630ae0
cmp eax, dword [ebp - 0x20]
jbe 0x630af0
jmp 0x630ae2
jle 0x630af0
movzx eax, word [ebp - 0x20]
sub word [esi + edi*2 + 0x1536], ax
jmp 0x630afa
mov word [esi + edi*2 + 0x1536], 1
inc ebx
cmp ebx, 0x15
jne 0x630ab2
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1d0]
mov dword [esi + 0x436c], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 0x19d]
mov byte [esi + 0x31d], al
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 0x19e]
mov dword [esi + 0xfc], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 0x19f]
mov dword [esi + 0x100], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 0x1a0]
mov dword [esi + 0x104], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 0x1a1]
mov dword [esi + 0x110], eax
lea eax, [esi + 0xda9]
mov edx, dword [ebp - 8]
add edx, 0x1a2
mov cl, 0x14
call fcn.00403a2c
lea eax, [esi + 0x439c]
mov edx, dword [ebp - 8]
add edx, 0x1b3
mov cl, 0xe
call fcn.00403a2c
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x1c2]
mov word [esi + 0x1740], ax
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x1cc]
mov word [esi + 0x126], ax
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x1ce]
mov word [esi + 0x124], ax
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x1c4]
mov dword [esi + 0x118], edx
mov edx, dword [eax + 0x1c8]
mov dword [esi + 0x11c], edx
mov eax, dword [ebp - 8]
push esi
lea edi, [esi + 0x3774]
lea esi, [eax + 0x1e9]
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 + 0x3adc]
lea esi, [eax + 0x283]
mov ecx, 0xf
rep movsd dword es:[edi], dword [esi]
pop esi
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x1e1]
mov dword [esi + 0x3810], edx
mov edx, dword [eax + 0x1e5]
mov dword [esi + 0x3814], edx
mov eax, dword [ebp - 8]
push esi
lea edi, [esi + 0x1470]
lea esi, [eax + 0x2bf]
mov ecx, 0x19
rep movsd dword es:[edi], dword [esi]
pop esi
mov eax, dword [ebp - 8]
push esi
lea edi, [esi + 0x14d4]
lea esi, [eax + 0x323]
mov ecx, 0x19
rep movsd dword es:[edi], dword [esi]
pop esi
mov eax, dword [ebp - 8]
push esi
lea edi, [esi + 0x36ec]
lea esi, [eax + 0x553]
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.0040db78
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.0040db78
movzx eax, word [ebp - 0x2e]
cmp ax, word [ebp - 0x34]
jne 0x630cb7
movzx eax, word [ebp - 0x30]
cmp ax, word [ebp - 0x36]
jne 0x630cb7
movzx eax, word [ebp - 0x32]
cmp ax, word [ebp - 0x38]
je 0x630cd2
mov byte [esi + 0x438c], 0
lea eax, [esi + 0x16f0]
xor ecx, ecx
mov edx, 0x14
call fcn.0048ca84
jmp 0x630cf8
mov eax, dword [ebp - 8]
push esi
lea edi, [esi + 0x16f0]
lea esi, [eax + 0x53f]
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 + 0x1d4]
mov byte [esi + 0x438c], al
mov eax, dword [ebp - 8]
push esi
lea edi, [esi + 0x4b4]
lea esi, [eax + 0x93e]
mov ecx, 0x204
rep movsd dword es:[edi], dword [esi]
pop esi
mov eax, dword [ebp - 8]
push esi
lea edi, [esi + 0x12b8]
lea esi, [eax + 0x7bb]
mov ecx, 0x60
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
pop esi
xor ebx, ebx
mov eax, ebx
shl eax, 7
add eax, ebx
mov edx, dword [ebp - 8]
cmp word [edx + eax + 0x5ca], 0
jbe 0x630d76
mov eax, 0x81
call fcn.00402ff0
mov edx, ebx
shl edx, 7
add edx, ebx
mov ecx, dword [ebp - 8]
push esi
lea esi, [ecx + edx + 0x5b7]
mov edi, eax
mov ecx, 0x20
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
pop esi
mov edx, eax
mov eax, dword [esi + 0x3ad8]
call fcn.004208c0
inc ebx
cmp ebx, 4
jne 0x630d2d
mov eax, dword [ebp - 8]
add eax, 0x114e
mov dword [ebp - 0xc], eax
xor ebx, ebx
mov eax, ebx
shl eax, 7
add eax, ebx
mov edx, dword [ebp - 8]
cmp word [edx + eax + 0x1161], 0
jbe 0x630dce
mov eax, 0x81
call fcn.00402ff0
mov edx, ebx
shl edx, 7
add edx, ebx
mov ecx, dword [ebp - 0xc]
push esi
lea esi, [ecx + edx]
mov edi, eax
mov ecx, 0x20
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
pop esi
mov edx, eax
mov eax, dword [esi + 0x4a8]
call fcn.004208c0
inc ebx
cmp ebx, 0x69
jne 0x630d89
mov edi, dword [ebp - 4]
add edi, 0x4658
xor ebx, ebx
imul eax, ebx, 0xb
movzx eax, word [edi + eax]
test ax, ax
jbe 0x630ece
movzx edx, ax
mov eax, dword [0x707bc4]
mov eax, dword [eax]
call fcn.00631d30
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x630ece
mov eax, 0x10
call fcn.00402ff0
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 0x630e96
push dword [ebp - 0x24]
push dword [ebp - 0x28]
mov eax, dword [ebp - 4]
push dword [eax + 0xe]
push dword [eax + 0xa]
call fcn.0048c53c
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 0x630e75
cmp eax, dword [ebp - 0x20]
ja 0x630e81
jmp 0x630e77
jg 0x630e81
mov eax, dword [ebp - 0x10]
xor edx, edx
mov dword [eax + 0xb], edx
jmp 0x630e9e
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 0x630e9e
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 + 0x385c]
call fcn.004208c0
inc ebx
cmp ebx, 0x1e
jne 0x630ddf
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x47a2]
mov dword [esi + 0x3b6d], eax
cmp byte [esi + 0x3a71], 0
sete al
mov byte [esi + 0x3a9c], al
mov eax, dword [ebp - 4]
add eax, 0x47a6
mov dword [ebp - 0x18], eax
xor ebx, ebx
mov eax, dword [ebp - 4]
add eax, 0x47ba
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
cmp word [eax], 0
jbe 0x630f49
mov eax, 0x82
call fcn.00402ff0
mov edx, ebx
shl edx, 6
add edx, ebx
mov ecx, dword [ebp - 0x18]
push esi
lea esi, [ecx + edx*2]
mov edi, eax
mov ecx, 0x20
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
pop esi
mov edx, eax
mov eax, dword [esi + 0x3a88]
call fcn.004208c0
inc ebx
add dword [ebp - 0x4c], 0x82
cmp ebx, 0x31
jne 0x630f0f
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 0x6067]
mov byte [esi + 0x3a9d], al
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x6068]
mov dword [esi + 0x3ab0], edx
mov edx, dword [eax + 0x606c]
mov dword [esi + 0x3ab4], edx
mov eax, dword [ebp - 4]
add eax, 0x6091
mov dword [ebp - 0x18], eax
xor ebx, ebx
mov eax, dword [ebp - 4]
add eax, 0x60a5
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
cmp word [eax], 0
jbe 0x630fd3
mov eax, 0x82
call fcn.00402ff0
mov edx, ebx
shl edx, 6
add edx, ebx
mov ecx, dword [ebp - 0x18]
push esi
lea esi, [ecx + edx*2]
mov edi, eax
mov ecx, 0x20
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
pop esi
mov edx, eax
mov eax, dword [esi + 0x3a8c]
call fcn.004208c0
inc ebx
add dword [ebp - 0x4c], 0x82
cmp ebx, 0x31
jne 0x630f99
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 0x7952]
mov byte [esi + 0x3a9e], al
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x7953]
mov dword [esi + 0x3ab8], edx
mov edx, dword [eax + 0x7957]
mov dword [esi + 0x3abc], edx
mov eax, dword [ebp - 4]
add eax, 0x797c
mov dword [ebp - 0x18], eax
xor ebx, ebx
mov eax, dword [ebp - 4]
add eax, 0x7990
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
cmp word [eax], 0
jbe 0x63105d
mov eax, 0x82
call fcn.00402ff0
mov edx, ebx
shl edx, 6
add edx, ebx
mov ecx, dword [ebp - 0x18]
push esi
lea esi, [ecx + edx*2]
mov edi, eax
mov ecx, 0x20
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
pop esi
mov edx, eax
mov eax, dword [esi + 0x3a90]
call fcn.004208c0
inc ebx
add dword [ebp - 0x4c], 0x82
cmp ebx, 0x31
jne 0x631023
mov eax, dword [ebp - 4]
push esi
lea edi, [esi + 0x3b80]
lea esi, [eax + 0x925e]
mov ecx, 6
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
pop esi
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x927a]
mov word [esi + 0x436a], ax
mov eax, dword [ebp - 4]
push esi
lea edi, [esi + 0x3b9a]
lea esi, [eax + 0x927c]
mov ecx, 0x1f4
rep movsd dword es:[edi], dword [esi]
pop esi
mov ebx, 0x1e
mov eax, dword [ebp - 4]
add eax, 0x9a4c
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
cmp byte [eax], 0
je 0x6310eb
lea eax, [ebp - 0x54]
mov edx, dword [ebp - 0x4c]
call fcn.00405744
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax + 0xf]
mov eax, dword [esi + 0x3758]
mov edi, dword [eax]
call dword [edi + 0x3c]
add dword [ebp - 0x4c], 0x13
dec ebx
jne 0x6310bd
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x1d5]
mov word [esi + 0x143c], ax
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 0x1d7]
mov byte [esi + 0xd45], al
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0xac08]
mov dword [esi + 0x4a86], edx
mov edx, dword [eax + 0xac0c]
mov dword [esi + 0x4a8a], edx
mov dx, word [eax + 0xac10]
mov word [esi + 0x4a8e], dx
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0xac12]
mov word [esi + 0x4a90], ax
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 0x1d8]
mov byte [esi + 0x143e], al
mov eax, dword [0x7070f8]
cmp byte [eax + 0x6486], 0
je 0x6311d0
mov eax, dword [ebp - 8]
cmp dword [eax + 0x1d9], 0x64
jle 0x6311ee
push dword [ebp - 0x24]
push dword [ebp - 0x28]
mov eax, dword [ebp - 4]
push dword [eax + 0xe]
push dword [eax + 0xa]
call fcn.0048c50c
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1dd]
xor edx, edx
cmp edx, dword [ebp - 0x1c]
jne 0x6311a1
cmp eax, dword [ebp - 0x20]
jbe 0x6311c6
jmp 0x6311a3
jle 0x6311c6
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1d9]
mov dword [esi + 0x145c], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1dd]
sub eax, dword [ebp - 0x20]
mov dword [esi + 0x1464], eax
jmp 0x6311ee
xor eax, eax
mov dword [esi + 0x1464], eax
jmp 0x6311ee
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1d9]
mov dword [esi + 0x145c], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1dd]
mov dword [esi + 0x1464], eax
cmp dword [esi + 0x145c], 0x64
jge 0x631201
mov dword [esi + 0x145c], 0x64
movzx eax, byte [esi + 0xd45]
cmp al, 1
jb 0x631210
cmp al, 5
jbe 0x631217
mov byte [esi + 0xd45], 1
mov eax, dword [esi + 0x381c]
test eax, eax
je 0x631226
call fcn.0040300c
xor eax, eax
mov dword [esi + 0x381c], eax
mov word [esi + 0x3820], 0
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x9c65]
test ax, ax
jbe 0x631289
movzx edx, ax
cmp edx, 0xfa0
jge 0x631255
mov eax, edx
jmp 0x63125a
mov eax, 0xfa0
mov ebx, eax
mov word [esi + 0x3820], bx
movzx eax, bx
call fcn.00402ff0
mov edi, eax
mov dword [esi + 0x381c], edi
movzx ecx, word [esi + 0x3820]
mov edx, edi
mov eax, dword [ebp - 8]
add eax, 0x9c67
call fcn.00403258
mov eax, dword [ebp - 8]
lea edi, [esi + 0x4ace]
lea esi, [eax + 0xbc1e]
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 0x6312c1
lea eax, [ebp - 0x54]
mov edx, 2
call fcn.004054f4
ret