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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xdd4
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], edi
call fcn.00526d40
test eax, eax
je 0x5282cf
mov esi, dword [edi + 0x14]
test esi, esi
je 0x5282c1
add esi, 8
test esi, esi
mov dword [esp + 0x14], esi
je 0x5282c1
mov ebx, dword [esi]
mov eax, dword [ebx + 4]
mov dword [esp + 0x18], eax
mov eax, dword [ebx]
cmp eax, 3
jne 0x52701a
mov ecx, dword [ebp + 8]
push ebx
add ecx, 0x58
push ecx
mov ecx, edi
call fcn.00529730
mov ebx, dword [esi]
fld qword [ebx + 0x10]
fchs
fstp qword [ebx + 0x10]
fld qword [ebx + 0x18]
fchs
fstp qword [ebx + 0x18]
fld qword [ebx + 0x20]
fchs
fstp qword [ebx + 0x20]
jmp 0x527f4a
cmp eax, 4
jne 0x52703d
mov eax, dword [ebp + 8]
push ebx
add eax, 0x58
mov ecx, edi
push eax
call fcn.00529760
mov ebx, dword [esi]
fld qword [ebx + 0x2c]
fchs
fstp qword [ebx + 0x2c]
jmp 0x527f4a
cmp eax, 5
jne 0x527070
mov eax, dword [ebp + 8]
push ebx
add eax, 0x58
mov ecx, edi
push eax
call fcn.005297a0
mov ebx, dword [esi]
fld qword [ebx + 0x2c]
fchs
fstp qword [ebx + 0x2c]
fld qword [ebx + 0x34]
fchs
fstp qword [ebx + 0x34]
fld qword [ebx + 0x3c]
fchs
fstp qword [ebx + 0x3c]
jmp 0x527f4a
cmp eax, 7
jne 0x5270af
mov eax, dword [ebp + 8]
push ebx
add eax, 0x58
mov ecx, edi
push eax
call fcn.005297e0
mov ebx, dword [esi]
fld qword [0x5e7c10]
fdiv qword [ebx + 0x2c]
fstp qword [ebx + 0x2c]
fld qword [0x5e7c10]
fdiv qword [ebx + 0x34]
fstp qword [ebx + 0x34]
fld qword [0x5e7c10]
fdiv qword [ebx + 0x3c]
fstp qword [ebx + 0x3c]
jmp 0x527f4a
cmp eax, 6
jne 0x5270e9
mov eax, dword [ebp + 8]
push ebx
add eax, 0x58
mov ecx, edi
push eax
call fcn.00529820
mov ecx, dword [esi]
push 0xc
mov dword [esp + 0x18], ecx
lea ebx, [edi + 0x20]
call fcn.005b449a
mov edx, dword [esp + 0x18]
add esp, 4
mov dword [eax + 8], edx
mov ecx, ebx
push eax
mov eax, dword [ebx + 8]
push eax
jmp 0x527f5f
cmp eax, 1
jne 0x52710b
mov eax, dword [ebp + 8]
push ebx
lea ecx, [eax + 0x58]
push ecx
push eax
mov ecx, edi
call fcn.00529860
mov ebx, dword [esi]
mov dword [ebx], 2
jmp 0x527f4a
cmp eax, 2
jne 0x52712d
mov eax, dword [ebp + 8]
push ebx
lea ecx, [eax + 0x58]
push ecx
push eax
mov ecx, edi
call fcn.005298a0
mov ebx, dword [esi]
mov dword [ebx], 1
jmp 0x527f4a
cmp eax, 0xc
jne 0x527175
mov eax, dword [ebp + 8]
push ebx
add eax, 0x58
mov ecx, edi
push eax
call fcn.005298d0
mov ebx, dword [esi]
push 0xc
mov edx, dword [ebx + 0x18]
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 0x14]
mov dword [ebx + 0x10], edx
mov edx, dword [ebx + 0x1c]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x14], edx
mov dword [ebx + 0x1c], ecx
call fcn.005b449a
add esp, 4
lea ecx, [edi + 0x20]
mov dword [eax + 8], ebx
push eax
mov eax, dword [ecx + 8]
push eax
jmp 0x527f5f
cmp eax, 0xb
jne 0x5271b1
mov ecx, dword [ebp + 8]
push ebx
add ecx, 0x58
push ecx
mov ecx, edi
call fcn.005299e0
mov ebx, dword [esi]
mov edx, dword [ebx + 0x14]
mov eax, dword [ebx + 0x10]
mov dword [ebx + 0x10], edx
mov dword [ebx + 0x14], eax
push 0xc
call fcn.005b449a
add esp, 4
lea ecx, [edi + 0x20]
mov dword [eax + 8], ebx
push eax
mov eax, dword [ecx + 8]
push eax
jmp 0x527f5f
cmp eax, 8
jne 0x527256
mov ecx, dword [ebp + 8]
push ebx
add ecx, 0x58
push ecx
mov ecx, edi
call fcn.00529d80
mov ebx, dword [esi]
mov edx, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x20]
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0x12c], edx
mov edx, dword [ebx + 0x24]
mov dword [esp + 0x134], ecx
mov ecx, dword [ebx + 0x2c]
mov dword [esp + 0x130], eax
fld qword [ebx + 0x10]
mov eax, dword [ebx + 0x28]
mov dword [esp + 0x138], edx
mov dword [ebx + 0x10], ecx
mov edx, dword [ebx + 0x30]
mov dword [ebx + 0x14], edx
mov ecx, dword [ebx + 0x34]
mov dword [ebx + 0x18], ecx
mov edx, dword [ebx + 0x38]
mov dword [ebx + 0x1c], edx
mov ecx, dword [ebx + 0x3c]
mov dword [ebx + 0x20], ecx
mov edx, dword [ebx + 0x40]
mov dword [ebx + 0x24], edx
mov ecx, dword [ebx + 0x44]
mov edx, dword [esp + 0x12c]
mov dword [ebx + 0x28], ecx
mov ecx, dword [esp + 0x130]
mov dword [ebx + 0x34], edx
mov edx, dword [esp + 0x134]
mov dword [ebx + 0x38], ecx
mov ecx, dword [esp + 0x138]
mov dword [ebx + 0x3c], edx
fstp qword [ebx + 0x2c]
mov dword [ebx + 0x40], ecx
mov dword [ebx + 0x44], eax
jmp 0x527f4a
cmp eax, 9
jne 0x527270
mov eax, dword [ebp + 8]
push ebx
lea ecx, [eax + 0x58]
push ecx
push eax
mov ecx, edi
call fcn.00529da0
jmp 0x527189
cmp eax, 0xa
jne 0x527289
mov ecx, dword [ebp + 8]
push ebx
add ecx, 0x58
push ecx
mov ecx, edi
call fcn.00529dd0
jmp 0x527189
cmp eax, 0xd
jne 0x5272bc
mov ecx, dword [ebp + 8]
push ebx
add ecx, 0x58
push ecx
mov ecx, edi
call fcn.00529e00
mov ebx, dword [esi]
fld qword [ebx + 0x14]
fchs
fstp qword [ebx + 0x14]
fld qword [ebx + 0x1c]
fchs
fstp qword [ebx + 0x1c]
fld qword [ebx + 0x24]
fchs
fstp qword [ebx + 0x24]
jmp 0x527f4a
cmp eax, 0xe
jne 0x527361
mov eax, dword [ebp + 8]
push ebx
add eax, 0x58
mov ecx, edi
push eax
call fcn.00529ea0
mov ebx, dword [esi]
mov ecx, dword [ebx + 0x18]
mov edx, dword [ebx + 0x1c]
mov eax, dword [ebx + 0x20]
mov dword [esp + 0x110], ecx
mov ecx, dword [ebx + 0x24]
mov dword [esp + 0x114], edx
mov edx, dword [ebx + 0x2c]
mov dword [esp + 0x118], eax
fld qword [ebx + 0x10]
mov eax, dword [ebx + 0x28]
mov dword [esp + 0x11c], ecx
mov dword [ebx + 0x10], edx
mov ecx, dword [ebx + 0x30]
mov dword [ebx + 0x14], ecx
mov edx, dword [ebx + 0x34]
mov dword [ebx + 0x18], edx
mov ecx, dword [ebx + 0x38]
mov dword [ebx + 0x1c], ecx
mov edx, dword [ebx + 0x3c]
mov dword [ebx + 0x20], edx
mov ecx, dword [ebx + 0x40]
mov dword [ebx + 0x24], ecx
mov edx, dword [ebx + 0x44]
mov ecx, dword [esp + 0x110]
mov dword [ebx + 0x28], edx
fstp qword [ebx + 0x2c]
mov edx, dword [esp + 0x114]
mov dword [ebx + 0x34], ecx
mov ecx, dword [esp + 0x118]
mov dword [ebx + 0x38], edx
mov edx, dword [esp + 0x11c]
mov dword [ebx + 0x3c], ecx
mov dword [ebx + 0x40], edx
mov dword [ebx + 0x44], eax
jmp 0x527197
cmp eax, 0xf
jne 0x527382
mov ecx, dword [ebp + 8]
push ebx
add ecx, 0x58
push ecx
mov ecx, edi
call fcn.00529ec0
mov ebx, dword [esi]
mov dword [ebx], 0x10
jmp 0x527f4a
cmp eax, 0x10
jne 0x5273a3
mov eax, dword [ebp + 8]
push ebx
add eax, 0x58
mov ecx, edi
push eax
call fcn.00529ee0
mov ebx, dword [esi]
mov dword [ebx], 0xf
jmp 0x527f4a
cmp eax, 0x11
jne 0x527472
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], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
mov ecx, dword [ebx + 0xc]
lea eax, [esp + 0x9c]
mov ecx, dword [ecx]
push eax
call fcn.0057a430
mov edx, dword [ebp + 8]
mov ecx, dword [esp + 0x10]
add edx, 0x58
push ebx
push edx
call fcn.00529f00
lea edi, [ebx + 0x10]
mov ecx, 0xd
lea esi, [esp + 0x9c]
jmp 0x527d68
cmp eax, 0x12
jne 0x52754a
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0x2710
mov dword [esp + 0x88], 5
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0x54442d18
mov dword [esp + 0x98], 0x3ff921fb
mov eax, dword [ebx + 0xc]
lea edx, [esp + 0x6c]
push edx
mov ecx, dword [eax]
call fcn.0057d1b0
mov ecx, dword [ebp + 8]
push ebx
add ecx, 0x58
push ecx
mov ecx, dword [esp + 0x18]
call fcn.00529f20
lea edi, [ebx + 0x10]
mov ecx, 0xc
lea esi, [esp + 0x6c]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x10]
push 0xc
lea edi, [esi + 0x20]
call fcn.005b449a
add esp, 4
mov dword [eax + 8], ebx
mov edx, dword [edi + 8]
mov ecx, edi
push eax
push edx
call fcn.004e84b0
mov eax, dword [esp + 0x14]
lea edi, [eax - 8]
jmp 0x527d91
cmp eax, 0x13
jne 0x527679
mov dword [esp + 0x140], 0
mov dword [esp + 0x144], 0
mov dword [esp + 0x148], 0
mov dword [esp + 0x14c], 0
mov dword [esp + 0x150], 0
mov dword [esp + 0x154], 0
mov dword [esp + 0x158], 0x2710
mov dword [esp + 0x15c], 0
mov dword [esp + 0x160], 0
mov dword [esp + 0x164], 0
mov dword [esp + 0x168], 0
mov dword [esp + 0x16c], 0
mov dword [esp + 0x170], 0
mov dword [esp + 0x174], 0x54442d18
mov dword [esp + 0x178], 0x3fe921fb
mov dword [esp + 0x17c], 0xbeccb2bb
mov dword [esp + 0x180], 0x401c463a
mov dword [esp + 0x184], 0
mov edx, dword [ebx + 0xc]
lea ecx, [esp + 0x140]
push ecx
mov ecx, dword [edx]
call fcn.005762f0
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x10]
add eax, 0x58
push ebx
push eax
call fcn.00529f40
lea edi, [ebx + 0x10]
mov ecx, 0x12
lea esi, [esp + 0x140]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x10]
push 0xc
lea edi, [esi + 0x20]
call fcn.005b449a
add esp, 4
mov dword [eax + 8], ebx
mov ecx, dword [edi + 8]
push eax
push ecx
mov ecx, edi
call fcn.004e84b0
mov edx, dword [esp + 0x14]
lea edi, [edx - 8]
jmp 0x527d91
cmp eax, 0x14
jne 0x5278d7
lea esi, [esp + 0xcdc]
mov edi, 4
mov ecx, esi
call fcn.0043e490
add esi, 0x1c
dec edi
jne 0x52768e
lea ecx, [esp + 0xd4c]
call fcn.0043e490
xor edx, edx
mov ecx, 0x200
xor eax, eax
lea edi, [esp + 0x2d4]
mov dword [esp + 0xdc4], edx
mov dword [esp + 0xdc8], edx
mov dword [esp + 0xdcc], edx
mov dword [esp + 0xdd4], edx
mov dword [esp + 0xdd8], edx
mov dword [esp + 0xddc], edx
mov dword [esp + 0xdd0], edx
rep stosd dword es:[edi], eax
mov ecx, 0x82
lea edi, [esp + 0xad4]
rep stosd dword es:[edi], eax
mov ecx, 0x17
lea edi, [esp + 0xd68]
rep stosd dword es:[edi], eax
mov byte [esp + 0xd7c], al
mov byte [esp + 0xd7d], al
mov byte [esp + 0xd7e], al
mov byte [esp + 0xd83], al
mov ecx, 0x72
mov eax, 0x65
mov dword [esp + 0xd68], 0xffffffe2
mov dword [esp + 0xd6c], edx
mov dword [esp + 0xd70], edx
mov dword [esp + 0xd74], edx
mov dword [esp + 0xd78], 0x190
mov byte [esp + 0xd7f], 1
mov byte [esp + 0xd80], 3
mov byte [esp + 0xd81], 2
mov byte [esp + 0xd82], 1
mov word [esp + 0xd84], 0x43
mov word [esp + 0xd86], 0x6f
mov word [esp + 0xd88], 0x75
mov word [esp + 0xd8a], cx
mov word [esp + 0xd8c], 0x69
mov word [esp + 0xd8e], ax
mov word [esp + 0xd90], cx
mov word [esp + 0xd92], 0x20
mov word [esp + 0xd94], 0x4e
mov word [esp + 0xd96], ax
mov word [esp + 0xd98], 0x77
mov word [esp + 0xd9a], dx
mov dword [esp + 0xcdc], edx
mov dword [esp + 0xce0], edx
mov dword [esp + 0xce4], edx
mov dword [esp + 0xce8], edx
mov dword [esp + 0xcf8], edx
mov dword [esp + 0xcfc], 0x40bf0100
mov dword [esp + 0xd00], edx
mov dword [esp + 0xd04], edx
mov dword [esp + 0xd14], edx
mov dword [esp + 0xd18], 0x40bf0100
mov dword [esp + 0xd1c], edx
mov dword [esp + 0xd20], 0x40bf0100
mov dword [esp + 0xd30], edx
mov dword [esp + 0xd34], edx
mov dword [esp + 0xd38], edx
mov dword [esp + 0xd3c], 0x40bf0100
mov ecx, dword [ebx + 0xc]
lea eax, [esp + 0x2d4]
mov ecx, dword [ecx]
push eax
call fcn.005807b0
mov edx, dword [ebp + 8]
mov ecx, dword [esp + 0x10]
add edx, 0x58
push ebx
push edx
call fcn.00529f60
lea edi, [ebx + 0x10]
mov ecx, 0x2c3
lea esi, [esp + 0x2d4]
push 0xc
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x14]
lea esi, [edi + 0x20]
call fcn.005b449a
add esp, 4
mov dword [eax + 8], ebx
mov ecx, esi
push eax
mov eax, dword [esi + 8]
push eax
call fcn.004e84b0
mov ecx, dword [esp + 0x14]
lea esi, [ecx - 8]
lea ecx, [edi + 0xc]
push esi
call fcn.0052a730
push esi
call fcn.005b44c3
add esp, 4
jmp 0x5282a3
cmp eax, 0x15
jne 0x5279da
xor eax, eax
mov dword [esp + 0x25c], 0
mov dword [esp + 0x260], 0
mov dword [esp + 0x264], 0
mov dword [esp + 0x268], 0
mov dword [esp + 0x26c], 0
mov dword [esp + 0x270], 0
mov dword [esp + 0x274], 0x2710
mov dword [esp + 0x278], 0x100
mov dword [esp + 0x27c], 1
mov dword [esp + 0x280], 0
mov dword [esp + 0x284], 0x40490000
mov dword [esp + 0x288], 0
mov dword [esp + 0x28c], 0x40490000
mov dword [esp + 0x290], 0
mov dword [esp + 0x294], 0
mov dword [esp + 0x298], eax
mov dword [esp + 0x29c], eax
mov dword [esp + 0x2a0], eax
mov dword [esp + 0x2a4], eax
mov eax, dword [ebx + 0xc]
lea edx, [esp + 0x25c]
push edx
mov ecx, dword [eax]
call fcn.00541a60
mov ecx, dword [ebp + 8]
push ebx
add ecx, 0x58
push ecx
mov ecx, dword [esp + 0x18]
call fcn.00529f80
lea edi, [ebx + 0x10]
mov ecx, 0x1e
lea esi, [esp + 0x25c]
jmp 0x52751c
cmp eax, 0x16
jne 0x527a38
mov dword [esp + 0x1c], 1
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0x407fc000
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov edx, dword [ebx + 0xc]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [edx]
call fcn.0058b370
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x10]
add eax, 0x58
push ebx
push eax
call fcn.00529fa0
lea edi, [ebx + 0x10]
mov ecx, 5
lea esi, [esp + 0x1c]
jmp 0x52764b
cmp eax, 0x23
jne 0x527b99
xor eax, eax
mov ecx, 1
mov dword [esp + 0x1d4], eax
mov dword [esp + 0x1d8], ecx
mov dword [esp + 0x1dc], eax
mov dword [esp + 0x1e0], 0x408fc000
mov dword [esp + 0x1e4], eax
mov dword [esp + 0x1e8], 0x40590000
mov dword [esp + 0x1ec], eax
mov dword [esp + 0x1f0], 0x40590000
mov dword [esp + 0x1f4], eax
mov dword [esp + 0x1f8], eax
mov dword [esp + 0x1fc], eax
mov dword [esp + 0x200], eax
mov dword [esp + 0x204], eax
mov dword [esp + 0x208], 0x408f4000
mov dword [esp + 0x20c], eax
mov dword [esp + 0x210], 0x40590000
mov dword [esp + 0x214], eax
mov dword [esp + 0x218], 0x408f4000
mov dword [esp + 0x21c], eax
mov dword [esp + 0x220], 0x40590000
mov dword [esp + 0x224], eax
mov dword [esp + 0x228], 0x408f4000
mov dword [esp + 0x22c], eax
mov dword [esp + 0x230], 0x40590000
mov dword [esp + 0x234], eax
mov dword [esp + 0x238], 0x408f4000
mov dword [esp + 0x23c], eax
mov dword [esp + 0x240], 0x40590000
mov dword [esp + 0x244], eax
mov dword [esp + 0x248], eax
mov dword [esp + 0x24c], eax
mov dword [esp + 0x250], eax
mov dword [esp + 0x254], ecx
mov dword [esp + 0x258], eax
mov ecx, dword [ebx + 0xc]
lea eax, [esp + 0x1d4]
push eax
mov ecx, dword [ecx]
call fcn.00591820
mov edx, dword [ebp + 8]
mov ecx, dword [esp + 0x10]
add edx, 0x58
push ebx
push edx
call fcn.00529fc0
lea edi, [ebx + 0x10]
mov ecx, 0x22
lea esi, [esp + 0x1d4]
jmp 0x527d68
cmp eax, 0x1b
jne 0x527c85
mov eax, 1
mov dword [esp + 0x190], 0
mov dword [esp + 0x188], eax
mov dword [esp + 0x18c], eax
xor eax, eax
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], 0
mov dword [esp + 0x1ac], 0
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 dword [esp + 0x1cc], eax
mov dword [esp + 0x1d0], eax
mov eax, dword [ebx + 0xc]
lea edx, [esp + 0x188]
mov ecx, dword [eax]
push edx
call fcn.00587230
mov ecx, dword [ebp + 8]
push ebx
add ecx, 0x58
push ecx
mov ecx, dword [esp + 0x18]
call fcn.00529fe0
lea edi, [ebx + 0x10]
mov ecx, 0x13
lea esi, [esp + 0x188]
jmp 0x52751c
cmp eax, 0x27
jne 0x527cf3
mov dword [esp + 0x30], 3
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0x408f4000
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0x408f4000
mov dword [esp + 0x44], 0xf4240
mov dword [esp + 0x48], 1
mov edx, dword [ebx + 0xc]
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [edx]
call fcn.005653b0
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x10]
add eax, 0x58
push ebx
push eax
call fcn.0052a020
lea edi, [ebx + 0x10]
mov ecx, 7
lea esi, [esp + 0x30]
jmp 0x52764b
cmp eax, 0x28
jne 0x527dac
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0x2710
mov dword [esp + 0x68], 0
mov ecx, dword [ebx + 0xc]
lea eax, [esp + 0x4c]
push eax
mov ecx, dword [ecx]
call fcn.00568690
mov edx, dword [ebp + 8]
mov ecx, dword [esp + 0x10]
add edx, 0x58
push ebx
push edx
call fcn.0052a000
lea edi, [ebx + 0x10]
mov ecx, 8
lea esi, [esp + 0x4c]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x10]
push 0xc
lea edi, [esi + 0x20]
call fcn.005b449a
add esp, 4
mov dword [eax + 8], ebx
mov ecx, edi
push eax
mov eax, dword [edi + 8]
push eax
call fcn.004e84b0
mov ecx, dword [esp + 0x14]
lea edi, [ecx - 8]
push edi
lea ecx, [esi + 0xc]
call fcn.0052a730
push edi
call fcn.005b44c3
mov edi, dword [esp + 0x14]
add esp, 4
jmp 0x5282a3
cmp eax, 0x17
jne 0x527df7
mov edx, dword [ebx + 0xc]
mov ecx, dword [edx]
call fcn.00549f70
mov dword [esp + 0x14], eax
mov eax, dword [esi]
push eax
mov eax, dword [ebp + 8]
lea ecx, [eax + 0x58]
push ecx
push eax
mov ecx, edi
call fcn.0052a040
mov ebx, dword [esi]
mov edx, dword [esp + 0x14]
mov dword [ebx + 0x10], edx
mov ecx, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
mov dword [ebx + 0x18], ecx
mov dword [ebx + 0x20], eax
mov edx, dword [ebx + 0x24]
mov eax, dword [ebx + 0x1c]
mov dword [ebx + 0x1c], edx
mov dword [ebx + 0x24], eax
jmp 0x527197
cmp eax, 0x18
jne 0x527e32
mov eax, dword [ebp + 8]
push ebx
lea ecx, [eax + 0x58]
push ecx
push eax
mov ecx, edi
call fcn.0052a0c0
mov edx, dword [esi]
push 0xc
mov dword [esp + 0x18], edx
lea ebx, [edi + 0x20]
call fcn.005b449a
mov ecx, dword [esp + 0x18]
add esp, 4
mov dword [eax + 8], ecx
mov edx, dword [ebx + 8]
push eax
push edx
mov ecx, ebx
jmp 0x527f5f
cmp eax, 0x19
jne 0x527e6c
mov eax, dword [ebp + 8]
push ebx
add eax, 0x58
mov ecx, edi
push eax
call fcn.0052a140
mov ecx, dword [esi]
push 0xc
mov dword [esp + 0x18], ecx
lea ebx, [edi + 0x20]
call fcn.005b449a
mov edx, dword [esp + 0x18]
add esp, 4
mov dword [eax + 8], edx
mov ecx, ebx
push eax
mov eax, dword [ebx + 8]
push eax
jmp 0x527f5f
cmp eax, 0x1a
jne 0x527ea0
mov ecx, dword [ebx + 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, edi
mov dword [esp + 0x1c], edx
call fcn.0052a160
mov ebx, dword [esi]
mov edx, dword [esp + 0x14]
mov dword [ebx + 0x10], edx
jmp 0x527197
cmp eax, 0x1c
jne 0x527ee7
mov ecx, dword [ebp + 8]
push ebx
add ecx, 0x58
push ecx
mov ecx, edi
call fcn.0052a180
mov ebx, dword [esi]
push 0xc
mov dword [ebx], 0x1d
call fcn.005b449a
lea ecx, [edi + 0x20]
add esp, 4
mov dword [eax + 8], ebx
mov edx, dword [ecx + 8]
push eax
push edx
call fcn.004e84b0
add esi, 0xfffffff8
lea ecx, [edi + 0xc]
push esi
call fcn.0052a730
jmp 0x52829a
cmp eax, 0x1d
jne 0x527f2e
mov eax, dword [ebp + 8]
push ebx
add eax, 0x58
mov ecx, edi
push eax
call fcn.0052a1a0
mov ebx, dword [esi]
push 0xc
mov dword [ebx], 0x1c
call fcn.005b449a
lea ecx, [edi + 0x20]
add esp, 4
mov dword [eax + 8], ebx
mov edx, dword [ecx + 8]
push eax
push edx
call fcn.004e84b0
add esi, 0xfffffff8
lea ecx, [edi + 0xc]
push esi
call fcn.0052a730
jmp 0x52829a
cmp eax, 0x24
jne 0x527f75
mov eax, dword [ebp + 8]
push ebx
add eax, 0x58
mov ecx, edi
push eax
call fcn.0052a1c0
mov ebx, dword [esi]
mov dword [ebx], 0x25
push 0xc
call fcn.005b449a
lea ecx, [edi + 0x20]
add esp, 4
mov dword [eax + 8], ebx
mov edx, dword [ecx + 8]
push eax
push edx
call fcn.004e84b0
add esi, 0xfffffff8
lea ecx, [edi + 0xc]
push esi
call fcn.0052a730
jmp 0x52829a
cmp eax, 0x25
jne 0x527fab
mov eax, dword [ebp + 8]
push ebx
add eax, 0x58
mov ecx, edi
push eax
call fcn.0052a210
mov ebx, dword [esi]
push 0xc
mov dword [ebx], 0x24
call fcn.005b449a
lea ecx, [edi + 0x20]
add esp, 4
mov dword [eax + 8], ebx
mov edx, dword [ecx + 8]
push eax
push edx
jmp 0x528047
cmp eax, 0x1e
jne 0x527fde
mov eax, dword [ebp + 8]
push ebx
add eax, 0x58
mov ecx, edi
push eax
call fcn.0052a250
mov ebx, dword [esi]
push 0xc
mov dword [ebx], 0x1f
call fcn.005b449a
lea ecx, [edi + 0x20]
add esp, 4
mov dword [eax + 8], ebx
mov edx, dword [ecx + 8]
push eax
push edx
jmp 0x528047
cmp eax, 0x1f
jne 0x528011
mov eax, dword [ebp + 8]
push ebx
add eax, 0x58
mov ecx, edi
push eax
call fcn.0052a280
mov ebx, dword [esi]
push 0xc
mov dword [ebx], 0x1e
call fcn.005b449a
lea ecx, [edi + 0x20]
add esp, 4
mov dword [eax + 8], ebx
mov edx, dword [ecx + 8]
push eax
push edx
jmp 0x528047
cmp eax, 0x20
jne 0x528067
mov eax, dword [ebp + 8]
push ebx
lea ecx, [eax + 0x58]
push ecx
push eax
mov ecx, edi
call fcn.0052a2b0
mov edx, dword [esi]
push 0xc
mov dword [esp + 0x18], edx
lea ebx, [edi + 0x20]
call fcn.005b449a
mov ecx, dword [esp + 0x18]
add esp, 4
mov dword [eax + 8], ecx
mov edx, dword [ebx + 8]
push eax
push edx
mov ecx, ebx
call fcn.004e84b0
mov eax, dword [edi + 0x10]
add esi, 0xfffffff8
cmp esi, eax
je 0x52826b
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [eax + 4], ecx
jmp 0x528271
cmp eax, 0x21
jne 0x5281b4
mov eax, dword [ebx + 0xc]
lea edx, [esp + 0xd0]
push edx
mov ecx, dword [eax]
xor eax, eax
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], eax
mov dword [esp + 0xf0], eax
mov dword [esp + 0xf4], 1
mov dword [esp + 0xf8], eax
mov dword [esp + 0xfc], eax
mov dword [esp + 0x100], eax
mov dword [esp + 0x104], eax
mov dword [esp + 0x108], eax
call fcn.00565510
mov esi, dword [esp + 0x14]
mov ecx, dword [ebp + 8]
add ecx, 0x58
mov eax, dword [esi]
push eax
push ecx
mov ecx, dword [esp + 0x18]
call fcn.0052a310
mov ebx, dword [esi]
mov ecx, 0xe
lea esi, [esp + 0xd0]
push 0xc
lea edi, [ebx + 0x10]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x14]
lea esi, [edi + 0x20]
call fcn.005b449a
add esp, 4
mov dword [eax + 8], ebx
mov edx, dword [esi + 8]
mov ecx, esi
push eax
push edx
call fcn.004e84b0
mov eax, dword [esp + 0x14]
lea ecx, [eax - 8]
lea eax, [edi + 0xc]
mov eax, dword [edi + 0x10]
cmp ecx, eax
je 0x528167
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
jmp 0x528174
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x10]
add eax, 0xc
mov dword [eax + 4], edx
mov edx, dword [esp + 0x10]
lea eax, [edx + 0xc]
mov edx, dword [edx + 0x14]
cmp ecx, edx
je 0x52818b
mov edx, dword [ecx + 4]
mov esi, dword [ecx]
mov dword [edx], esi
jmp 0x528190
mov edx, dword [edx]
mov dword [eax + 8], edx
mov esi, dword [eax]
push ecx
dec esi
mov dword [eax], esi
mov dword [ecx + 4], 0
mov dword [ecx], 0
call fcn.005b44c3
mov edi, dword [esp + 0x14]
add esp, 4
jmp 0x5282a3
cmp eax, 0x22
jne 0x528227
mov eax, dword [ebp + 8]
push ebx
add eax, 0x58
mov ecx, edi
push eax
call fcn.0052a330
mov ebx, dword [esi]
push 0xc
mov ecx, dword [ebx + 0x18]
fld qword [ebx + 0x10]
mov dword [ebx + 0x10], ecx
mov edx, dword [ebx + 0x1c]
mov dword [ebx + 0x14], edx
fstp qword [ebx + 0x18]
call fcn.005b449a
add esp, 4
lea ecx, [edi + 0x20]
mov dword [eax + 8], ebx
push eax
mov eax, dword [ecx + 8]
push eax
call fcn.004e84b0
mov eax, dword [edi + 0x10]
add esi, 0xfffffff8
cmp esi, eax
je 0x52820a
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov dword [ecx + 4], edx
jmp 0x528210
mov eax, dword [eax + 4]
mov dword [edi + 0x10], eax
mov eax, dword [edi + 0x14]
cmp esi, eax
je 0x528220
mov ecx, dword [esi + 4]
mov edx, dword [esi]
mov dword [ecx], edx
jmp 0x528286
mov eax, dword [eax]
mov dword [edi + 0x14], eax
jmp 0x528286
cmp eax, 0x26
jne 0x5282a3
mov ecx, dword [ebp + 8]
lea ebx, [ecx + 0x58]
mov ecx, ebx
call fcn.0054a8e0
mov edx, dword [esi]
mov ecx, edi
push edx
push ebx
mov dword [esp + 0x1c], eax
call fcn.0052a3a0
mov ebx, dword [esi]
mov eax, dword [esp + 0x14]
push 0xc
mov dword [ebx + 0x10], eax
call fcn.005b449a
lea ecx, [edi + 0x20]
add esp, 4
mov dword [eax + 8], ebx
mov edx, dword [ecx + 8]
push eax
push edx
jmp 0x528047
mov edx, dword [eax + 4]
mov dword [edi + 0x10], edx
mov eax, dword [edi + 0x14]
cmp esi, eax
je 0x528281
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov dword [eax], ecx
jmp 0x528286
mov edx, dword [eax]
mov dword [edi + 0x14], edx
mov edx, dword [edi + 0xc]
dec edx
mov dword [edi + 0xc], edx
mov dword [esi + 4], 0
mov dword [esi], 0
push esi
call fcn.005b44c3
add esp, 4
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x5282c1
mov esi, dword [edi + 0x14]
test esi, esi
je 0x5282c1
add esi, 8
test esi, esi
mov dword [esp + 0x14], esi
jne 0x526fdc
mov ecx, dword [edi + 4]
dec ecx
mov dword [edi + 4], ecx
mov eax, dword [edi + 8]
inc eax
mov dword [edi + 8], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4