Function at 0x45c330
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x94
mov eax, dword [0x48300c]
xor eax, esp
mov dword [esp + 0x90], eax
mov eax, ecx
mov dword [esp + 0x14], edx
mov ecx, dword [ebp + 8]
push ebx
mov dword [esp + 0x60], ecx
mov ecx, dword [eax]
mov ebx, dword [eax + 0xc]
push esi
mov dword [esp + 0xc], ecx
mov ecx, ebx
push edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x64], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x2c], ebx
call fcn.00425bb0
mov ecx, ebx
mov dword [esp + 0x40], eax
call fcn.00425bb0
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x5c], eax
mov esi, dword [ecx + 0x18]
mov al, byte [ecx + 4]
mov edx, dword [ecx + 0x1c]
cmp al, 0x71
mov dword [esp + 0x44], edx
mov edx, dword [esi]
mov byte [esp + 0xf], al
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], esi
mov dword [esp + 0x24], edx
je 0x45c4af
cmp byte [eax + 0x1e], 0
mov edi, 1
jne 0x45c4af
lea eax, [edx + edx*4]
shl eax, 2
mov dword [esp + 0x50], eax
mov eax, dword [ecx]
cmp edi, dword [eax]
jg 0x45c4ab
mov edx, dword [esi + 0xc]
xor ecx, ecx
cmp dword [esp + 0x24], ecx
jle 0x45c404
mov ebx, dword [esp + 0x24]
add edx, 0xe
movzx eax, word [edx]
cmp eax, edi
je 0x45c400
inc ecx
add edx, 0x14
cmp ecx, ebx
jl 0x45c3f1
mov ebx, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
cmp ecx, edx
jne 0x45c47d
mov ecx, dword [esp + 0x10]
mov edx, 0x31
call fcn.0040b030
mov esi, eax
test esi, esi
je 0x45c491
push 0x31
push 0
push esi
call sub.VCRUNTIME140.dll_memset
mov edx, dword [esp + 0x20]
or eax, 0xffffffff
mov ecx, dword [esp + 0x28]
add esp, 0xc
mov word [esi + 0x1e], ax
mov eax, 0x400
or word [esi + 2], ax
mov byte [esi], 0x81
push esi
mov dword [esi + 0x2c], 1
mov dword [esi + 4], edi
call fcn.00437970
mov ecx, dword [esp + 0x54]
mov esi, eax
mov edx, dword [esp + 0x28]
add esp, 4
inc edx
mov dword [esp + 0x14], esi
mov dword [esp + 0x24], edx
mov eax, dword [esi + 0xc]
mov word [eax + ecx + 0xe], di
add ecx, 0x14
mov dword [esp + 0x50], ecx
mov eax, dword [esp + 0x10]
inc edi
cmp byte [eax + 0x1e], 0
jne 0x45c4af
mov ecx, dword [esp + 0x20]
jmp 0x45c3d5
mov eax, 7
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.00475bd4
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x10]
lea edi, [edx*4]
mov ecx, eax
mov edx, edi
call fcn.0040b030
mov dword [esp + 0x50], eax
test eax, eax
je 0x45c603
mov eax, dword [esp + 0x24]
xor ecx, ecx
mov edx, dword [esi + 0xc]
test eax, eax
jle 0x45c4fc
mov esi, dword [esp + 0x50]
add edx, 0xe
mov ebx, eax
movzx eax, word [edx]
lea edx, [edx + 0x14]
dec eax
mov dword [esi + ecx*4], eax
inc ecx
cmp ecx, ebx
jl 0x45c4e1
mov ebx, dword [esp + 0x2c]
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
lea edx, [eax + 4]
lea edx, [eax + edx*4]
call fcn.0040b030
mov edx, eax
mov dword [esp + 0x60], edx
test edx, edx
je 0x45c60b
mov ecx, dword [esp + 0x24]
lea eax, [edx + 0xc]
add eax, edi
mov word [edx + 6], cx
mov dword [edx + 8], eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov al, byte [eax + 0x4d]
mov byte [edx + 4], al
xor edx, edx
mov dword [esp + 0x28], edx
test ecx, ecx
jle 0x45c60b
mov edi, dword [esp + 0x60]
xor ebx, ebx
add edi, 0xc
mov ecx, 0x100
mov dword [esp + 0x38], edi
nop dword [eax]
mov eax, dword [esi + 0xc]
mov esi, dword [ebx + eax]
test word [esi + 2], cx
je 0x45c571
mov eax, dword [esi + 0x14]
jmp 0x45c5c8
mov eax, dword [esp + 0x50]
mov edi, dword [eax + edx*4]
mov eax, dword [esp + 0x20]
mov edx, dword [eax + 0x1c]
test edx, edx
je 0x45c596
mov ecx, dword [esp + 0x1c]
push edi
call fcn.0045ad20
add esp, 4
test eax, eax
jne 0x45c5b4
jmp 0x45c598
xor eax, eax
mov edx, dword [esp + 0x20]
mov edx, dword [edx]
cmp edi, dword [edx]
jge 0x45c5b4
mov edx, dword [edx + 0xc]
lea eax, [edi + edi*4]
mov ecx, dword [esp + 0x1c]
mov edx, dword [edx + eax*4]
call fcn.00436250
mov edx, dword [esp + 0x28]
mov ecx, 0x100
or word [esi + 2], cx
mov edi, dword [esp + 0x38]
mov dword [esi + 0x14], eax
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x60]
mov dword [edi], eax
add edi, 4
mov dword [esp + 0x38], edi
mov eax, dword [esi + 0xc]
mov ecx, dword [ecx + 8]
mov al, byte [ebx + eax + 0xc]
add ebx, 0x14
mov byte [edx + ecx], al
inc edx
mov ecx, 0x100
mov dword [esp + 0x28], edx
cmp edx, dword [esp + 0x24]
jl 0x45c560
mov ebx, dword [esp + 0x2c]
jmp 0x45c60b
mov dword [esp + 0x60], 0
mov edi, dword [esp + 0x20]
mov edx, esi
push 0
mov dword [edi + 0x18], esi
mov esi, dword [esp + 0x20]
mov ecx, dword [esi]
call fcn.004373a0
mov ecx, dword [esp + 0x48]
add esp, 4
cmp byte [esp + 0xf], 0x71
mov dword [ecx + 0x18], eax
jne 0x45c63f
mov dword [esp + 0x3c], 0
jmp 0x45c78b
mov eax, dword [edi]
mov edx, dword [esi + 0x38]
mov edi, dword [eax]
mov eax, dword [esi + 0x3c]
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], eax
lea ecx, [edi + 1]
cmp ecx, edx
jg 0x45c664
add eax, ecx
sub edx, ecx
mov dword [esi + 0x3c], eax
mov dword [esi + 0x38], edx
jmp 0x45c673
mov eax, dword [esi + 0x48]
lea edx, [eax + 1]
add eax, ecx
mov dword [esp + 0x3c], edx
mov dword [esi + 0x48], eax
mov esi, dword [ebx + 0x1c]
mov eax, esi
cmp dword [ebx + 0x20], esi
jg 0x45c68b
mov ecx, ebx
call fcn.00425920
test eax, eax
jne 0x45c6c0
mov eax, dword [ebx + 0x1c]
mov edx, dword [esp + 0x3c]
lea ecx, [esi + esi*4]
inc eax
mov dword [ebx + 0x1c], eax
mov eax, dword [ebx + 4]
mov word [eax + ecx*4], 7
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x10]
lea esi, [edi + 4]
lea esi, [edi + esi*4]
mov edx, esi
call fcn.0040b030
mov dword [esp + 0x18], eax
test eax, eax
je 0x45c787
push esi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov edx, dword [esp + 0x24]
add esp, 0xc
lea ecx, [edx + 8]
xor esi, esi
mov dword [esp + 0x28], ecx
mov word [edx + 6], di
lea eax, [edx + 0xc]
lea eax, [eax + edi*4]
mov dword [ecx], eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov al, byte [eax + 0x4d]
mov byte [edx + 4], al
test edi, edi
jle 0x45c78b
mov ebx, dword [esp + 0x28]
lea ecx, [edx + 0xc]
xor edi, edi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x20]
mov edx, dword [eax + 0x1c]
test edx, edx
je 0x45c749
mov ecx, dword [esp + 0x1c]
push esi
call fcn.0045ad20
mov ecx, dword [esp + 0x18]
add esp, 4
test eax, eax
jne 0x45c768
jmp 0x45c74b
xor eax, eax
mov edx, dword [esp + 0x20]
mov edx, dword [edx]
cmp esi, dword [edx]
jge 0x45c768
mov edx, dword [edx + 0xc]
mov ecx, dword [esp + 0x1c]
mov edx, dword [edx + edi]
call fcn.00436250
mov ecx, dword [esp + 0x14]
mov dword [ecx], eax
add edi, 0x14
mov eax, dword [ebx]
add ecx, 4
mov dword [esp + 0x14], ecx
mov byte [esi + eax], 0
inc esi
cmp esi, dword [esp + 0x38]
jl 0x45c727
mov ebx, dword [esp + 0x2c]
jmp 0x45c78b
mov dword [esp + 0x18], eax
mov esi, dword [esp + 0x20]
mov edx, esi
mov edi, dword [esp + 0x1c]
mov ecx, edi
push str.ORDER
push dword [esi + 0x18]
mov dword [esi + 0x1c], 0
call fcn.00435b30
mov eax, dword [esp + 0x4c]
add esp, 8
cmp dword [eax + 0x1c], 0
jne 0x45c7cc
push str.ORDER
push dword [eax + 0x18]
mov edx, eax
mov ecx, edi
call fcn.00435b30
add esp, 8
push dword [esp + 0x40]
mov edx, esi
mov ecx, edi
call fcn.0045a910
add esp, 4
cmp dword [esi + 0x30], 0
je 0x45c96f
cmp byte [esp + 0xf], 0x71
jne 0x45c96f
mov edi, dword [edi + 0x48]
mov ecx, dword [esp + 0x1c]
inc edi
lea eax, [edi + 1]
mov dword [esp + 0x34], eax
mov dword [ecx + 0x48], eax
mov eax, dword [esi + 0x34]
test eax, eax
je 0x45c813
lea ecx, [eax + 1]
mov dword [esp + 0x28], ecx
jmp 0x45c81a
mov eax, dword [esi + 0x30]
mov dword [esp + 0x28], eax
mov esi, dword [ebx + 0x1c]
mov eax, esi
cmp dword [ebx + 0x20], esi
jg 0x45c832
mov ecx, ebx
call fcn.00425920
test eax, eax
jne 0x45c863
mov eax, dword [ebx + 0x1c]
mov edx, dword [esp + 0x28]
lea ecx, [esi + esi*4]
inc eax
mov dword [ebx + 0x1c], eax
mov eax, dword [ebx + 4]
mov word [eax + ecx*4], 0xe
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov esi, dword [ebx + 0x1c]
mov eax, esi
cmp dword [ebx + 0x20], esi
jg 0x45c87b
mov ecx, ebx
call fcn.00425920
test eax, eax
jne 0x45c8ac
mov eax, dword [ebx + 0x1c]
mov edx, dword [esp + 0x34]
lea ecx, [esi + esi*4]
inc eax
mov dword [ebx + 0x1c], eax
mov eax, dword [ebx + 4]
mov word [eax + ecx*4], 0xe
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov esi, dword [esp + 0x20]
mov edx, dword [esi + 0x28]
mov ecx, dword [esp + 0x10]
call fcn.00436f50
mov edx, dword [esi + 0x2c]
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x28], 0
call fcn.00436f50
mov dword [esi + 0x2c], 0
mov esi, dword [esp + 0x1c]
mov word [esp + 0x8c], 0xa
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov ecx, dword [esi + 0x48]
inc ecx
mov word [esp + 0x7c], 0xa
mov dword [esp + 0x90], ecx
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
lea eax, [ecx + 1]
mov dword [esp + 0x2c], ecx
lea edx, [eax + 1]
mov dword [esp + 0x48], eax
lea eax, [edx + 1]
mov dword [esp + 0x80], edx
mov dword [esp + 0x30], eax
add eax, 2
mov dword [esi + 0x48], eax
mov ecx, dword [ebx + 0x1c]
mov dword [esp + 0x38], eax
mov eax, ecx
mov dword [esp + 0x58], edx
mov dword [esp + 0x28], ecx
cmp dword [ebx + 0x20], ecx
jg 0x45c985
mov ecx, ebx
call fcn.00425920
test eax, eax
je 0x45c97e
mov dword [esp + 0x28], 1
jmp 0x45c9ba
mov dword [esp + 0x34], 0
xor edi, edi
jmp 0x45c8b0
mov eax, dword [ebx + 0x1c]
mov ecx, dword [esp + 0x28]
inc eax
lea ecx, [ecx + ecx*4]
mov dword [ebx + 0x1c], eax
mov eax, dword [ebx + 4]
mov word [eax + ecx*4], 1
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x44]
mov edx, ecx
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0x70], eax
mov dword [ecx + 0x30], edi
mov ecx, esi
mov eax, dword [esi + 0x22c]
mov dword [esp + 0x78], eax
lea eax, [esp + 0x8c]
push eax
call fcn.0045ef70
mov esi, dword [ebx + 0x1c]
add esp, 4
mov eax, esi
cmp dword [ebx + 0x20], esi
jg 0x45c9fe
mov ecx, ebx
call fcn.00425920
test eax, eax
jne 0x45ca33
mov eax, dword [ebx + 0x1c]
mov edx, dword [esp + 0x48]
lea ecx, [esi + esi*4]
inc eax
mov dword [ebx + 0x1c], eax
mov eax, dword [ebx + 4]
mov word [eax + ecx*4], 7
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 1
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov esi, dword [ebx + 0x1c]
mov eax, esi
cmp dword [ebx + 0x20], esi
jg 0x45ca4b
mov ecx, ebx
call fcn.00425920
test eax, eax
jne 0x45ca80
mov eax, dword [ebx + 0x1c]
mov edx, dword [esp + 0x2c]
lea ecx, [esi + esi*4]
inc eax
mov dword [ebx + 0x1c], eax
mov eax, dword [ebx + 4]
mov word [eax + ecx*4], 4
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x20]
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x34]
mov edi, dword [ecx + 0x30]
mov esi, dword [ecx + 0x34]
mov dword [ecx + 0x30], eax
mov eax, dword [esp + 0x1c]
mov dword [ecx + 0x34], 0
mov edx, dword [eax + 0x22c]
mov dword [esp + 0x74], edx
lea edx, [esp + 0x7c]
push edx
mov edx, ecx
mov ecx, eax
call fcn.0045ef70
mov eax, dword [esp + 0x24]
add esp, 4
mov dword [eax + 0x30], edi
mov edi, eax
mov dword [edi + 0x34], esi
mov esi, dword [ebx + 0x1c]
mov eax, esi
cmp dword [ebx + 0x20], esi
jg 0x45cae2
mov ecx, ebx
call fcn.00425920
test eax, eax
jne 0x45cb17
mov eax, dword [ebx + 0x1c]
mov edx, dword [esp + 0x30]
lea ecx, [esi + esi*4]
inc eax
mov dword [ebx + 0x1c], eax
mov eax, dword [ebx + 4]
mov word [eax + ecx*4], 7
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 1
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov esi, dword [ebx + 0x1c]
mov eax, esi
cmp dword [ebx + 0x20], esi
jg 0x45cb2f
mov ecx, ebx
call fcn.00425920
test eax, eax
jne 0x45cb64
mov eax, dword [ebx + 0x1c]
mov edx, dword [esp + 0x58]
lea ecx, [esi + esi*4]
inc eax
mov dword [ebx + 0x1c], eax
mov eax, dword [ebx + 4]
mov word [eax + ecx*4], 4
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push dword [esp + 0x40]
mov eax, dword [esp + 0x34]
mov edx, edi
mov ecx, dword [esp + 0x20]
inc eax
push 0xfffffffffffffff0
push dword [esp + 0x20]
push dword [esp + 0x48]
push eax
push dword [esp + 0x7c]
lea eax, [esp + 0xa4]
push eax
call fcn.0045bb30
mov esi, eax
add esp, 0x1c
mov al, byte [esp + 0xf]
mov dword [esp + 0x14], esi
cmp al, 0x71
je 0x45cba4
cmp al, 0x70
jne 0x45cbdb
push dword [esp + 0x40]
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x80]
push 0xffffffffffffffef
push dword [esp + 0x20]
mov edx, edi
push dword [esp + 0x48]
push dword [esp + 0x48]
push dword [esp + 0x7c]
push eax
call fcn.0045bb30
mov dword [esp + 0x80], eax
add esp, 0x1c
mov al, byte [esp + 0xf]
cmp al, 0x72
je 0x45cd73
cmp al, 0x73
je 0x45cd73
mov edx, dword [ebx + 0x1c]
mov eax, edx
mov dword [esp + 0x18], edx
cmp dword [ebx + 0x20], edx
jg 0x45cc15
mov ecx, ebx
call fcn.00425920
test eax, eax
je 0x45cc0e
mov dword [esp + 0x18], 1
jmp 0x45cc4a
mov eax, dword [ebx + 0x1c]
mov edx, dword [esp + 0x18]
inc eax
lea ecx, [edx + edx*4]
mov edx, dword [esp + 0x30]
mov dword [ebx + 0x1c], eax
mov eax, dword [ebx + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x40]
mov word [eax + ecx*4], 0x1b
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov esi, dword [ebx + 0x1c]
mov eax, esi
cmp dword [ebx + 0x20], esi
jg 0x45cc62
mov ecx, ebx
call fcn.00425920
test eax, eax
jne 0x45cc97
mov eax, dword [ebx + 0x1c]
mov edx, dword [esp + 0x38]
lea ecx, [esi + esi*4]
inc eax
mov dword [ebx + 0x1c], eax
mov eax, dword [ebx + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x64]
mov word [eax + ecx*4], 2
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov esi, dword [ebx + 0x1c]
mov eax, esi
cmp dword [ebx + 0x20], esi
jg 0x45ccaf
mov ecx, ebx
call fcn.00425920
test eax, eax
jne 0x45cce4
mov eax, dword [ebx + 0x1c]
mov edx, dword [esp + 0x58]
lea ecx, [esi + esi*4]
inc eax
mov dword [ebx + 0x1c], eax
mov eax, dword [ebx + 4]
mov word [eax + ecx*4], 4
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov esi, dword [ebx + 0x1c]
mov eax, esi
cmp dword [ebx + 0x20], esi
jg 0x45ccfc
mov ecx, ebx
call fcn.00425920
test eax, eax
jne 0x45cd31
mov eax, dword [ebx + 0x1c]
mov edx, dword [esp + 0x18]
lea ecx, [esi + esi*4]
inc eax
mov dword [ebx + 0x1c], eax
mov eax, dword [ebx + 4]
mov word [eax + ecx*4], 1
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x44]
movsd xmm0, qword [ecx + 0x48]
addsd xmm0, qword [edi + 0x48]
movsd qword [edi + 0x48], xmm0
mov edi, dword [ebx + 0x1c]
mov eax, edi
mov dword [esp + 0x54], edi
cmp dword [ebx + 0x20], edi
jg 0x45ce0b
mov ecx, ebx
call fcn.00425920
test eax, eax
je 0x45ce08
mov edi, 1
mov dword [esp + 0x54], edi
jmp 0x45ce40
mov edx, dword [ebx + 0x1c]
mov eax, edx
mov dword [esp + 0x18], edx
cmp dword [ebx + 0x20], edx
jg 0x45cd9e
mov ecx, ebx
call fcn.00425920
test eax, eax
je 0x45cd97
mov edx, 1
mov dword [esp + 0x18], edx
jmp 0x45cdd7
mov eax, dword [ebx + 0x1c]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x40]
lea ecx, [edx + edx*4]
inc eax
mov dword [ebx + 0x1c], eax
mov eax, dword [ebx + 4]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x14]
mov word [eax + ecx*4], 1
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp byte [esp + 0xf], 0x73
jne 0x45cd44
mov ecx, dword [esp + 0x44]
movsd xmm0, qword [edi + 0x48]
mov dword [esp + 0x54], edx
movsd xmm1, qword [ecx + 0x48]
comisd xmm0, xmm1
jbe 0x45cdff
movsd qword [edi + 0x48], xmm1
mov dword [esp + 0x18], edx
jmp 0x45cf28
mov eax, dword [ebx + 0x1c]
mov edx, dword [esp + 0x48]
lea ecx, [edi + edi*4]
inc eax
mov dword [ebx + 0x1c], eax
mov eax, dword [ebx + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x40]
mov word [eax + ecx*4], 0x1b
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov esi, dword [ebx + 0x1c]
mov eax, esi
cmp dword [ebx + 0x20], esi
jg 0x45ce58
mov ecx, ebx
call fcn.00425920
test eax, eax
jne 0x45ce8e
mov eax, dword [ebx + 0x1c]
mov edx, dword [esp + 0x30]
lea ecx, [esi + esi*4]
inc eax
inc edx
mov dword [ebx + 0x1c], eax
mov eax, dword [ebx + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x14]
mov word [eax + ecx*4], 2
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov esi, dword [ebx + 0x1c]
mov eax, esi
cmp dword [ebx + 0x20], esi
jg 0x45cea6
mov ecx, ebx
call fcn.00425920
test eax, eax
jne 0x45cedb
mov eax, dword [ebx + 0x1c]
mov edx, dword [esp + 0x2c]
lea ecx, [esi + esi*4]
inc eax
mov dword [ebx + 0x1c], eax
mov eax, dword [ebx + 4]
mov word [eax + ecx*4], 4
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov esi, dword [ebx + 0x1c]
mov eax, esi
cmp dword [ebx + 0x20], esi
jg 0x45cef3
mov ecx, ebx
call fcn.00425920
test eax, eax
jne 0x45cf24
mov eax, dword [ebx + 0x1c]
inc eax
lea ecx, [esi + esi*4]
mov dword [ebx + 0x1c], eax
mov eax, dword [ebx + 4]
mov word [eax + ecx*4], 1
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov esi, dword [esp + 0x14]
mov edi, dword [ebx + 0x1c]
mov eax, edi
mov dword [esp + 0x4c], edi
cmp dword [ebx + 0x20], edi
jg 0x45cf4f
mov ecx, ebx
call fcn.00425920
test eax, eax
je 0x45cf4c
mov edi, 1
mov dword [esp + 0x4c], edi
jmp 0x45cf85
mov eax, dword [ebx + 0x1c]
mov edx, dword [esp + 0x30]
lea ecx, [edi + edi*4]
mov edi, dword [esp + 0x4c]
inc eax
mov dword [ebx + 0x1c], eax
inc edx
mov eax, dword [ebx + 4]
mov word [eax + ecx*4], 2
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov esi, dword [ebx + 0x1c]
mov eax, esi
cmp dword [ebx + 0x20], esi
jg 0x45cf9d
mov ecx, ebx
call fcn.00425920
test eax, eax
jne 0x45cfd2
mov eax, dword [ebx + 0x1c]
mov edx, dword [esp + 0x2c]
lea ecx, [esi + esi*4]
inc eax
mov dword [ebx + 0x1c], eax
mov eax, dword [ebx + 4]
mov word [eax + ecx*4], 4
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov esi, dword [ebx + 0x1c]
mov eax, esi
cmp dword [ebx + 0x20], esi
jg 0x45cfea
mov ecx, ebx
call fcn.00425920
test eax, eax
jne 0x45d01f
mov eax, dword [ebx + 0x1c]
mov edx, dword [esp + 0x48]
lea ecx, [esi + esi*4]
inc eax
mov dword [ebx + 0x1c], eax
mov eax, dword [ebx + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x18]
mov word [eax + ecx*4], 0x1b
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov esi, dword [ebx + 0x1c]
mov eax, esi
cmp dword [ebx + 0x20], esi
jg 0x45d037
mov ecx, ebx
call fcn.00425920
test eax, eax
jne 0x45d06c
mov eax, dword [ebx + 0x1c]
mov edx, dword [esp + 0x5c]
lea ecx, [esi + esi*4]
inc eax
mov dword [ebx + 0x1c], eax
mov eax, dword [ebx + 4]
mov word [eax + ecx*4], 1
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov al, byte [esp + 0xf]
cmp al, 0x71
jne 0x45d084
mov esi, dword [ebx + 0x1c]
mov dword [esp + 0x14], edi
mov dword [esp + 0x34], esi
jmp 0x45d1a5
cmp al, 0x73
jne 0x45d09d
mov ecx, dword [ebx + 0x1c]
mov dword [esp + 0x14], edi
inc edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x34], ecx
jmp 0x45d1ef
mov edi, dword [ebx + 0x1c]
mov eax, edi
mov dword [esp + 0x14], edi
cmp dword [ebx + 0x20], edi
jg 0x45d0c4
mov ecx, ebx
call fcn.00425920
test eax, eax
je 0x45d0c1
mov edi, 1
mov dword [esp + 0x14], edi
jmp 0x45d0f9
mov eax, dword [ebx + 0x1c]
mov edx, dword [esp + 0x2c]
lea ecx, [edi + edi*4]
inc eax
mov dword [ebx + 0x1c], eax
mov eax, dword [ebx + 4]
mov word [eax + ecx*4], 4
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov esi, dword [ebx + 0x1c]
mov eax, esi
cmp dword [ebx + 0x20], esi
jg 0x45d111
mov ecx, ebx
call fcn.00425920
test eax, eax
jne 0x45d146
mov eax, dword [ebx + 0x1c]
mov edx, dword [esp + 0x48]
lea ecx, [esi + esi*4]
inc eax
mov dword [ebx + 0x1c], eax
mov eax, dword [ebx + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x18]
mov word [eax + ecx*4], 0x1b
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov esi, dword [ebx + 0x1c]
mov eax, esi
cmp dword [ebx + 0x20], esi
jg 0x45d162
mov ecx, ebx
call fcn.00425920
test eax, eax
jne 0x45d28b
mov eax, dword [ebx + 0x1c]
mov edx, dword [esp + 0x5c]
lea ecx, [esi + esi*4]
inc eax
mov dword [ebx + 0x1c], eax
mov eax, dword [ebx + 4]
mov word [eax + ecx*4], 1
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp byte [esp + 0xf], 0x70
mov esi, dword [ebx + 0x1c]
mov dword [esp + 0x34], esi
jne 0x45d1ef
mov eax, esi
cmp dword [ebx + 0x20], esi
jg 0x45d1ba
mov ecx, ebx
call fcn.00425920
test eax, eax
jne 0x45d1ef
mov eax, dword [ebx + 0x1c]
mov edx, dword [esp + 0x38]
lea ecx, [esi + esi*4]
inc eax
mov dword [ebx + 0x1c], eax
mov eax, dword [ebx + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x64]
mov word [eax + ecx*4], 2
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov esi, dword [ebx + 0x1c]
mov eax, esi
cmp dword [ebx + 0x20], esi
jg 0x45d207
mov ecx, ebx
call fcn.00425920
test eax, eax
jne 0x45d23c
mov eax, dword [ebx + 0x1c]
mov edx, dword [esp + 0x58]
lea ecx, [esi + esi*4]
inc eax
mov dword [ebx + 0x1c], eax
mov eax, dword [ebx + 4]
mov word [eax + ecx*4], 4
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov esi, dword [ebx + 0x1c]
mov eax, esi
cmp dword [ebx + 0x20], esi
jg 0x45d254
mov ecx, ebx
call fcn.00425920
test eax, eax
jne 0x45d29c
mov eax, dword [ebx + 0x1c]
mov edx, dword [esp + 0x30]
lea ecx, [esi + esi*4]
mov edi, dword [esp + 0x54]
inc eax
mov dword [ebx + 0x1c], eax
mov eax, dword [ebx + 4]
mov word [eax + ecx*4], 0x1b
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x45d2a0
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x14], edi
jmp 0x45d197
mov edi, dword [esp + 0x54]
mov esi, dword [ebx + 0x1c]
mov eax, esi
cmp dword [ebx + 0x20], esi
jg 0x45d2b8
mov ecx, ebx
call fcn.00425920
test eax, eax
jne 0x45d2ed
mov eax, dword [ebx + 0x1c]
mov edx, dword [esp + 0x5c]
lea ecx, [esi + esi*4]
inc eax
mov dword [ebx + 0x1c], eax
mov eax, dword [ebx + 4]
mov word [eax + ecx*4], 1
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x28]
test eax, eax
js 0x45d306
mov edx, dword [ebx + 0x1c]
cmp edx, eax
jbe 0x45d306
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 4]
mov dword [eax + ecx*4 + 8], edx
mov esi, dword [ebx + 0x1c]
mov eax, esi
cmp dword [ebx + 0x20], esi
jg 0x45d31e
mov ecx, ebx
call fcn.00425920
test eax, eax
jne 0x45d353
mov eax, dword [ebx + 0x1c]
mov edx, dword [esp + 0x48]
lea ecx, [esi + esi*4]
inc eax
mov dword [ebx + 0x1c], eax
mov eax, dword [ebx + 4]
mov word [eax + ecx*4], 7
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov esi, dword [ebx + 0x1c]
mov eax, esi
cmp dword [ebx + 0x20], esi
jg 0x45d36b
mov ecx, ebx
call fcn.00425920
test eax, eax
jne 0x45d3a0
mov eax, dword [ebx + 0x1c]
mov edx, dword [esp + 0x30]
lea ecx, [esi + esi*4]
inc eax
mov dword [ebx + 0x1c], eax
mov eax, dword [ebx + 4]
mov word [eax + ecx*4], 7
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov esi, dword [ebx + 0x1c]
mov eax, esi
cmp dword [ebx + 0x20], esi
jg 0x45d3b8
mov ecx, ebx
call fcn.00425920
test eax, eax
jne 0x45d3ed
mov eax, dword [ebx + 0x1c]
mov edx, dword [esp + 0x2c]
lea ecx, [esi + esi*4]
inc eax
mov dword [ebx + 0x1c], eax
mov eax, dword [ebx + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x70]
mov word [eax + ecx*4], 2
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov esi, dword [ebx + 0x1c]
mov eax, esi
cmp dword [ebx + 0x20], esi
jg 0x45d405
mov ecx, ebx
call fcn.00425920
test eax, eax
jne 0x45d43a
mov eax, dword [ebx + 0x1c]
mov edx, dword [esp + 0x58]
lea ecx, [esi + esi*4]
inc eax
mov dword [ebx + 0x1c], eax
mov eax, dword [ebx + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x6c]
mov word [eax + ecx*4], 2
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov esi, dword [ebx + 0x1c]
mov eax, esi
cmp dword [ebx + 0x20], esi
jg 0x45d452
mov ecx, ebx
call fcn.00425920
test eax, eax
jne 0x45d487
mov eax, dword [ebx + 0x1c]
mov edx, dword [esp + 0x48]
lea ecx, [esi + esi*4]
inc eax
mov dword [ebx + 0x1c], eax
mov eax, dword [ebx + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x18]
mov word [eax + ecx*4], 0x1b
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov esi, dword [ebx + 0x1c]
mov eax, esi
cmp dword [ebx + 0x20], esi
jg 0x45d49f
mov ecx, ebx
call fcn.00425920
test eax, eax
jne 0x45d4d0
mov eax, dword [ebx + 0x1c]
mov edx, dword [esp + 0x30]
lea ecx, [esi + esi*4]
inc eax
mov dword [ebx + 0x1c], eax
mov eax, dword [ebx + 4]
mov word [eax + ecx*4], 0x1b
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x2c]
test ecx, ecx
je 0x45d4e9
mov eax, dword [esp + 0x5c]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [ebx + 0x1c]
mov dword [ecx], eax
mov esi, dword [ebx + 0x1c]
mov eax, esi
cmp dword [ebx + 0x20], esi
jg 0x45d508
mov ecx, ebx
call fcn.00425920
test eax, eax
je 0x45d505
mov esi, 1
jmp 0x45d53d
mov eax, dword [ebx + 0x1c]
inc eax
lea ecx, [esi + esi*4]
mov dword [ebx + 0x1c], eax
mov eax, dword [ebx + 4]
mov word [eax + ecx*4], 0x17
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push 0xfffffffffffffff1
push dword [esp + 0x54]
mov edx, esi
mov ecx, ebx
call fcn.00425f90
mov eax, dword [esp + 0x9c]
add esp, 8
mov esi, dword [ebx + 0x1c]
mov edi, dword [esp + 0x84]
mov dword [esp + 0x6c], eax
mov eax, esi
cmp dword [ebx + 0x20], esi
jg 0x45d584
mov ecx, ebx
call fcn.00425920
test eax, eax
je 0x45d581
mov edi, dword [esp + 0x24]
mov esi, 1
jmp 0x45d5b5
mov eax, dword [ebx + 0x1c]
mov edx, dword [esp + 0x6c]
lea ecx, [esi + esi*4]
inc eax
mov dword [ebx + 0x1c], eax
mov eax, dword [ebx + 4]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x24]
mov word [eax + ecx*4], 0x18
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
push 0xfffffffffffffff0
push dword [esp + 0x64]
mov edx, esi
mov ecx, ebx
call fcn.00425f90
mov esi, dword [ebx + 0x1c]
add esp, 8
cmp dword [ebx + 0x20], esi
jg 0x45d5da
mov ecx, ebx
call fcn.00425920
test eax, eax
jne 0x45d60e
mov eax, dword [ebx + 4]
lea ecx, [esi + esi*4]
inc dword [ebx + 0x1c]
mov edx, dword [esp + 0x4c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x34]
mov word [eax + ecx*4], 0x19
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x45d63b
lea esi, [edi + 1]
mov edx, eax
mov edi, dword [esp + 0x1c]
mov ecx, edi
push esi
call fcn.00439600
add esp, 4
cmp esi, dword [edi + 0x38]
jle 0x45d63f
mov eax, dword [esp + 0x3c]
mov dword [edi + 0x38], esi
mov dword [edi + 0x3c], eax
jmp 0x45d63f
mov edi, dword [esp + 0x1c]
mov ecx, dword [ebx + 0x2c]
test ecx, ecx
je 0x45d658
mov eax, dword [esp + 0x40]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [ebx + 0x1c]
mov dword [ecx], eax
mov eax, dword [esp + 0x68]
cmp byte [eax], 5
jne 0x45d687
mov eax, dword [esp + 0x44]
mov ecx, eax
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x45d679
nop
mov ecx, eax
mov eax, dword [ecx + 0x1c]
test eax, eax
jne 0x45d670
push dword [ecx]
xor edx, edx
mov ecx, edi
call fcn.0045a110
add esp, 4
mov ebx, dword [esp + 0x20]
mov esi, dword [ebx + 0x1c]
test esi, esi
je 0x45d70a
mov edx, dword [esi]
mov ecx, dword [esp + 0x10]
call fcn.00437a50
mov edx, dword [esi + 8]
mov ecx, dword [esp + 0x10]
call fcn.00445420
mov edx, dword [esi + 0xc]
mov ecx, dword [esp + 0x10]
call fcn.00436f50
mov edx, dword [esi + 0x10]
mov ecx, dword [esp + 0x10]
call fcn.00437a50
mov edx, dword [esi + 0x14]
mov ecx, dword [esp + 0x10]
call fcn.00436f50
mov edx, dword [esi + 0x18]
mov ecx, dword [esp + 0x10]
call fcn.00437a50
mov edx, dword [esi + 0x1c]
mov ecx, dword [esp + 0x10]
call fcn.00458120
mov edx, dword [esi + 0x28]
mov ecx, dword [esp + 0x10]
call fcn.00436f50
mov edx, dword [esi + 0x2c]
mov ecx, dword [esp + 0x10]
call fcn.00436f50
push esi
push dword [esp + 0x14]
call fcn.0040add0
add esp, 8
mov eax, dword [esp + 0x44]
mov ecx, edi
movzx edx, byte [ebx + 4]
push 0
push dword [esp + 0x78]
mov dword [ebx + 0x1c], eax
push dword [esp + 0x80]
call fcn.004596f0
mov ecx, dword [esp + 0xa8]
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00475bd4
mov esp, ebp
pop ebp
ret