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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xdcc
push ebx
push esi
push edi
mov ebx, ecx
call fcn.00526d50
test eax, eax
je 0x529722
mov esi, dword [ebx + 0x28]
lea edi, [ebx + 0x20]
test esi, esi
je 0x529714
add esi, 8
test esi, esi
mov dword [esp + 0xc], esi
je 0x529714
mov eax, dword [esi]
mov dword [esp + 0x10], eax
mov ecx, dword [eax]
cmp ecx, 3
jne 0x528368
push eax
mov eax, dword [ebp + 8]
add eax, 0x58
mov ecx, ebx
push eax
call fcn.00529730
mov eax, dword [esi]
push 0xc
mov dword [esp + 0x10], eax
fld qword [eax + 0x10]
fchs
fstp qword [eax + 0x10]
fld qword [eax + 0x18]
fchs
fstp qword [eax + 0x18]
fld qword [eax + 0x20]
fchs
fstp qword [eax + 0x20]
call fcn.005b449a
mov ecx, dword [esp + 0x10]
add esp, 4
jmp 0x5293ad
cmp ecx, 4
jne 0x52839d
push eax
mov eax, dword [ebp + 8]
add eax, 0x58
mov ecx, ebx
push eax
call fcn.00529760
mov eax, dword [esi]
push 0xc
mov dword [esp + 0x10], eax
fld qword [eax + 0x2c]
fchs
fstp qword [eax + 0x2c]
call fcn.005b449a
mov ecx, dword [esp + 0x10]
add esp, 4
jmp 0x5293ad
cmp ecx, 5
jne 0x5283e2
push eax
mov eax, dword [ebp + 8]
add eax, 0x58
mov ecx, ebx
push eax
call fcn.005297a0
mov eax, dword [esi]
push 0xc
mov dword [esp + 0x10], eax
fld qword [eax + 0x2c]
fchs
fstp qword [eax + 0x2c]
fld qword [eax + 0x34]
fchs
fstp qword [eax + 0x34]
fld qword [eax + 0x3c]
fchs
fstp qword [eax + 0x3c]
call fcn.005b449a
mov ecx, dword [esp + 0x10]
add esp, 4
jmp 0x5293ad
cmp ecx, 7
jne 0x528433
push eax
mov eax, dword [ebp + 8]
add eax, 0x58
mov ecx, ebx
push eax
call fcn.005297e0
mov eax, dword [esi]
push 0xc
fld qword [0x5e7c10]
fdiv qword [eax + 0x2c]
mov dword [esp + 0x10], eax
fstp qword [eax + 0x2c]
fld qword [0x5e7c10]
fdiv qword [eax + 0x34]
fstp qword [eax + 0x34]
fld qword [0x5e7c10]
fdiv qword [eax + 0x3c]
fstp qword [eax + 0x3c]
call fcn.005b449a
mov ecx, dword [esp + 0x10]
add esp, 4
jmp 0x5293ad
cmp ecx, 6
jne 0x52846b
push eax
mov eax, dword [ebp + 8]
add eax, 0x58
mov ecx, ebx
push eax
call fcn.00529820
mov ecx, dword [esi]
push 0xc
mov dword [esp + 0x10], ecx
call fcn.005b449a
mov edx, dword [esp + 0x10]
add esp, 4
lea ecx, [ebx + 0xc]
mov dword [eax + 8], edx
push eax
mov eax, dword [ecx + 8]
push eax
jmp 0x5293b8
cmp ecx, 1
jne 0x5284aa
push eax
mov eax, dword [ebp + 8]
lea ecx, [eax + 0x58]
push ecx
push eax
mov ecx, ebx
call fcn.00529860
mov eax, dword [esi]
push 0xc
mov dword [esp + 0x10], eax
mov dword [eax], 2
call fcn.005b449a
mov edx, dword [esp + 0x10]
add esp, 4
lea ecx, [ebx + 0xc]
mov dword [eax + 8], edx
push eax
mov eax, dword [ecx + 8]
push eax
jmp 0x5293b8
cmp ecx, 2
jne 0x5284e9
push eax
mov eax, dword [ebp + 8]
lea ecx, [eax + 0x58]
push ecx
push eax
mov ecx, ebx
call fcn.005298a0
mov eax, dword [esi]
push 0xc
mov dword [esp + 0x10], eax
mov dword [eax], 1
call fcn.005b449a
mov edx, dword [esp + 0x10]
add esp, 4
lea ecx, [ebx + 0xc]
mov dword [eax + 8], edx
push eax
mov eax, dword [ecx + 8]
push eax
jmp 0x5293b8
cmp ecx, 0xc
jne 0x528541
mov ecx, dword [ebp + 8]
push eax
add ecx, 0x58
push ecx
mov ecx, ebx
call fcn.005298d0
mov eax, dword [esi]
push 0xc
mov dword [esp + 0x14], eax
mov edx, dword [eax + 0x14]
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x10], edx
mov edx, dword [eax + 0x18]
mov dword [eax + 0x10], edx
mov edx, dword [eax + 0x1c]
mov dword [eax + 0x18], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax + 0x14], edx
mov dword [eax + 0x1c], ecx
call fcn.005b449a
mov edx, dword [esp + 0x14]
add esp, 4
lea ecx, [ebx + 0xc]
mov dword [eax + 8], edx
push eax
mov eax, dword [ecx + 8]
push eax
jmp 0x5293b8
cmp ecx, 0xb
jne 0x52857a
mov ecx, dword [ebp + 8]
push eax
add ecx, 0x58
push ecx
mov ecx, ebx
call fcn.005299e0
mov eax, dword [esi]
push 0xc
mov dword [esp + 0x10], eax
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], ecx
call fcn.005b449a
mov ecx, dword [esp + 0x10]
add esp, 4
jmp 0x5293ad
cmp ecx, 8
jne 0x52862c
push eax
mov eax, dword [ebp + 8]
add eax, 0x58
mov ecx, ebx
push eax
call fcn.00529d80
mov eax, dword [esi]
push 0xc
mov dword [esp + 0x10], eax
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
fld qword [eax + 0x10]
mov dword [esp + 0x20], ecx
mov ecx, dword [eax + 0x20]
mov dword [esp + 0x24], edx
mov edx, dword [eax + 0x24]
mov dword [esp + 0x28], ecx
mov ecx, dword [eax + 0x28]
mov dword [esp + 0x2c], edx
mov edx, dword [eax + 0x2c]
mov dword [esp + 0x30], ecx
mov dword [eax + 0x10], edx
mov ecx, dword [eax + 0x30]
mov dword [eax + 0x14], ecx
mov edx, dword [eax + 0x34]
mov dword [eax + 0x18], edx
mov ecx, dword [eax + 0x38]
mov dword [eax + 0x1c], ecx
mov edx, dword [eax + 0x3c]
mov dword [eax + 0x20], edx
mov ecx, dword [eax + 0x40]
mov dword [eax + 0x24], ecx
mov edx, dword [eax + 0x44]
mov ecx, dword [esp + 0x20]
mov dword [eax + 0x28], edx
mov edx, dword [esp + 0x24]
mov dword [eax + 0x34], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 0x38], edx
mov edx, dword [esp + 0x2c]
mov dword [eax + 0x3c], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 0x40], edx
fstp qword [eax + 0x2c]
mov dword [eax + 0x44], ecx
call fcn.005b449a
mov edx, dword [esp + 0x10]
add esp, 4
lea ecx, [ebx + 0xc]
mov dword [eax + 8], edx
push eax
mov eax, dword [ecx + 8]
push eax
jmp 0x5293b8
cmp ecx, 9
jne 0x528666
push eax
mov eax, dword [ebp + 8]
lea ecx, [eax + 0x58]
push ecx
push eax
mov ecx, ebx
call fcn.00529da0
mov eax, dword [esi]
push 0xc
mov dword [esp + 0x10], eax
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], ecx
call fcn.005b449a
mov ecx, dword [esp + 0x10]
add esp, 4
jmp 0x5293ad
cmp ecx, 0xa
jne 0x52869f
push eax
mov eax, dword [ebp + 8]
add eax, 0x58
mov ecx, ebx
push eax
call fcn.00529dd0
mov eax, dword [esi]
push 0xc
mov dword [esp + 0x10], eax
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], ecx
call fcn.005b449a
mov ecx, dword [esp + 0x10]
add esp, 4
jmp 0x5293ad
cmp ecx, 0xd
jne 0x5286e4
push eax
mov eax, dword [ebp + 8]
add eax, 0x58
mov ecx, ebx
push eax
call fcn.00529e00
mov eax, dword [esi]
push 0xc
mov dword [esp + 0x10], eax
fld qword [eax + 0x14]
fchs
fstp qword [eax + 0x14]
fld qword [eax + 0x1c]
fchs
fstp qword [eax + 0x1c]
fld qword [eax + 0x24]
fchs
fstp qword [eax + 0x24]
call fcn.005b449a
mov ecx, dword [esp + 0x10]
add esp, 4
jmp 0x5293ad
cmp ecx, 0xe
jne 0x528796
push eax
mov eax, dword [ebp + 8]
add eax, 0x58
mov ecx, ebx
push eax
call fcn.00529ea0
mov eax, dword [esi]
push 0xc
mov dword [esp + 0x10], eax
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
fld qword [eax + 0x10]
mov dword [esp + 0x3c], ecx
mov ecx, dword [eax + 0x20]
mov dword [esp + 0x40], edx
mov edx, dword [eax + 0x24]
mov dword [esp + 0x44], ecx
mov ecx, dword [eax + 0x28]
mov dword [esp + 0x48], edx
mov edx, dword [eax + 0x2c]
mov dword [esp + 0x4c], ecx
mov dword [eax + 0x10], edx
mov ecx, dword [eax + 0x30]
mov dword [eax + 0x14], ecx
mov edx, dword [eax + 0x34]
mov dword [eax + 0x18], edx
mov ecx, dword [eax + 0x38]
mov dword [eax + 0x1c], ecx
mov edx, dword [eax + 0x3c]
mov dword [eax + 0x20], edx
mov ecx, dword [eax + 0x40]
mov dword [eax + 0x24], ecx
mov edx, dword [eax + 0x44]
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0x28], edx
fstp qword [eax + 0x2c]
mov edx, dword [esp + 0x40]
mov dword [eax + 0x34], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 0x38], edx
mov edx, dword [esp + 0x48]
mov dword [eax + 0x3c], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 0x40], edx
mov dword [eax + 0x44], ecx
call fcn.005b449a
mov edx, dword [esp + 0x10]
add esp, 4
lea ecx, [ebx + 0xc]
mov dword [eax + 8], edx
push eax
mov eax, dword [ecx + 8]
push eax
jmp 0x5293b8
cmp ecx, 0xf
jne 0x5287d4
mov ecx, dword [ebp + 8]
push eax
add ecx, 0x58
push ecx
mov ecx, ebx
call fcn.00529ec0
mov eax, dword [esi]
push 0xc
mov dword [esp + 0x10], eax
mov dword [eax], 0x10
call fcn.005b449a
mov edx, dword [esp + 0x10]
add esp, 4
lea ecx, [ebx + 0xc]
mov dword [eax + 8], edx
push eax
mov eax, dword [ecx + 8]
push eax
jmp 0x5293b8
cmp ecx, 0x10
jne 0x528812
mov ecx, dword [ebp + 8]
push eax
add ecx, 0x58
push ecx
mov ecx, ebx
call fcn.00529ee0
mov eax, dword [esi]
push 0xc
mov dword [esp + 0x10], eax
mov dword [eax], 0xf
call fcn.005b449a
mov edx, dword [esp + 0x10]
add esp, 4
lea ecx, [ebx + 0xc]
mov dword [eax + 8], edx
push eax
mov eax, dword [ecx + 8]
push eax
jmp 0x5293b8
cmp ecx, 0x11
jne 0x528915
mov esi, dword [esp + 0x10]
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0x2710
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 0
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], 0
mov edx, dword [esi + 0xc]
lea ecx, [esp + 0xcc]
push ecx
mov ecx, dword [edx]
call fcn.0057a430
mov eax, dword [ebp + 8]
push esi
add eax, 0x58
mov ecx, ebx
push eax
call fcn.00529f00
lea edi, [esi + 0x10]
mov ecx, 0xd
lea esi, [esp + 0xcc]
rep movsd dword es:[edi], dword [esi]
push 0xc
lea esi, [ebx + 0xc]
call fcn.005b449a
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [eax + 8], ecx
mov edx, dword [esi + 8]
push eax
push edx
mov ecx, esi
call fcn.004e84b0
mov eax, dword [esp + 0xc]
lea ecx, [ebx + 0x20]
lea esi, [eax - 8]
push esi
call fcn.0052a730
jmp 0x5296e9
cmp ecx, 0x12
jne 0x5289db
mov esi, dword [esp + 0x10]
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0x2710
mov dword [esp + 0xb8], 5
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0x54442d18
mov dword [esp + 0xc8], 0x3ff921fb
mov edx, dword [esi + 0xc]
lea ecx, [esp + 0x9c]
push ecx
mov ecx, dword [edx]
call fcn.0057d1b0
mov eax, dword [ebp + 8]
push esi
add eax, 0x58
mov ecx, ebx
push eax
call fcn.00529f20
lea edi, [esi + 0x10]
mov ecx, 0xc
lea esi, [esp + 0x9c]
jmp 0x5288de
cmp ecx, 0x13
jne 0x528ae3
mov esi, dword [esp + 0x10]
mov dword [esp + 0x138], 0
mov dword [esp + 0x13c], 0
mov dword [esp + 0x140], 0
mov dword [esp + 0x144], 0
mov dword [esp + 0x148], 0
mov dword [esp + 0x14c], 0
mov dword [esp + 0x150], 0x2710
mov dword [esp + 0x154], 0
mov dword [esp + 0x158], 0
mov dword [esp + 0x15c], 0
mov dword [esp + 0x160], 0
mov dword [esp + 0x164], 0
mov dword [esp + 0x168], 0
mov dword [esp + 0x16c], 0x54442d18
mov dword [esp + 0x170], 0x3fe921fb
mov dword [esp + 0x174], 0xbeccb2bb
mov dword [esp + 0x178], 0x401c463a
mov dword [esp + 0x17c], 0
mov edx, dword [esi + 0xc]
lea ecx, [esp + 0x138]
push ecx
mov ecx, dword [edx]
call fcn.005762f0
mov eax, dword [ebp + 8]
push esi
add eax, 0x58
mov ecx, ebx
push eax
call fcn.00529f40
lea edi, [esi + 0x10]
mov ecx, 0x12
lea esi, [esp + 0x138]
jmp 0x5288de
cmp ecx, 0x14
jne 0x528d08
lea esi, [esp + 0xcd4]
mov edi, 4
mov ecx, esi
call fcn.0043e490
add esi, 0x1c
dec edi
jne 0x528af8
lea ecx, [esp + 0xd44]
call fcn.0043e490
xor edx, edx
mov ecx, 0x200
xor eax, eax
lea edi, [esp + 0x2cc]
mov dword [esp + 0xdbc], edx
mov dword [esp + 0xdc0], edx
mov dword [esp + 0xdc4], edx
mov dword [esp + 0xdcc], edx
mov dword [esp + 0xdd0], edx
mov dword [esp + 0xdd4], edx
mov dword [esp + 0xdc8], edx
mov esi, dword [esp + 0x10]
rep stosd dword es:[edi], eax
mov ecx, 0x82
lea edi, [esp + 0xacc]
rep stosd dword es:[edi], eax
mov ecx, 0x17
lea edi, [esp + 0xd60]
rep stosd dword es:[edi], eax
mov byte [esp + 0xd74], al
mov byte [esp + 0xd75], al
mov byte [esp + 0xd76], al
mov byte [esp + 0xd7b], al
mov eax, 0x72
mov ecx, 0x65
mov dword [esp + 0xd60], 0xffffffe2
mov dword [esp + 0xd64], edx
mov dword [esp + 0xd68], edx
mov dword [esp + 0xd6c], edx
mov dword [esp + 0xd70], 0x190
mov byte [esp + 0xd77], 1
mov byte [esp + 0xd78], 3
mov byte [esp + 0xd79], 2
mov byte [esp + 0xd7a], 1
mov word [esp + 0xd7c], 0x43
mov word [esp + 0xd7e], 0x6f
mov word [esp + 0xd80], 0x75
mov word [esp + 0xd82], ax
mov word [esp + 0xd84], 0x69
mov word [esp + 0xd86], cx
mov word [esp + 0xd88], ax
mov word [esp + 0xd8a], 0x20
mov word [esp + 0xd8c], 0x4e
mov word [esp + 0xd8e], cx
mov word [esp + 0xd90], 0x77
mov word [esp + 0xd92], dx
mov dword [esp + 0xcd4], edx
mov dword [esp + 0xcd8], edx
mov dword [esp + 0xcdc], edx
mov dword [esp + 0xce0], edx
mov dword [esp + 0xcf0], edx
mov dword [esp + 0xcf4], 0x40bf0100
mov dword [esp + 0xcf8], edx
mov dword [esp + 0xcfc], edx
mov dword [esp + 0xd0c], edx
mov dword [esp + 0xd10], 0x40bf0100
mov dword [esp + 0xd14], edx
mov dword [esp + 0xd18], 0x40bf0100
mov dword [esp + 0xd28], edx
mov dword [esp + 0xd2c], edx
mov dword [esp + 0xd30], edx
mov dword [esp + 0xd34], 0x40bf0100
mov edx, dword [esi + 0xc]
lea ecx, [esp + 0x2cc]
push ecx
mov ecx, dword [edx]
call fcn.005807b0
mov eax, dword [ebp + 8]
push esi
add eax, 0x58
mov ecx, ebx
push eax
call fcn.00529f60
lea edi, [esi + 0x10]
mov ecx, 0x2c3
lea esi, [esp + 0x2cc]
jmp 0x5288de
cmp ecx, 0x15
jne 0x528e0d
mov esi, dword [esp + 0x10]
xor eax, eax
mov dword [esp + 0x254], 0
mov dword [esp + 0x258], 0
mov dword [esp + 0x25c], 0
mov dword [esp + 0x260], 0
mov dword [esp + 0x264], 0
mov dword [esp + 0x268], 0
mov dword [esp + 0x26c], 0x2710
mov dword [esp + 0x270], 0x100
mov dword [esp + 0x274], 1
mov dword [esp + 0x278], 0
mov dword [esp + 0x27c], 0x40490000
mov dword [esp + 0x280], 0
mov dword [esp + 0x284], 0x40490000
mov dword [esp + 0x288], 0
mov dword [esp + 0x28c], 0
mov dword [esp + 0x290], eax
mov dword [esp + 0x294], eax
mov dword [esp + 0x298], eax
mov dword [esp + 0x29c], eax
mov edx, dword [esi + 0xc]
lea ecx, [esp + 0x254]
push ecx
mov ecx, dword [edx]
call fcn.00541a60
mov eax, dword [ebp + 8]
push esi
add eax, 0x58
mov ecx, ebx
push eax
call fcn.00529f80
lea edi, [esi + 0x10]
mov ecx, 0x1e
lea esi, [esp + 0x254]
jmp 0x5288de
cmp ecx, 0x16
jne 0x528e6d
mov esi, dword [esp + 0x10]
mov dword [esp + 0x4c], 1
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0x407fc000
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov edx, dword [esi + 0xc]
lea ecx, [esp + 0x4c]
push ecx
mov ecx, dword [edx]
call fcn.0058b370
mov eax, dword [ebp + 8]
push esi
add eax, 0x58
mov ecx, ebx
push eax
call fcn.00529fa0
lea edi, [esi + 0x10]
mov ecx, 5
lea esi, [esp + 0x4c]
jmp 0x5288de
cmp ecx, 0x23
jne 0x528fd0
mov esi, dword [esp + 0x10]
xor eax, eax
mov ecx, 1
mov dword [esp + 0x1cc], eax
mov dword [esp + 0x1d0], ecx
mov dword [esp + 0x1d4], eax
mov dword [esp + 0x1d8], 0x408fc000
mov dword [esp + 0x1dc], eax
mov dword [esp + 0x1e0], 0x40590000
mov dword [esp + 0x1e4], eax
mov dword [esp + 0x1e8], 0x40590000
mov dword [esp + 0x1ec], eax
mov dword [esp + 0x1f0], eax
mov dword [esp + 0x1f4], eax
mov dword [esp + 0x1f8], eax
mov dword [esp + 0x1fc], eax
mov dword [esp + 0x200], 0x408f4000
mov dword [esp + 0x204], eax
mov dword [esp + 0x208], 0x40590000
mov dword [esp + 0x20c], eax
mov dword [esp + 0x210], 0x408f4000
mov dword [esp + 0x214], eax
mov dword [esp + 0x218], 0x40590000
mov dword [esp + 0x21c], eax
mov dword [esp + 0x220], 0x408f4000
mov dword [esp + 0x224], eax
mov dword [esp + 0x228], 0x40590000
mov dword [esp + 0x22c], eax
mov dword [esp + 0x230], 0x408f4000
mov dword [esp + 0x234], eax
mov dword [esp + 0x238], 0x40590000
mov dword [esp + 0x23c], eax
mov dword [esp + 0x240], eax
mov dword [esp + 0x244], eax
mov dword [esp + 0x248], eax
mov dword [esp + 0x24c], ecx
mov dword [esp + 0x250], eax
mov edx, dword [esi + 0xc]
lea ecx, [esp + 0x1cc]
push ecx
mov ecx, dword [edx]
call fcn.00591820
mov eax, dword [ebp + 8]
push esi
add eax, 0x58
mov ecx, ebx
push eax
call fcn.00529fc0
lea edi, [esi + 0x10]
mov ecx, 0x22
lea esi, [esp + 0x1cc]
jmp 0x5288de
cmp ecx, 0x1b
jne 0x5290be
mov esi, dword [esp + 0x10]
mov eax, 1
mov dword [esp + 0x180], eax
mov dword [esp + 0x184], eax
xor eax, eax
mov dword [esp + 0x188], 0
mov dword [esp + 0x18c], 0
mov dword [esp + 0x190], 0
mov dword [esp + 0x194], 0
mov dword [esp + 0x198], 0
mov dword [esp + 0x19c], 0
mov dword [esp + 0x1a0], 0
mov dword [esp + 0x1a4], 0
mov dword [esp + 0x1a8], eax
mov dword [esp + 0x1ac], eax
mov dword [esp + 0x1b0], eax
mov dword [esp + 0x1b4], eax
mov dword [esp + 0x1b8], eax
mov dword [esp + 0x1bc], eax
mov dword [esp + 0x1c0], eax
mov dword [esp + 0x1c4], eax
mov dword [esp + 0x1c8], eax
mov edx, dword [esi + 0xc]
lea ecx, [esp + 0x180]
push ecx
mov ecx, dword [edx]
call fcn.00587230
mov eax, dword [ebp + 8]
push esi
add eax, 0x58
mov ecx, ebx
push eax
call fcn.00529fe0
lea edi, [esi + 0x10]
mov ecx, 0x13
lea esi, [esp + 0x180]
jmp 0x5288de
cmp ecx, 0x27
jne 0x52912e
mov esi, dword [esp + 0x10]
mov dword [esp + 0x60], 3
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0x408f4000
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0x408f4000
mov dword [esp + 0x74], 0xf4240
mov dword [esp + 0x78], 1
mov edx, dword [esi + 0xc]
lea ecx, [esp + 0x60]
push ecx
mov ecx, dword [edx]
call fcn.005653b0
mov eax, dword [ebp + 8]
push esi
add eax, 0x58
mov ecx, ebx
push eax
call fcn.0052a020
lea edi, [esi + 0x10]
mov ecx, 7
lea esi, [esp + 0x60]
jmp 0x5288de
cmp ecx, 0x28
jne 0x5291bf
mov esi, dword [esp + 0x10]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0x2710
mov dword [esp + 0x98], 0
mov edx, dword [esi + 0xc]
lea ecx, [esp + 0x7c]
push ecx
mov ecx, dword [edx]
call fcn.00568690
mov eax, dword [ebp + 8]
push esi
add eax, 0x58
mov ecx, ebx
push eax
call fcn.0052a000
lea edi, [esi + 0x10]
mov ecx, 8
lea esi, [esp + 0x7c]
jmp 0x5288de
cmp ecx, 0x17
jne 0x52921c
mov ecx, dword [eax + 0xc]
mov ecx, dword [ecx]
call fcn.00549f70
mov edx, dword [esi]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 8]
push edx
lea ecx, [eax + 0x58]
push ecx
push eax
mov ecx, ebx
call fcn.0052a040
mov eax, dword [esi]
mov edx, dword [esp + 0xc]
push 0xc
mov dword [esp + 0x14], eax
mov dword [eax + 0x10], edx
mov edx, dword [eax + 0x20]
mov ecx, dword [eax + 0x18]
mov dword [eax + 0x18], edx
mov dword [eax + 0x20], ecx
mov edx, dword [eax + 0x24]
mov ecx, dword [eax + 0x1c]
mov dword [eax + 0x1c], edx
mov dword [eax + 0x24], ecx
call fcn.005b449a
mov ecx, dword [esp + 0x14]
add esp, 4
jmp 0x5293ad
cmp ecx, 0x18
jne 0x52924a
push eax
mov eax, dword [ebp + 8]
lea ecx, [eax + 0x58]
push ecx
push eax
mov ecx, ebx
call fcn.0052a0c0
mov edx, dword [esi]
push 0xc
mov dword [esp + 0x10], edx
call fcn.005b449a
mov ecx, dword [esp + 0x10]
add esp, 4
jmp 0x5293ad
cmp ecx, 0x19
jne 0x529282
push eax
mov eax, dword [ebp + 8]
add eax, 0x58
mov ecx, ebx
push eax
call fcn.0052a140
mov ecx, dword [esi]
push 0xc
mov dword [esp + 0x10], ecx
call fcn.005b449a
mov edx, dword [esp + 0x10]
add esp, 4
lea ecx, [ebx + 0xc]
mov dword [eax + 8], edx
push eax
mov eax, dword [ecx + 8]
push eax
jmp 0x5293b8
cmp ecx, 0x1a
jne 0x5292e3
mov ecx, dword [eax + 0xc]
mov ecx, dword [ecx]
call fcn.005655a0
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
mov eax, dword [esi]
add ecx, 0x58
push eax
push ecx
mov ecx, ebx
mov dword [esp + 0x14], edx
call fcn.0052a160
mov eax, dword [esi]
mov edx, dword [esp + 0xc]
push 0xc
mov dword [esp + 0x14], eax
mov dword [eax + 0x10], edx
call fcn.005b449a
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [eax + 8], ecx
mov edx, dword [ebx + 0x14]
lea ecx, [ebx + 0xc]
push eax
push edx
call fcn.004e84b0
add esi, 0xfffffff8
mov ecx, edi
push esi
call fcn.0052a730
jmp 0x5296e9
cmp ecx, 0x1c
jne 0x529331
push eax
mov eax, dword [ebp + 8]
add eax, 0x58
mov ecx, ebx
push eax
call fcn.0052a180
mov eax, dword [esi]
push 0xc
mov dword [esp + 0x10], eax
mov dword [eax], 0x1d
call fcn.005b449a
mov ecx, dword [esp + 0x10]
add esp, 4
mov dword [eax + 8], ecx
mov edx, dword [ebx + 0x14]
lea ecx, [ebx + 0xc]
push eax
push edx
call fcn.004e84b0
add esi, 0xfffffff8
mov ecx, edi
push esi
call fcn.0052a730
jmp 0x5296e9
cmp ecx, 0x1d
jne 0x52937f
push eax
mov eax, dword [ebp + 8]
add eax, 0x58
mov ecx, ebx
push eax
call fcn.0052a1a0
mov eax, dword [esi]
push 0xc
mov dword [esp + 0x10], eax
mov dword [eax], 0x1c
call fcn.005b449a
mov ecx, dword [esp + 0x10]
add esp, 4
mov dword [eax + 8], ecx
mov edx, dword [ebx + 0x14]
lea ecx, [ebx + 0xc]
push eax
push edx
call fcn.004e84b0
add esi, 0xfffffff8
mov ecx, edi
push esi
call fcn.0052a730
jmp 0x5296e9
cmp ecx, 0x24
jne 0x5293cd
push eax
mov eax, dword [ebp + 8]
add eax, 0x58
mov ecx, ebx
push eax
call fcn.0052a1c0
mov eax, dword [esi]
push 0xc
mov dword [esp + 0x10], eax
mov dword [eax], 0x25
call fcn.005b449a
mov ecx, dword [esp + 0x10]
add esp, 4
mov dword [eax + 8], ecx
mov edx, dword [ebx + 0x14]
lea ecx, [ebx + 0xc]
push eax
push edx
call fcn.004e84b0
add esi, 0xfffffff8
mov ecx, edi
push esi
call fcn.0052a730
jmp 0x5296e9
cmp ecx, 0x25
jne 0x529423
push eax
mov eax, dword [ebp + 8]
add eax, 0x58
mov ecx, ebx
push eax
call fcn.0052a210
mov eax, dword [esi]
push 0xc
mov dword [esp + 0x10], eax
mov dword [eax], 0x24
call fcn.005b449a
mov ecx, dword [esp + 0x10]
add esp, 4
jmp 0x529629
mov edx, dword [eax + 4]
mov dword [edi + 4], edx
mov eax, dword [edi + 8]
cmp esi, eax
je 0x529419
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov dword [eax], ecx
jmp 0x5296d7
mov edx, dword [eax]
mov dword [edi + 8], edx
jmp 0x5296d7
cmp ecx, 0x1e
jne 0x529456
push eax
mov eax, dword [ebp + 8]
add eax, 0x58
mov ecx, ebx
push eax
call fcn.0052a250
mov eax, dword [esi]
push 0xc
mov dword [esp + 0x10], eax
mov dword [eax], 0x1f
call fcn.005b449a
mov ecx, dword [esp + 0x10]
add esp, 4
jmp 0x529629
cmp ecx, 0x1f
jne 0x529489
push eax
mov eax, dword [ebp + 8]
add eax, 0x58
mov ecx, ebx
push eax
call fcn.0052a280
mov eax, dword [esi]
push 0xc
mov dword [esp + 0x10], eax
mov dword [eax], 0x1e
call fcn.005b449a
mov ecx, dword [esp + 0x10]
add esp, 4
jmp 0x529629
cmp ecx, 0x20
jne 0x5294b7
push eax
mov eax, dword [ebp + 8]
lea ecx, [eax + 0x58]
push ecx
push eax
mov ecx, ebx
call fcn.0052a2b0
mov edx, dword [esi]
push 0xc
mov dword [esp + 0x10], edx
call fcn.005b449a
mov ecx, dword [esp + 0x10]
add esp, 4
jmp 0x529629
cmp ecx, 0x21
jne 0x5295ef
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x100]
push edx
mov ecx, dword [eax + 0xc]
xor eax, eax
mov ecx, dword [ecx]
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
mov dword [esp + 0x10c], 0
mov dword [esp + 0x110], 0
mov dword [esp + 0x114], 0
mov dword [esp + 0x118], 0
mov dword [esp + 0x11c], eax
mov dword [esp + 0x120], eax
mov dword [esp + 0x124], 1
mov dword [esp + 0x128], eax
mov dword [esp + 0x12c], eax
mov dword [esp + 0x130], eax
mov dword [esp + 0x134], eax
mov dword [esp + 0x138], eax
call fcn.00565510
mov esi, dword [esp + 0xc]
mov ecx, dword [ebp + 8]
add ecx, 0x58
mov eax, dword [esi]
push eax
push ecx
mov ecx, ebx
call fcn.0052a310
mov esi, dword [esi]
mov ecx, 0xe
mov dword [esp + 0x10], esi
push 0xc
lea edi, [esi + 0x10]
lea esi, [esp + 0x104]
rep movsd dword es:[edi], dword [esi]
lea esi, [ebx + 0xc]
call fcn.005b449a
mov edx, dword [esp + 0x14]
add esp, 4
mov dword [eax + 8], edx
mov ecx, esi
push eax
mov eax, dword [esi + 8]
push eax
call fcn.004e84b0
mov ecx, dword [esp + 0xc]
lea eax, [ecx - 8]
mov ecx, dword [ebx + 0x24]
cmp eax, ecx
je 0x5295ba
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
jmp 0x5295c0
mov edx, dword [ecx + 4]
mov dword [ebx + 0x24], edx
mov ecx, dword [ebx + 0x28]
cmp eax, ecx
je 0x5295d0
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov dword [ecx], edx
jmp 0x5295d5
mov ecx, dword [ecx]
mov dword [ebx + 0x28], ecx
mov edx, dword [ebx + 0x20]
push eax
dec edx
mov dword [ebx + 0x20], edx
mov dword [eax + 4], 0
mov dword [eax], 0
jmp 0x5296ea
cmp ecx, 0x22
jne 0x529654
mov edx, dword [ebp + 8]
push eax
add edx, 0x58
mov ecx, ebx
push edx
call fcn.0052a330
mov eax, dword [esi]
push 0xc
mov dword [esp + 0x10], eax
mov ecx, dword [eax + 0x18]
fld qword [eax + 0x10]
mov dword [eax + 0x10], ecx
mov edx, dword [eax + 0x1c]
mov dword [eax + 0x14], edx
fstp qword [eax + 0x18]
call fcn.005b449a
mov ecx, dword [esp + 0x10]
add esp, 4
mov dword [eax + 8], ecx
mov edx, dword [ebx + 0x14]
lea ecx, [ebx + 0xc]
push eax
push edx
call fcn.004e84b0
mov eax, dword [edi + 4]
add esi, 0xfffffff8
cmp esi, eax
je 0x529400
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [eax + 4], ecx
jmp 0x529406
cmp ecx, 0x26
jne 0x5296f2
mov eax, dword [ebp + 8]
lea ecx, [eax + 0x58]
call fcn.0054a8e0
mov edx, dword [ebp + 8]
mov ecx, dword [esi]
mov dword [esp + 0xc], eax
push ecx
lea eax, [edx + 0x58]
mov ecx, ebx
push eax
call fcn.0052a3a0
mov eax, dword [esi]
mov ecx, dword [esp + 0xc]
push 0xc
mov dword [esp + 0x14], eax
mov dword [eax + 0x10], ecx
call fcn.005b449a
mov edx, dword [esp + 0x14]
add esp, 4
lea ecx, [ebx + 0xc]
mov dword [eax + 8], edx
push eax
mov eax, dword [ecx + 8]
push eax
call fcn.004e84b0
mov eax, dword [edi + 4]
add esi, 0xfffffff8
cmp esi, eax
je 0x5296bc
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov dword [ecx + 4], edx
jmp 0x5296c2
mov eax, dword [eax + 4]
mov dword [edi + 4], eax
mov eax, dword [edi + 8]
cmp esi, eax
je 0x5296d2
mov ecx, dword [esi + 4]
mov edx, dword [esi]
mov dword [ecx], edx
jmp 0x5296d7
mov eax, dword [eax]
mov dword [edi + 8], eax
mov edx, dword [edi]
dec edx
mov dword [edi], edx
mov dword [esi + 4], 0
mov dword [esi], 0
push esi
call fcn.005b44c3
add esp, 4
mov esi, dword [ebx + 0x28]
lea edi, [ebx + 0x20]
test esi, esi
je 0x529714
add esi, 8
test esi, esi
mov dword [esp + 0xc], esi
je 0x529714
mov ecx, dword [esi]
mov eax, dword [ecx + 4]
test eax, eax
je 0x52831b
mov ecx, dword [ebx + 8]
dec ecx
mov dword [ebx + 8], ecx
mov eax, dword [ebx + 4]
inc eax
mov dword [ebx + 4], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4