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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc4
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 1
add dword [0x68079c], esi
cmp dword [edi + 0x500], 0
jne 0x5c4393
cmp dword [edi + 0x504], 0
je 0x5c5703
mov ecx, dword [edi + 0x254]
test ecx, ecx
je 0x5c43ae
mov eax, dword [ecx]
mov edx, dword [eax]
push esi
call edx
mov dword [edi + 0x254], 0
mov eax, dword [edi + 0x134]
test eax, eax
mov dword [edi + 0x26c], esi
je 0x5c5711
cmp dword [eax + 0x58], 0
je 0x5c5711
mov eax, dword [edi + 0x270]
test eax, eax
je 0x5c5711
cmp dword [eax + 0x78], 0
je 0x5c5711
add eax, 0x34
call fcn.0057a810
test eax, eax
jbe 0x5c56dc
mov eax, dword [edi]
mov edx, dword [eax + 0x150]
xor esi, esi
push esi
mov ecx, edi
call edx
mov ebx, dword [edi + 0xd4]
mov ecx, dword [edi + 0xdc]
mov edx, dword [edi + 0xe0]
xor eax, eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov eax, dword [edi + 0xd8]
push 0x70
mov dword [esp + 0x5c], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], edx
call fcn.005d2776
add esp, 4
cmp eax, esi
je 0x5c4456
call fcn.00580c60
jmp 0x5c4458
xor eax, eax
mov ecx, dword [edi + 0x134]
mov dword [edi + 0x254], eax
mov ecx, dword [ecx + 0x58]
mov edx, dword [ecx + 0x24]
cmp edx, esi
mov dword [esp + 0x24], edx
je 0x5c45e9
mov ecx, dword [ecx + 0xb4]
push ebx
push 0
push ecx
mov ecx, dword [edi + 0x1c4]
push 1
push 1
push eax
mov eax, dword [edi + 0xd0]
lea esi, [edi + 0xd0]
push edx
mov edx, dword [edi + 0x1c0]
mov dword [esp + 0x4c], esi
call fcn.005a60e0
test eax, eax
jne 0x5c45e9
mov edx, dword [edi + 0x1c4]
mov eax, dword [edi + 0x1c0]
push edx
push eax
mov eax, dword [edi + 0x254]
call fcn.00580d80
mov esi, dword [edi + 0x254]
xor eax, eax
call fcn.00580e90
mov esi, dword [ebp + 8]
push 1
push 0
xor edi, edi
lea ebx, [esp + 0x4c]
call fcn.0059d540
test eax, eax
je 0x5c4598
mov esi, dword [esp + 0x44]
test esi, esi
mov edi, dword [ebp + 8]
je 0x5c45b3
mov ecx, dword [edi + 0x134]
mov edx, dword [ecx + 0x58]
mov ecx, dword [edx + 0x18]
test ecx, ecx
je 0x5c459e
call fcn.0057d6f0
mov esi, eax
test esi, esi
je 0x5c459a
mov eax, dword [edi + 0x1c0]
mov ecx, dword [edi + 0x1c4]
mov edx, dword [esi]
mov dword [esp + 0x70], eax
mov eax, dword [edx + 8]
mov dword [esp + 0x74], ecx
mov ecx, esi
xor ebx, ebx
call eax
mov edx, dword [esi]
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov eax, dword [edx + 4]
mov ecx, esi
call eax
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x70]
sub esp, 0x10
mov dword [esp + 0x70], eax
mov eax, esp
mov dword [esp + 0x74], ecx
mov dword [eax], ebx
xor ecx, ecx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x84]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov eax, dword [edi + 0x254]
push ebx
lea edx, [esp + 0x6c]
push edx
mov edx, dword [esp + 0x48]
push eax
mov cl, 1
mov eax, esi
call fcn.005805a0
jmp 0x5c459a
mov edi, esi
mov esi, dword [esp + 0x44]
test esi, esi
je 0x5c45b3
push esi
call fcn.005d28c2
add esp, 4
mov dword [esp + 0x44], 0
mov edx, dword [edi + 0x134]
mov ecx, dword [esp + 0x48]
mov eax, dword [edx + 0x58]
mov edx, dword [esp + 0x30]
mov ebx, dword [edi + 0x254]
push ecx
mov ecx, dword [eax + 0xb4]
mov eax, dword [edx]
push 0
push ecx
mov ecx, dword [esp + 0x30]
push 1
push 1
add ecx, 4
call fcn.005a6160
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 0x4f0]
test ecx, ecx
je 0x5c4604
mov edx, dword [edi + 0x270]
mov eax, dword [ecx]
mov edx, dword [edx + 0x18]
mov eax, dword [eax + 0x50]
push edx
call eax
mov ecx, dword [edi + 0x254]
push ecx
mov ecx, edi
call fcn.005b0be0
mov ebx, dword [edi + 0x254]
test ebx, ebx
je 0x5c467c
mov eax, dword [edi + 0x270]
test eax, eax
je 0x5c467c
cmp dword [eax + 0x6c], 0
je 0x5c467c
mov eax, dword [edi + 0x134]
test eax, eax
je 0x5c467c
mov esi, dword [eax + 0x54]
test esi, esi
je 0x5c467c
mov eax, esi
call fcn.005aaee0
test eax, eax
jne 0x5c467c
mov eax, dword [edi + 0x574]
mov ecx, dword [edi + 0x570]
push ebx
push esi
call fcn.0058b410
test eax, eax
je 0x5c467c
mov edx, dword [edi + 0x254]
mov ebx, dword [edi + 0x574]
mov edi, dword [edi + 0x570]
push edx
mov esi, eax
call fcn.0057f980
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x270]
cmp dword [eax + 0x18], 0
je 0x5c4746
cmp dword [edi + 0x4f0], 0
jne 0x5c4746
mov eax, dword [eax + 0x14]
mov esi, dword [edi + eax*4 + 0x598]
test esi, esi
je 0x5c4746
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
xor eax, eax
push eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x58], edx
mov edx, dword [edi + 0x594]
sub edx, dword [edi + 0x58c]
mov dword [esp + 0x54], ecx
lea eax, [esp + 0x6c]
push eax
mov eax, dword [edi + 0x588]
lea ecx, [esp + 0x50]
push ecx
mov ecx, dword [edi + 0x254]
push edx
mov edx, dword [edi + 0x590]
sub edx, dword [edi + 0x588]
push eax
mov eax, dword [edi + 0x58c]
push ecx
mov bl, 1
mov dword [esp + 0x84], 0x1b
mov dword [esp + 0x88], 1
mov dword [esp + 0x8c], 0xc
mov dword [esp + 0x90], 0x14
call fcn.00580620
call fcn.004062c0
mov edx, dword [0x678ec4]
cmp dword [edx + 0xd94], 0
mov dword [0x678ec0], 1
je 0x5c482c
mov esi, dword [edi + 0x3bc]
test esi, esi
je 0x5c482c
mov edx, dword [edi + 0x110]
mov ecx, dword [esi + 0x10]
xor eax, eax
lea ebx, [edx - 8]
mov dword [esp + 0x34], ebx
mov ebx, dword [edi + 0x114]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov eax, dword [esi + 0xc]
add ebx, 0xfffffffe
mov dword [esp + 0x50], eax
mov dword [esp + 0x38], ebx
mov ebx, dword [edi + 0x114]
lea eax, [edx + eax - 8]
mov edx, dword [edi + 0x254]
mov dword [esp + 0x3c], eax
lea ebx, [ebx + ecx - 2]
lea eax, [esp + 0x34]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x40], ebx
call fcn.005812a0
sub ebx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
push 0
push 0
lea ecx, [esp + 0x50]
push ecx
push ebx
push eax
sub edx, eax
mov eax, dword [edi + 0x254]
push eax
mov eax, dword [esp + 0x50]
mov bl, 1
call fcn.00580620
mov eax, dword [esi + 0x10]
mov esi, dword [esi + 0xc]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
add eax, edx
add esi, ecx
mov dword [edi + 0x3ac], ecx
mov dword [edi + 0x3b0], edx
mov dword [edi + 0x3b4], esi
mov dword [edi + 0x3b8], eax
mov dword [edi + 0x3dc], 1
mov eax, dword [edi + 0x270]
test eax, eax
je 0x5c485a
mov eax, dword [eax + 0x340]
test eax, eax
je 0x5c485a
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x5c4843
sub eax, edx
sar eax, 1
je 0x5c485a
push edi
call fcn.00592090
mov ecx, dword [edi + 0x270]
cmp dword [ecx + 0x3b0], 0
je 0x5c48a7
lea esi, [edi + 0x244]
mov eax, esi
call fcn.0057a810
test eax, eax
jbe 0x5c48a7
mov edx, dword [edi + 0x568]
mov eax, dword [edi + 0x55c]
mov ecx, dword [edi + 0x560]
push 1
push 0
push 0
push 0
push edx
mov edx, dword [edi + 0x254]
push eax
push ecx
push eax
push edx
call fcn.0057f6d0
add esp, 0x24
mov eax, dword [edi + 0x270]
mov esi, dword [edi + 0x134]
lea ecx, [eax + 0x34]
add eax, 0x7c
xor ebx, ebx
cmp esi, ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
je 0x5c48d2
call fcn.0057b9f0
mov dword [esp + 0x30], eax
jmp 0x5c48d6
mov dword [esp + 0x30], ebx
mov eax, dword [esp + 0x10]
call fcn.0057a810
test eax, eax
jle 0x5c4a41
jmp 0x5c48f0
mov esi, dword [esp + 0x10]
mov edi, ebx
call fcn.0057a830
mov edx, dword [eax]
cmp dword [edx + 0x18], 0
je 0x5c4a3e
call fcn.0057a830
mov eax, dword [eax]
test byte [eax + 0x14], 2
jne 0x5c4931
call fcn.0057a830
mov eax, dword [eax]
test byte [eax + 0x14], 4
jne 0x5c4931
mov edi, dword [ebp + 8]
add edi, 0x1d4
call fcn.00577d00
jmp 0x5c493f
mov edi, dword [ebp + 8]
add edi, 0x1d4
call fcn.00577cb0
mov esi, dword [esp + 0x10]
mov edi, ebx
mov dword [esp + 0x24], eax
call fcn.0057a830
mov eax, dword [eax]
test byte [eax + 0x14], 2
je 0x5c4965
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1f0]
mov dword [esp + 0x20], ecx
jmp 0x5c4972
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1ec]
mov dword [esp + 0x20], eax
mov esi, dword [esp + 0x10]
mov edi, ebx
call fcn.0057a830
mov eax, dword [eax]
test byte [eax + 0x14], 4
je 0x5c4992
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x218]
mov dword [esp + 0x20], edx
mov esi, dword [esp + 0x10]
mov edi, ebx
call fcn.0057a830
mov eax, dword [eax]
test byte [eax + 0x14], 8
je 0x5c49b2
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1ec]
mov dword [esp + 0x20], ecx
mov esi, dword [esp + 0x10]
mov edi, ebx
call fcn.0057a830
mov eax, dword [eax]
test byte [eax + 0x14], 0x10
je 0x5c49d2
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1f0]
mov dword [esp + 0x20], eax
cmp dword [esp + 0x24], 0
je 0x5c4a2a
mov esi, dword [esp + 0x10]
mov edi, ebx
call fcn.0057a830
mov eax, dword [eax]
mov ecx, dword [eax]
mov dword [esp + 0x1c], ecx
call fcn.0057a830
mov dword [esp + 0x18], eax
call fcn.0057a830
mov edx, dword [esp + 0x18]
mov ecx, dword [edx]
movzx edx, byte [ecx + 0x1c]
mov ecx, dword [esp + 0x24]
shl edx, 0x18
or edx, dword [esp + 0x20]
push edx
mov edx, dword [eax]
mov eax, dword [ebp + 8]
push ecx
mov ecx, dword [eax + 0x254]
push ecx
mov ecx, dword [esp + 0x28]
add edx, 4
push eax
call fcn.00592710
mov eax, dword [esp + 0x10]
add ebx, 1
call fcn.0057a810
cmp ebx, eax
jl 0x5c48f0
mov edi, dword [ebp + 8]
lea edx, [edi + 0x46c]
test edx, edx
je 0x5c4b15
lea esi, [edi + 0x494]
test esi, esi
je 0x5c4b15
mov eax, dword [edi + 0x270]
mov ecx, dword [eax + 0x3c4]
cmp dword [ecx - 0xc], 0
je 0x5c4abb
cmp dword [eax + 0x3d4], 0
je 0x5c4abb
mov ebx, dword [eax + 0x3c4]
xor ecx, ecx
cmp dword [ebx - 0xc], ecx
je 0x5c4a92
cmp dword [eax + 0x3c8], ecx
je 0x5c4a92
mov ecx, 1
movzx ebx, byte [eax + 0x3d0]
shl ebx, 0x18
or ebx, dword [edx + 0x18]
push ebx
push ecx
lea ecx, [eax + 0x3d8]
push ecx
mov ecx, dword [edi + 0x254]
push ecx
mov ecx, dword [eax + 0x3c4]
push edi
call fcn.00592c20
mov eax, dword [edi + 0x270]
mov edx, dword [eax + 0x3e8]
cmp dword [edx - 0xc], 0
je 0x5c4b15
cmp dword [eax + 0x3f8], 0
je 0x5c4b15
xor ecx, ecx
cmp dword [edx - 0xc], ecx
je 0x5c4aea
cmp dword [eax + 0x3ec], ecx
je 0x5c4aea
mov ecx, 1
movzx edx, byte [eax + 0x3f4]
shl edx, 0x18
or edx, dword [esi + 0x18]
push edx
mov edx, dword [edi + 0x254]
push ecx
lea ecx, [eax + 0x3fc]
push ecx
mov ecx, dword [eax + 0x3e8]
push edx
push edi
mov edx, esi
call fcn.00592c20
call fcn.005925c0
test eax, eax
mov esi, dword [ebp + 8]
je 0x5c4b72
mov ecx, dword [esi + 0x270]
mov edx, dword [ecx + 0x48]
cmp dword [edx - 0xc], 0
je 0x5c4b72
lea edi, [esi + 0x4bc]
test edi, edi
je 0x5c4b42
mov edi, dword [esi + 0x4d4]
jmp 0x5c4b47
mov edi, 0x8c7a6b
mov ebx, dword [esp + 0x30]
push 0xffffffffffffffff
push ebx
push edi
mov edi, dword [esi + 0x254]
push eax
mov eax, dword [ecx + 0x68]
sub eax, dword [ecx + 0x60]
push edx
mov edx, dword [ecx + 0x64]
sub edx, dword [ecx + 0x5c]
push eax
mov eax, dword [ecx + 0x60]
mov ecx, dword [ecx + 0x5c]
push edx
push eax
push ecx
call fcn.005aec90
cmp dword [esi + 0x270], 0
je 0x5c56d9
mov esi, dword [esp + 0xc]
mov eax, dword [esi + 4]
test eax, eax
je 0x5c56d9
mov edx, dword [esi + 8]
sub edx, eax
sar edx, 2
je 0x5c56d9
mov eax, dword [ebp + 8]
cmp dword [eax + 0x254], 0
je 0x5c56d9
mov edi, eax
add edi, 0x1fc
mov dword [esp + 0xac], edi
call fcn.00577cb0
test eax, eax
je 0x5c56d9
xor eax, eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
xor edi, edi
mov eax, esi
mov dword [esp + 0x20], edi
call fcn.0057a810
test eax, eax
jle 0x5c56d9
jmp 0x5c4c04
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0xc]
call fcn.0057a830
mov ecx, dword [eax]
cmp dword [ecx + 0x2c], 0
je 0x5c56d9
call fcn.0057a830
mov eax, dword [eax]
mov esi, dword [ebp + 8]
mov ebx, dword [eax]
push esi
call fcn.00592660
mov edx, dword [esi + 0x270]
mov ebx, dword [esp + 0x20]
cmp ebx, dword [edx + 0x8c]
mov dword [esp + 0x18], eax
jne 0x5c4c6a
mov esi, dword [esp + 0xc]
mov edi, ebx
call fcn.0057a830
mov eax, dword [eax]
test dword [eax], 0x1000
jne 0x5c4c67
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x218]
mov dword [esp + 0x24], ecx
mov esi, eax
jmp 0x5c4c74
mov esi, dword [ebp + 8]
mov edx, dword [esi + 0x214]
mov dword [esp + 0x24], edx
mov eax, dword [esi + 0x270]
cmp dword [eax + 0x90], 0
je 0x5c4db5
mov esi, dword [esp + 0xc]
mov edi, ebx
call fcn.0057a830
mov ecx, dword [eax]
test dword [ecx], 0x200000
je 0x5c4d2a
call fcn.0057a830
mov edx, dword [eax]
mov eax, dword [edx]
push eax
call fcn.0057a7e0
fstp dword [esp + 0x20]
add esp, 4
call fcn.0057a830
mov eax, dword [eax]
mov ecx, dword [eax + 8]
add eax, 8
mov dword [esp + 0x14], ecx
call fcn.0057a830
fld dword [esp + 0x1c]
fmul qword [0x6406a8]
mov ecx, eax
fnstcw word [esp + 0x10]
movzx eax, word [esp + 0x10]
or eax, 0xc00
mov dword [esp + 0x1c], eax
mov eax, dword [ecx]
add eax, 0xc
fldcw word [esp + 0x1c]
fistp qword [esp + 0x28]
mov edx, dword [esp + 0x28]
shl edx, 0x18
or edx, dword [esp + 0x24]
fldcw word [esp + 0x10]
push edx
mov edx, dword [esp + 0xb0]
push 0
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x254]
push ecx
mov ecx, dword [esp + 0x24]
push eax
call fcn.00592c20
jmp 0x5c4db5
call fcn.0057a830
mov eax, dword [eax]
mov edx, dword [eax + 8]
mov esi, dword [esp + 0xc]
add eax, 8
mov edi, ebx
mov dword [esp + 0x14], edx
call fcn.0057a830
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
sub ecx, dword [eax + 0x10]
add eax, 0xc
mov dword [esp + 0x1c], ecx
call fcn.0057a830
mov eax, dword [eax]
mov ecx, dword [eax + 0x14]
sub ecx, dword [eax + 0xc]
add eax, 0xc
mov dword [esp + 0x10], ecx
call fcn.0057a830
mov dword [esp + 0x28], eax
call fcn.0057a830
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
push 0xffffffffffffffff
push ecx
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x40]
push edx
mov edx, dword [ecx]
mov ecx, dword [edx + 0x10]
mov edx, dword [eax]
mov eax, dword [edx + 0xc]
push ecx
mov ecx, dword [ebp + 8]
mov edi, dword [ecx + 0x254]
push eax
call fcn.005aec90
mov esi, dword [esp + 0xc]
mov edi, ebx
call fcn.0057a830
mov eax, dword [eax]
test byte [eax], 4
jne 0x5c4f7f
call fcn.0057a830
mov eax, dword [eax]
test dword [eax], 0x800
jne 0x5c4f7f
call fcn.0057a830
mov eax, dword [eax]
test dword [eax], 0x1000
jne 0x5c4f7f
call fcn.0057a830
mov eax, dword [eax]
test dword [eax], 0x8000
jne 0x5c4f7f
call fcn.0057a830
mov eax, dword [eax]
test byte [eax], 0x10
je 0x5c4eed
call fcn.0057a830
mov eax, dword [eax]
mov edx, dword [eax + 0x1c]
add eax, 0x1c
mov dword [esp + 0x7c], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x80], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0x84], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x88], eax
call fcn.0057a830
mov ecx, dword [eax]
mov eax, dword [ebp + 8]
call fcn.00592610
test eax, eax
mov dword [esp + 0x14], eax
je 0x5c4fe5
mov ecx, dword [ebp + 8]
mov esi, dword [ecx + 0x134]
call fcn.0057b9a0
mov esi, dword [esp + 0xc]
mov dword [esp + 0x28], eax
call fcn.0057a830
mov eax, dword [eax]
mov edx, dword [eax + 4]
add eax, 4
mov dword [esp + 0x24], edx
call fcn.0057a830
mov dword [esp + 0x1c], eax
call fcn.0057a830
mov dword [esp + 0x18], eax
call fcn.0057a830
mov eax, dword [eax]
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [ebp + 8]
lea edx, [ecx + 0x218]
push edx
lea edx, [ecx + 0x214]
push edx
mov edx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x2c]
mov edx, dword [edx]
mov edx, dword [edx]
push edx
mov edx, dword [esp + 0x2c]
mov edx, dword [edx]
add eax, 0x30
push eax
lea eax, [esp + 0x94]
push eax
mov eax, dword [ecx + 0x254]
push eax
push ecx
mov ecx, dword [esp + 0x48]
add edx, 0x34
call fcn.00592e50
jmp 0x5c4fe5
call fcn.0057a830
mov eax, dword [eax]
test byte [eax], 8
je 0x5c4fe5
mov esi, dword [esp + 0xc]
mov edi, ebx
call fcn.0057a830
mov eax, dword [eax]
mov ecx, dword [eax + 4]
add eax, 4
mov dword [esp + 0x14], ecx
call fcn.0057a830
mov dword [esp + 0x28], eax
call fcn.0057a830
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x28]
mov edx, dword [edx]
mov eax, dword [eax]
push ecx
mov ecx, dword [ebp + 8]
mov esi, dword [ecx + 0x254]
push esi
push ecx
mov ecx, dword [edx]
add eax, 0x1c
lea edx, [esp + 0x88]
call fcn.005932f0
mov esi, dword [esp + 0xc]
call fcn.0057a830
mov eax, dword [eax]
mov edx, dword [esp + 0x7c]
add eax, 0x3c
mov dword [eax], edx
mov ecx, dword [esp + 0x80]
mov dword [eax + 4], ecx
mov edx, dword [esp + 0x84]
mov dword [eax + 8], edx
mov ecx, dword [esp + 0x88]
mov dword [eax + 0xc], ecx
jmp 0x5c4fe5
mov esi, dword [esp + 0xc]
mov edi, ebx
call fcn.0057a830
mov eax, dword [eax]
mov edx, dword [eax + 4]
add eax, 4
mov dword [esp + 0x1c], edx
call fcn.0057a830
mov dword [esp + 0x28], eax
call fcn.0057a830
mov dword [esp + 0x14], eax
call fcn.0057a830
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
mov eax, dword [eax]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [ecx]
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x30]
push ecx
mov ecx, dword [esp + 0x28]
push ecx
add eax, 0x1c
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x254]
push ecx
mov ecx, dword [edx + 0x34]
push eax
call fcn.00592930
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x270]
cmp dword [edx + 0x30], 2
jne 0x5c511c
mov eax, dword [eax + 0x134]
mov ecx, dword [eax + 0x58]
mov eax, dword [ecx + 0x3c]
test eax, eax
mov dword [esp + 0x28], eax
je 0x5c511c
mov esi, dword [esp + 0xc]
mov edi, ebx
call fcn.0057a830
mov edx, dword [eax]
cmp dword [edx + 0x38], 0
je 0x5c511c
call fcn.0057a830
mov eax, dword [eax]
mov ecx, dword [eax + 0x44]
add eax, 0x3c
sub ecx, dword [eax]
je 0x5c511c
call fcn.0057a830
mov eax, dword [eax]
mov edx, dword [eax + 0x48]
add eax, 0x3c
sub edx, dword [eax + 4]
je 0x5c511c
call fcn.0057a830
mov eax, dword [eax]
mov eax, dword [eax + 0x38]
mov edi, dword [esp + 0x28]
call fcn.005a00f0
test eax, eax
mov dword [esp + 0x18], eax
je 0x5c511c
mov esi, dword [esp + 0x18]
mov edx, dword [esi]
xor eax, eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], eax
mov eax, dword [edx + 4]
mov ecx, esi
call eax
mov edx, dword [esi]
mov dword [esp + 0xc8], eax
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov esi, dword [esp + 0xc]
mov edi, ebx
mov dword [esp + 0xcc], eax
call fcn.0057a830
mov eax, dword [eax]
mov ecx, dword [eax + 0x48]
sub ecx, dword [eax + 0x40]
add eax, 0x3c
mov dword [esp + 0x28], ecx
call fcn.0057a830
mov eax, dword [eax]
mov ecx, dword [eax + 0x44]
sub ecx, dword [eax + 0x3c]
add eax, 0x3c
mov dword [esp + 0x14], ecx
call fcn.0057a830
mov dword [esp + 0x1c], eax
call fcn.0057a830
mov edx, dword [esp + 0x28]
mov eax, dword [eax]
push 1
lea ecx, [esp + 0xc4]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x28]
push ecx
mov ecx, dword [edx]
mov edx, dword [ecx + 0x40]
mov ecx, dword [eax + 0x3c]
push edx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x254]
push ecx
push eax
mov eax, dword [esp + 0x34]
xor cl, cl
xor edx, edx
call fcn.005805e0
mov esi, dword [esp + 0xc]
mov edi, ebx
call fcn.0057a830
mov eax, dword [eax]
test dword [eax], 0x2000
jne 0x5c5253
call fcn.0057a830
mov eax, dword [eax]
test dword [eax], 0x40000
jne 0x5c5253
call fcn.0057a830
mov eax, dword [eax]
test dword [eax], 0x100
jne 0x5c5253
call fcn.0057a830
mov eax, dword [eax]
test dword [eax], 0x1000000
jne 0x5c5253
call fcn.0057a830
mov eax, dword [eax]
test dword [eax], 0x2000000
jne 0x5c5253
call fcn.0057a830
mov eax, dword [eax]
test dword [eax], 0x400000
je 0x5c56c1
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x134]
test eax, eax
je 0x5c56c1
mov eax, dword [eax + 0x58]
test eax, eax
je 0x5c56c1
mov eax, dword [eax + 0x40]
test eax, eax
mov dword [esp + 0x14], eax
je 0x5c56c1
call fcn.0057a830
fld dword [0x640944]
mov eax, dword [eax]
mov edx, dword [eax + 0x4c]
mov ecx, dword [eax + 0x50]
add eax, 0x4c
push ecx
mov dword [esp + 0x6c], edx
fstp dword [esp]
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x70], ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x74], edx
mov edx, dword [ecx + 0x254]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x78], eax
push edx
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x74]
mov dword [esp + 0x34], 0
call fcn.0058d8c0
call fcn.0057a830
mov eax, dword [eax]
mov edx, dword [eax + 0x4c]
mov ecx, dword [ebp + 8]
add eax, 0x4c
mov dword [ecx + 0x36c], edx
mov edx, dword [eax + 4]
mov dword [ecx + 0x370], edx
mov edx, dword [eax + 8]
mov dword [ecx + 0x374], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0x378], eax
mov dword [ecx + 0x39c], 1
jmp 0x5c56c1
mov esi, dword [esp + 0xc]
mov edi, ebx
mov dword [esp + 0x18], 0
call fcn.0057a830
mov eax, dword [eax]
test dword [eax], 0x2000
je 0x5c527b
mov ecx, dword [ebp + 8]
add ecx, 0x2ec
jmp 0x5c52f5
mov esi, dword [esp + 0xc]
mov edi, ebx
call fcn.0057a830
mov eax, dword [eax]
test dword [eax], 0x1000000
jne 0x5c52e4
call fcn.0057a830
mov eax, dword [eax]
test dword [eax], 0x2000000
jne 0x5c52e4
call fcn.0057a830
mov eax, dword [eax]
test dword [eax], 0x40000
je 0x5c52bd
mov edx, dword [ebp + 8]
add edx, 0x32c
mov dword [esp + 0x10], edx
jmp 0x5c52f9
mov esi, dword [esp + 0xc]
mov edi, ebx
call fcn.0057a830
mov eax, dword [eax]
test dword [eax], 0x100
je 0x5c54c9
mov eax, dword [ebp + 8]
add eax, 0x36c
mov dword [esp + 0x10], eax
jmp 0x5c52f9
mov ecx, dword [ebp + 8]
add ecx, 0x3ec
mov dword [esp + 0x18], 2
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x10]
test eax, eax
je 0x5c54c9
mov eax, dword [eax + 0x10]
test eax, eax
mov dword [esp + 0x14], eax
je 0x5c54c9
mov esi, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
xor ecx, ecx
xor edx, edx
mov dword [esp + 0xb8], esi
mov dword [esp + 0x50], esi
mov esi, dword [esp + 0xc]
mov edi, ebx
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb4], edx
mov dword [esp + 0xbc], eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x54], eax
call fcn.0057a830
mov eax, dword [eax]
test byte [eax], 8
je 0x5c5448
call fcn.0057a830
mov eax, dword [eax]
mov edx, dword [eax + 0x4c]
mov ecx, dword [eax + 0x50]
add eax, 0x4c
mov dword [esp + 0x8c], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], edx
mov dword [esp + 0x98], eax
call fcn.0057a830
mov ecx, dword [eax]
mov eax, dword [ecx + 0x44]
mov edx, dword [esp + 0xb8]
add eax, 1
mov dword [esp + 0x8c], eax
add eax, edx
mov dword [esp + 0x94], eax
call fcn.0057a830
mov eax, dword [eax]
add eax, 0x40
mov dword [esp + 0x28], eax
call fcn.0057a830
mov eax, dword [eax]
mov ecx, dword [eax + 0x10]
mov edx, dword [esp + 0x28]
cmp ecx, dword [edx]
jge 0x5c53e9
call fcn.0057a830
mov eax, dword [eax]
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x90], ecx
jmp 0x5c53fa
call fcn.0057a830
mov edx, dword [eax]
mov eax, dword [edx + 0x40]
mov dword [esp + 0x90], eax
mov edx, dword [esp + 0xbc]
mov ecx, dword [esp + 0x90]
mov esi, dword [esp + 0xc]
add ecx, edx
mov edi, ebx
mov dword [esp + 0x98], ecx
call fcn.0057a830
mov eax, dword [eax]
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x90]
add eax, 0x4c
mov dword [eax], ecx
mov ecx, dword [esp + 0x94]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x98]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov esi, dword [esp + 0xc]
mov edi, ebx
call fcn.0057a830
mov ecx, dword [eax]
mov esi, dword [ecx + 0x4c]
mov eax, dword [ecx + 0x50]
mov edx, dword [ecx + 0x54]
mov edi, dword [esp + 0x18]
add ecx, 0x4c
mov ecx, dword [ecx + 0xc]
push 0
sub ecx, edi
push 0
sub eax, edi
sub ecx, eax
lea edi, [esp + 0xb8]
push edi
push ecx
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x254]
push esi
sub edx, esi
mov esi, dword [esp + 0x28]
push ecx
mov bl, 1
call fcn.00580620
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0xc]
call fcn.0057a830
mov eax, dword [eax]
mov edx, dword [eax + 0x4c]
mov ecx, dword [esp + 0x10]
add eax, 0x4c
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x30], 1
mov ebx, edi
mov esi, dword [esp + 0xc]
mov edi, ebx
call fcn.0057a830
mov eax, dword [eax]
test dword [eax], 0x2000000
je 0x5c56c1
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x43c]
test eax, eax
mov dword [esp + 0x14], eax
je 0x5c56c1
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
xor ecx, ecx
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa8], eax
call fcn.0057a830
mov eax, dword [eax]
test byte [eax], 8
je 0x5c55e9
call fcn.0057a830
mov eax, dword [eax]
mov ecx, dword [eax + 0x4c]
mov edx, dword [eax + 0x50]
add eax, 0x4c
mov dword [esp + 0x34], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x38], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
call fcn.0057a830
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
mov ecx, dword [esp + 0xa4]
add eax, 1
mov dword [esp + 0x34], eax
add eax, ecx
mov dword [esp + 0x3c], eax
call fcn.0057a830
mov eax, dword [eax]
add eax, 0x40
mov dword [esp + 0x28], eax
call fcn.0057a830
mov edx, dword [eax]
mov eax, dword [edx + 0x10]
mov ecx, dword [esp + 0x28]
cmp eax, dword [ecx]
jge 0x5c559f
call fcn.0057a830
mov edx, dword [eax]
mov eax, dword [edx + 0x10]
mov dword [esp + 0x38], eax
jmp 0x5c55ad
call fcn.0057a830
mov ecx, dword [eax]
mov edx, dword [ecx + 0x40]
mov dword [esp + 0x38], edx
mov ecx, dword [esp + 0xa8]
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0xc]
add eax, ecx
mov edi, ebx
mov dword [esp + 0x40], eax
call fcn.0057a830
mov eax, dword [eax]
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
add eax, 0x4c
mov dword [eax], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov esi, dword [esp + 0xc]
mov edi, ebx
call fcn.0057a830
mov eax, dword [eax]
mov edx, dword [eax + 0x50]
mov ecx, dword [eax + 0x4c]
add eax, 0x4c
mov dword [esp + 0x5c], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x50]
sub eax, dword [esp + 0x48]
lea ecx, [ecx + eax + 2]
lea edx, [edx + eax + 2]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x60], edx
call fcn.0057a830
mov eax, dword [eax]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
mov edi, dword [esp + 0x5c]
mov esi, dword [esp + 0x14]
add eax, 0x4c
mov dword [eax], ecx
mov dword [eax + 4], edx
mov edx, dword [esp + 0x60]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x64]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0xa8]
push 0
push 0
lea eax, [esp + 0xa4]
push eax
mov eax, dword [ebp + 8]
push edx
mov edx, dword [esp + 0xb4]
push ecx
mov ecx, dword [eax + 0x254]
push ecx
mov bl, 1
mov eax, edi
call fcn.00580620
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0xa4]
mov edx, dword [esp + 0xa8]
mov ebx, dword [esp + 0x20]
lea esi, [ecx + eax]
mov eax, dword [ebp + 8]
mov dword [eax + 0x42c], ecx
mov dword [eax + 0x430], edi
add edx, edi
mov dword [eax + 0x434], esi
mov dword [eax + 0x438], edx
mov dword [eax + 0x45c], 1
mov eax, dword [esp + 0xc]
add ebx, 1
mov dword [esp + 0x20], ebx
call fcn.0057a810
cmp ebx, eax
jl 0x5c4c00
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x254]
test eax, eax
je 0x5c56fc
cmp dword [edi + 0x268], 0
jne 0x5c56fc
mov ecx, dword [0x6807a0]
push ecx
push eax
call fcn.00580200
mov ecx, edi
call fcn.00591ab0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4