Function at 0x45a840
Capabilities:
Get number of processors
Get process heap force flags

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 0x57a1ca
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x3a0
push esi
push edi
xorps xmm0, xmm0
mov dword [ebp - 0x18], 1
push 0x20
mov dword [ebp - 0x1c], ecx
movups xmmword [ebp - 0xdc], xmm0
call fcn.00549aa4
movups xmm0, xmmword [str.ZHhtLbggXiDg8I6GR0eiABkZJDw]
mov edx, eax
mov dword [ebp - 0xcc], 0x1d
add esp, 4
mov dword [ebp - 0xdc], edx
mov dword [ebp - 0xc8], 0x1f
movups xmmword [edx], xmm0
movq xmm0, qword [0x59b394]
movq qword [edx + 0x10], xmm0
mov ecx, dword [0x59b39c]
mov dword [edx + 0x18], ecx
movzx eax, byte [0x59b3a0]
mov byte [edx + 0x1c], al
mov byte [edx + 0x1d], 0
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov eax, dword [0x59b3ac]
movups xmmword [ebp - 0x7c], xmm0
mov dword [ebp - 0x74], eax
movq xmm0, qword [str.dHhIveQAd5JQk]
movzx eax, word [0x59b3b0]
mov dword [ebp - 0x6c], 0xe
mov dword [ebp - 0x68], 0xf
movq qword [ebp - 0x7c], xmm0
mov word [ebp - 0x70], ax
mov byte [ebp - 0x6e], 0
xorps xmm0, xmm0
mov byte [ebp - 4], 1
push 0x50
movups xmmword [ebp - 0xc4], xmm0
call fcn.00549aa4
movups xmm0, xmmword [str.dWhu9aSkllBwoHvBx0GWExwyeLBEPzCzUg0GwsbFVSwPQHRQ0oKgwToCRsF2ATQmkAAYcaARsM]
mov ecx, eax
mov dword [ebp - 0xb4], 0x4a
add esp, 4
mov dword [ebp - 0xc4], ecx
mov dword [ebp - 0xb0], 0x4f
movups xmmword [ecx], xmm0
movups xmm0, xmmword [0x59b3c8]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [0x59b3d8]
movups xmmword [ecx + 0x20], xmm0
movups xmm0, xmmword [0x59b3e8]
movups xmmword [ecx + 0x30], xmm0
movq xmm0, qword [0x59b3f8]
movq qword [ecx + 0x40], xmm0
movzx eax, word [0x59b400]
mov word [ecx + 0x48], ax
mov byte [ecx + 0x4a], 0
xorps xmm0, xmm0
mov byte [ebp - 4], 2
push 0x30
movups xmmword [ebp - 0xac], xmm0
call fcn.00549aa4
movups xmm0, xmmword [str.ejQzwVyZ8hYRMo0a3sqCUBcAJQMasQCYWNXUcy]
mov edx, eax
mov dword [ebp - 0x9c], 0x27
mov dword [ebp - 0xac], edx
mov dword [ebp - 0x98], 0x2f
movups xmmword [edx], xmm0
movups xmm0, xmmword [0x59b414]
movups xmmword [edx + 0x10], xmm0
mov ecx, dword [0x59b424]
mov dword [edx + 0x20], ecx
movzx eax, word [0x59b428]
mov word [edx + 0x24], ax
movzx eax, byte [0x59b42a]
mov byte [edx + 0x26], al
mov byte [edx + 0x27], 0
lea ecx, [ebp - 0x2b0]
mov byte [ebp - 4], 3
call fcn.0045d260
sub esp, 0x18
mov byte [ebp - 4], 4
lea eax, [ebp - 0xc4]
mov ecx, esp
push eax
call fcn.0042d710
lea ecx, [ebp - 0x64]
call fcn.004452c0
mov esi, eax
lea eax, [ebp - 0xdc]
mov byte [ebp - 4], 5
mov ecx, esp
push eax
call fcn.0042d710
lea ecx, [ebp - 0x94]
call fcn.004452c0
add esp, 0x18
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 0x10
jb 0x45aa59
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0055aada
mov edx, dword [ebp - 0x14]
xorps xmm0, xmm0
mov ecx, edx
mov dword [ebp - 0x3c], 0
add esp, 0xc
mov dword [ebp - 0x38], 0
movups xmmword [ebp - 0x4c], xmm0
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45aa87
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x4c]
call fcn.0042d8d0
mov byte [ebp - 4], 7
lea edx, [ebp - 0x4c]
cmp dword [ebp - 0x38], 0x10
lea ecx, [ebp - 0x2a0]
push dword [ebp - 0x3c]
cmovae edx, dword [ebp - 0x4c]
call fcn.0045b9d0
mov ecx, dword [esi + 0x10]
add esp, 4
cmp dword [esi + 0x14], 0x10
jb 0x45aac5
mov esi, dword [esi]
push ecx
mov edx, esi
mov ecx, eax
call fcn.0045b9d0
mov byte [ebp - 4], 6
add esp, 4
mov ecx, dword [ebp - 0x38]
cmp ecx, 0x10
jb 0x45ab0a
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45ab00
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b67e
push ecx
push edx
call fcn.00549ad4
add esp, 8
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
cmp ecx, 0x10
jb 0x45ab57
mov edx, dword [ebp - 0x94]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45ab4d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b67e
push ecx
push edx
call fcn.00549ad4
add esp, 8
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0xf
mov byte [ebp - 0x94], 0
cmp ecx, 0x10
jb 0x45aba7
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45ab9d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b67e
push ecx
push edx
call fcn.00549ad4
add esp, 8
sub esp, 0x18
lea eax, [ebp - 0xac]
mov ecx, esp
push eax
call fcn.0042d710
lea ecx, [ebp - 0x64]
call fcn.004452c0
mov edi, eax
lea eax, [ebp - 0x7c]
mov byte [ebp - 4], 8
mov ecx, esp
push eax
call fcn.0042d710
lea ecx, [ebp - 0x94]
call fcn.004452c0
add esp, 0x18
mov byte [ebp - 4], 9
cmp dword [eax + 0x14], 0x10
jb 0x45abeb
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0055aada
mov edx, dword [ebp - 0x14]
xorps xmm0, xmm0
mov ecx, edx
mov dword [ebp - 0x3c], 0
add esp, 0xc
mov dword [ebp - 0x38], 0
movups xmmword [ebp - 0x4c], xmm0
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45ac20
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x4c]
call fcn.0042d8d0
push edi
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 0xa
push eax
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x34]
call fcn.0042bdc0
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x38]
cmp ecx, 0x10
jb 0x45ac7f
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45ac75
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b683
push ecx
push edx
call fcn.00549ad4
add esp, 8
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x80]
cmp ecx, 0x10
jb 0x45acba
mov edx, dword [ebp - 0x94]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45acb0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b683
push ecx
push edx
call fcn.00549ad4
add esp, 8
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0xf
mov byte [ebp - 0x94], 0
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x50]
cmp ecx, 0x10
jb 0x45ad0a
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45ad00
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b683
push ecx
push edx
call fcn.00549ad4
add esp, 8
cmp dword [ebp - 0x20], 0x10
lea eax, [ebp - 0x34]
mov dword [ebp - 0x54], 0
cmovae eax, dword [ebp - 0x34]
push eax
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], 0
call fcn.0055abdd
add esp, 4
lea eax, [ebp - 0x4c]
cmp dword [ebp - 0x20], 0x10
lea esi, [ebp - 0x34]
lea ecx, [ebp - 0x298]
cmovae esi, dword [ebp - 0x34]
push eax
call fcn.00441e90
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x4c]
cmp dword [ebp - 0x38], 0x10
mov edx, esi
cmovae ecx, dword [ebp - 0x4c]
call fcn.004582f0
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x38]
cmp ecx, 0x10
jb 0x45ad98
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45ad8e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b688
push ecx
push edx
call fcn.00549ad4
add esp, 8
mov eax, dword [ebx + 8]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x34]
cmp dword [ebp - 0x20], 0x10
lea edx, [ebp - 0x14]
push 0
cmovae ecx, dword [ebp - 0x34]
push 6
mov dword [ebp - 0x18], 0x1e1
call fcn.00517bb0
add esp, 8
test eax, eax
je 0x45af27
mov ecx, dword [ebp - 0x20]
cmp ecx, 0x10
jb 0x45ae10
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45ae06
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b679
push ecx
push edx
call fcn.00549ad4
add esp, 8
lea ecx, [ebp - 0x2b0]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
call fcn.0045d050
mov ecx, dword [ebp - 0x98]
cmp ecx, 0x10
jb 0x45ae67
mov edx, dword [ebp - 0xac]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45ae5d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b679
push ecx
push edx
call fcn.00549ad4
add esp, 8
mov ecx, dword [ebp - 0xb0]
cmp ecx, 0x10
jb 0x45aea1
mov edx, dword [ebp - 0xc4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45ae97
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b679
push ecx
push edx
call fcn.00549ad4
add esp, 8
mov ecx, dword [ebp - 0x68]
cmp ecx, 0x10
jb 0x45aed5
mov edx, dword [ebp - 0x7c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45aecb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b679
push ecx
push edx
call fcn.00549ad4
add esp, 8
mov ecx, dword [ebp - 0xc8]
cmp ecx, 0x10
jb 0x45af0f
mov edx, dword [ebp - 0xdc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45af05
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b679
push ecx
push edx
call fcn.00549ad4
add esp, 8
mov eax, dword [ebx + 8]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
xorps xmm0, xmm0
push 0x140
movups xmmword [ebp - 0x138], xmm0
call fcn.00549aa4
mov ecx, 0x4c
mov dword [ebp - 0x138], eax
mov esi, str.ZzVBTQjRw0DQckaYWE3dFVltwYhNcLNS4CnGWE0MDkYoONjhWGLjcJEQW1iSC1QyWNjhDvKDEOPQR42eDlgkfbUcEJcXJXxBXFyiRxhhKc1YDTdXZTYAnJ06VwVh9AzQVZLSMUmQR40ODkYoyNjhBVKC8CpFQcQLKHhhCNxVZyMmIwpfQQQcIhUtkIxRBxHjQOcRig2UOEEo6LwIaVYXNXrBXFyeVwVhsb0cEwcHRTFAXV1VVANxMckcLzYWcDDFQ4QXI3ATjYiVscYS4GmRjUd8EVwyoKxNqhNSsK8UGEGMImYC
mov dword [ebp - 0x128], 0x130
mov edi, eax
mov dword [ebp - 0x124], 0x13f
rep movsd dword es:[edi], dword [esi]
mov byte [eax + 0x130], 0
mov dword [ebp - 4], 0x11
sub esp, 0x14
mov eax, dword [ebp - 0x1c]
mov ecx, esp
mov edi, dword [eax]
mov esi, dword [eax + 4]
lea eax, [ebp - 0x138]
push eax
call fcn.0042d710
lea ecx, [ebp - 0x64]
call fcn.004452c0
add esp, 0x18
cmp dword [eax + 0x14], 0x10
jb 0x45af9d
mov eax, dword [eax]
push esi
push edi
push eax
lea eax, [ebp - 0x3b0]
push 0x100
push eax
call fcn.00427090
mov ecx, dword [ebp - 0x50]
add esp, 0x14
cmp ecx, 0x10
jb 0x45afe8
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45afde
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b68d
push ecx
push edx
call fcn.00549ad4
add esp, 8
xorps xmm0, xmm0
push 0x70
movups xmmword [ebp - 0x150], xmm0
call fcn.00549aa4
mov ecx, 0x1a
mov dword [ebp - 0x150], eax
mov esi, str.WVV4KSgoQLNA8asAVg_UKzlUpai08UDCY8KeVg8fMCYR9PgY2cFz83CIVRq9NTQLOPgYjkETkwnIScxMDgdxah8H0Nwd5kIAomNKg
mov dword [ebp - 0x140], 0x68
mov edi, eax
mov dword [ebp - 0x13c], 0x6f
rep movsd dword es:[edi], dword [esi]
add esp, 4
mov byte [eax + 0x68], 0
push 0
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x3b0]
push eax
push 0
push 0x80
push 0xffffffffffffffff
call fcn.004dd1f0
add esp, 0x14
test eax, eax
je 0x45b0a3
push 0x70
push dword [ebp - 0x150]
call fcn.00549ad4
mov ecx, dword [ebp - 0x124]
add esp, 8
cmp ecx, 0x10
jb 0x45addc
mov edx, dword [ebp - 0x138]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45b094
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b679
push ecx
push edx
call fcn.00549ad4
add esp, 8
jmp 0x45addc
mov esi, dword [ebp - 0x1c]
push esi
call fcn.00497c30
add esp, 4
cmp eax, 0x64
jne 0x45b4df
nop dword [eax + eax]
xorps xmm0, xmm0
mov dword [ebp - 0x110], 0
movups xmmword [ebp - 0x120], xmm0
mov dword [ebp - 0x10c], 0xf
movups xmmword [ebp - 0x108], xmm0
mov byte [ebp - 0x120], 0
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xf4], 0xf
mov byte [ebp - 0x108], 0
mov dword [ebp - 0xf0], 0
movlpd qword [ebp - 0xe8], xmm0
push ecx
lea ecx, [ebp - 0x200]
mov byte [ebp - 4], 0x13
call fcn.0045d260
mov byte [ebp - 4], 0x14
test esi, esi
je 0x45b16c
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x45b144
push eax
call dword [0x5bec70]
add esp, 4
mov ecx, dword [esi + 0x80]
test ecx, ecx
je 0x45b159
xor eax, eax
cmp ax, word [esi + 0x98]
jb 0x45b171
mov ecx, dword [esi]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.00470690
mov ecx, 0x5944a8
movzx edx, word [ecx + 8]
mov eax, edx
and eax, 0x202
cmp eax, 0x202
jne 0x45b18e
cmp byte [ecx + 0xa], 1
jne 0x45b18e
mov edi, dword [ecx + 0x10]
jmp 0x45b1a0
test dl, 1
je 0x45b197
xor edi, edi
jmp 0x45b1a0
mov dl, 1
call fcn.004911d0
mov edi, eax
test esi, esi
je 0x45b1d2
mov ecx, dword [esi]
mov edx, dword [esi + 0x28]
cmp byte [ecx + 0x57], 0
jne 0x45b1b7
test edx, edx
jne 0x45b1b7
xor eax, eax
jmp 0x45b1bc
call fcn.0046d970
mov dword [esi + 0x28], eax
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x45b1d2
push eax
call dword [0x5bec78]
add esp, 4
mov edx, edi
lea ecx, [ebp - 0x1f0]
call fcn.0045bea0
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x1e8]
call fcn.00441e90
or dword [ebp - 0x18], 6
lea ecx, [ebp - 0x200]
mov byte [ebp - 4], 0x13
call fcn.0045d050
movups xmm0, xmmword [ebp - 0x64]
mov ecx, 0xf
push ecx
movups xmmword [ebp - 0x120], xmm0
lea ecx, [ebp - 0x200]
movq xmm0, qword [ebp - 0x54]
movq qword [ebp - 0x110], xmm0
call fcn.0045d260
mov byte [ebp - 4], 0x15
test esi, esi
je 0x45b279
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x45b245
push eax
call dword [0x5bec70]
add esp, 4
mov ecx, dword [esi + 0x80]
test ecx, ecx
je 0x45b266
mov eax, 1
cmp ax, word [esi + 0x98]
jae 0x45b266
add ecx, 0x28
jne 0x45b27e
xor edi, edi
jmp 0x45b2ad
mov ecx, dword [esi]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.00470690
mov ecx, 0x5944a8
movzx edx, word [ecx + 8]
mov eax, edx
and eax, 0x202
cmp eax, 0x202
jne 0x45b29b
cmp byte [ecx + 0xa], 1
jne 0x45b29b
mov edi, dword [ecx + 0x10]
jmp 0x45b2ad
test dl, 1
je 0x45b2a4
xor edi, edi
jmp 0x45b2ad
mov dl, 1
call fcn.004911d0
mov edi, eax
test esi, esi
je 0x45b2df
mov ecx, dword [esi]
mov edx, dword [esi + 0x28]
cmp byte [ecx + 0x57], 0
jne 0x45b2c4
test edx, edx
jne 0x45b2c4
xor eax, eax
jmp 0x45b2c9
call fcn.0046d970
mov dword [esi + 0x28], eax
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x45b2df
push eax
call dword [0x5bec78]
add esp, 4
mov edx, edi
lea ecx, [ebp - 0x1f0]
call fcn.0045bea0
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x1e8]
call fcn.00441e90
or dword [ebp - 0x18], 0x18
lea ecx, [ebp - 0x200]
mov byte [ebp - 4], 0x13
call fcn.0045d050
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x108]
call fcn.00442e30
mov ecx, dword [ebp - 0x50]
cmp ecx, 0x10
jb 0x45b351
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45b347
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b67e
push ecx
push edx
call fcn.00549ad4
add esp, 8
test esi, esi
je 0x45b398
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x45b368
push eax
call dword [0x5bec70]
add esp, 4
mov ecx, dword [esi + 0x80]
test ecx, ecx
je 0x45b385
mov eax, 2
cmp ax, word [esi + 0x98]
jae 0x45b385
add ecx, 0x50
jmp 0x45b39d
mov ecx, dword [esi]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.00470690
mov ecx, 0x5944a8
call fcn.004905a0
mov edi, eax
test esi, esi
je 0x45b3d6
mov ecx, dword [esi]
mov edx, dword [esi + 0x28]
cmp byte [ecx + 0x57], 0
jne 0x45b3bb
test edx, edx
jne 0x45b3bb
xor eax, eax
jmp 0x45b3c0
call fcn.0046d970
mov dword [esi + 0x28], eax
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x45b3d6
push eax
call dword [0x5bec78]
add esp, 4
push 3
push esi
mov dword [ebp - 0xf0], edi
call fcn.00498810
mov dword [ebp - 0xe8], eax
add esp, 8
mov eax, dword [ebx + 8]
mov dword [ebp - 0xe4], edx
mov edi, dword [eax + 4]
cmp edi, dword [eax + 8]
je 0x45b446
lea eax, [ebp - 0x120]
mov dword [ebp - 0x1c], edi
push eax
mov ecx, edi
call fcn.0042d710
lea eax, [ebp - 0x108]
mov byte [ebp - 4], 0x16
lea ecx, [edi + 0x18]
push eax
call fcn.0042d710
mov eax, dword [ebp - 0xf0]
mov ecx, dword [ebp - 0xe4]
mov dword [edi + 0x30], eax
mov eax, dword [ebp - 0xe8]
mov dword [edi + 0x38], eax
mov eax, dword [ebx + 8]
mov dword [edi + 0x3c], ecx
add dword [eax + 4], 0x40
jmp 0x45b455
lea ecx, [ebp - 0x120]
push ecx
push edi
mov ecx, eax
call fcn.0045bbd0
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0xf4]
cmp ecx, 0x10
jb 0x45b493
mov edx, dword [ebp - 0x108]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45b489
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b679
push ecx
push edx
call fcn.00549ad4
add esp, 8
mov ecx, dword [ebp - 0x10c]
cmp ecx, 0x10
jb 0x45b4cd
mov edx, dword [ebp - 0x120]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45b4c3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b679
push ecx
push edx
call fcn.00549ad4
add esp, 8
push esi
call fcn.00497c30
add esp, 4
cmp eax, 0x64
je 0x45b0c0
push esi
call fcn.00496c00
mov ecx, dword [ebp - 0x14]
add esp, 4
xor edx, edx
call fcn.00515770
cmp dword [ebp - 0x20], 0x10
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push eax
call fcn.0055abdd
add esp, 4
push 0x70
push dword [ebp - 0x150]
call fcn.00549ad4
mov ecx, dword [ebp - 0x124]
add esp, 8
cmp ecx, 0x10
jb 0x45b550
mov edx, dword [ebp - 0x138]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45b546
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b679
push ecx
push edx
call fcn.00549ad4
add esp, 8
mov ecx, dword [ebp - 0x20]
cmp ecx, 0x10
jb 0x45b584
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45b57a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b679
push ecx
push edx
call fcn.00549ad4
add esp, 8
lea ecx, [ebp - 0x2b0]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
call fcn.0045d050
mov ecx, dword [ebp - 0x98]
cmp ecx, 0x10
jb 0x45b5db
mov edx, dword [ebp - 0xac]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45b5d1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b679
push ecx
push edx
call fcn.00549ad4
add esp, 8
mov ecx, dword [ebp - 0xb0]
cmp ecx, 0x10
jb 0x45b611
mov edx, dword [ebp - 0xc4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45b607
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b679
push ecx
push edx
call fcn.00549ad4
add esp, 8
mov ecx, dword [ebp - 0x68]
cmp ecx, 0x10
jb 0x45b641
mov edx, dword [ebp - 0x7c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45b637
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b679
push ecx
push edx
call fcn.00549ad4
add esp, 8
mov ecx, dword [ebp - 0xc8]
cmp ecx, 0x10
jb 0x45af0f
mov edx, dword [ebp - 0xdc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45af05
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x45af05
call fcn.0054e9bf
call fcn.0054e9bf
call fcn.0054e9bf
call fcn.0054e9bf
call fcn.0054e9bf
int3