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

Disassembly:
sub esp, 0x58c
push ebx
mov ebx, dword [esp + 0x598]
push ebp
push esi
mov ebp, ecx
test dword [ebx + 8], 0x100000
push edi
mov dword [esp + 0x34], ebp
je 0x368ba71
test dword [ebx + 0x24], 0x30
mov dword [esp + 0x5c], 1
je 0x368ba79
mov dword [esp + 0x5c], 0
mov eax, dword [esp + 0x5a0]
lea edi, [eax + 0x214]
mov dword [esp + 0x4c], edi
lea ebx, [ebx]
mov esi, dword [eax + 0x210]
mov esi, dword [esi + 8]
test esi, esi
je 0x368baa3
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x28]
cmp eax, 3
jne 0x368c027
mov eax, dword [edi + 0x14]
cmp eax, dword [edi + 8]
jl 0x368d4d1
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
test eax, eax
mov ecx, esi
mov eax, dword [esi]
je 0x368be6e
call dword [eax + 0x10]
test eax, eax
mov eax, dword [ebx + 0x20]
je 0x368bc6d
test eax, eax
je 0x368baf7
cmp eax, 2
je 0x368baf7
cmp eax, 3
je 0x368baf7
cmp eax, 5
jne 0x368cdb4
mov eax, dword [esi]
lea ecx, [esp + 0x188]
push ecx
mov ecx, esi
call dword [eax + 0x2c]
mov edi, dword [ebp + 0x138]
mov ecx, dword [eax]
mov dword [esp + 0xe0], ecx
lea ecx, [esp + 0xac]
mov eax, dword [eax + 4]
mov dword [esp + 0xe4], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x50]
mov edx, dword [edi]
mov ecx, edi
push dword [eax]
lea eax, [esp + 0xe4]
push eax
lea eax, [esp + 0x68]
push eax
call dword [edx + 0xa4]
mov eax, dword [esp + 0xac]
test eax, eax
je 0x368bb63
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0xac], 0
mov ecx, dword [esp + 0x18c]
lea eax, [esp + 0x190]
cmp eax, ecx
je 0x368bb7a
call fcn.03707920
mov ecx, dword [esp + 0x60]
lea edx, [esp + 0x7c]
push edx
mov eax, dword [ecx]
call dword [eax + 0x50]
mov ecx, dword [esp + 0x7c]
lea edx, [esp + 0x74]
mov dword [esp + 0x74], 0
push edx
mov eax, dword [ecx]
call dword [eax + 0xc]
mov edi, dword [ebp + 0x138]
mov dword [esp + 0x18], edi
test edi, edi
je 0x368bbb2
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x9c]
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
push dword [ebx + 0xc]
mov ecx, ebp
call fcn.03686ef0
test eax, eax
jne 0x368bbf7
mov eax, dword [esp + 0x14]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
mov edx, dword [esi]
mov ecx, esi
mov ebp, eax
call dword [edx + 0xc]
cmp eax, ebp
je 0x368cde1
mov ebp, dword [esp + 0x34]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x368bc05
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xa0]
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov eax, dword [esp + 0x74]
test eax, eax
je 0x368bc2b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x74], 0
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x368bc41
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x7c], 0
mov eax, dword [esp + 0x60]
test eax, eax
je 0x368bc57
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x60], 0
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov edi, dword [esp + 0x4c]
mov eax, dword [esp + 0x5a0]
jmp 0x368ba90
test eax, eax
je 0x368bc84
cmp eax, 2
je 0x368bc84
cmp eax, 3
je 0x368bc84
cmp eax, 5
jne 0x368cef6
cmp dword [ebp + 0x130], 1
jne 0x368bdd2
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0
call fcn.03682d60
mov eax, dword [esi]
lea ecx, [esp + 0x188]
push ecx
mov ecx, esi
call dword [eax + 0x2c]
mov edi, dword [esp + 0x10]
lea edx, [esp + 0xc8]
push edi
push edx
mov ecx, dword [eax]
lea edx, [esp + 0x78]
mov dword [esp + 0xd0], ecx
mov ecx, dword [ebp + 0x138]
mov eax, dword [eax + 4]
mov dword [esp + 0xd4], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0xa4]
mov ecx, dword [esp + 0x18c]
lea eax, [esp + 0x190]
cmp eax, ecx
je 0x368bcfb
call fcn.03707920
mov dword [esp + 0x68], 0
lea ecx, [esp + 0x68]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0xc]
mov edi, dword [ebp + 0x138]
mov dword [esp + 0x18], edi
test edi, edi
je 0x368bd23
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x9c]
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
push dword [ebx + 0xc]
mov ecx, ebp
call fcn.03686ef0
test eax, eax
jne 0x368bd68
mov eax, dword [esp + 0x14]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
mov edx, dword [esi]
mov ecx, esi
mov ebp, eax
call dword [edx + 0xc]
cmp eax, ebp
je 0x368cf1b
mov ebp, dword [esp + 0x34]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x368bd76
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xa0]
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov eax, dword [esp + 0x68]
test eax, eax
je 0x368bd9c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x68], 0
mov eax, dword [esp + 0x70]
test eax, eax
je 0x368bdb2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x70], 0
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov edi, dword [esp + 0x4c]
mov eax, dword [esp + 0x5a0]
jmp 0x368ba90
push dword [ebx + 0x2c]
mov ecx, dword [ebp + 0x128]
push dword [ebx + 0x28]
push dword [ebx + 0x24]
mov eax, dword [ecx]
push 0
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
push dword [ebx + 0x14]
push dword [ebx + 0x10]
push dword [ebx + 0xc]
push dword [ebx + 8]
push dword [ebx + 4]
call dword [eax + 0x84]
mov dword [esp + 0x10], eax
test eax, eax
jne 0x368d649
mov edi, dword [ebp + 0x138]
mov dword [esp + 0x20], edi
test edi, edi
je 0x368be20
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x9c]
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
push dword [ebx + 0xc]
mov ecx, ebp
call fcn.03686ef0
test eax, eax
jne 0x368be65
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
mov ebp, eax
mov eax, dword [esp + 0x14]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
cmp ebp, eax
je 0x368d019
mov ebp, dword [esp + 0x34]
mov eax, dword [esp + 0x14]
jmp 0x368ccca
call dword [eax + 0x10]
test eax, eax
je 0x368d656
mov eax, dword [ebx + 0x20]
test eax, eax
jne 0x368bffa
mov eax, dword [esi]
lea ecx, [esp + 0x188]
push ecx
mov ecx, esi
call dword [eax + 0x2c]
mov edi, dword [ebp + 0x138]
mov ecx, dword [eax]
mov dword [esp + 0x10c], ecx
lea ecx, [esp + 0xa4]
mov eax, dword [eax + 4]
mov dword [esp + 0x110], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x50]
mov edx, dword [edi]
mov ecx, edi
push dword [eax]
lea eax, [esp + 0x110]
push eax
lea eax, [esp + 0x74]
push eax
call dword [edx + 0xa4]
mov eax, dword [esp + 0xa4]
test eax, eax
je 0x368bef0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0xa4], 0
mov ecx, dword [esp + 0x18c]
lea eax, [esp + 0x190]
cmp eax, ecx
je 0x368bf07
call fcn.03707920
mov ecx, dword [esp + 0x6c]
lea edx, [esp + 0x78]
push edx
mov eax, dword [ecx]
call dword [eax + 0x50]
mov ecx, dword [esp + 0x78]
lea edx, [esp + 0x64]
mov dword [esp + 0x64], 0
push edx
mov eax, dword [ecx]
call dword [eax + 0xc]
mov edi, dword [ebp + 0x138]
mov dword [esp + 0x18], edi
test edi, edi
je 0x368bf3f
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x9c]
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
push dword [ebx + 0xc]
mov ecx, ebp
call fcn.03686ef0
test eax, eax
jne 0x368bf84
mov eax, dword [esp + 0x14]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
mov edx, dword [esi]
mov ecx, esi
mov ebp, eax
call dword [edx + 0xc]
cmp eax, ebp
je 0x368d040
mov ebp, dword [esp + 0x34]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x368bf92
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xa0]
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov eax, dword [esp + 0x64]
test eax, eax
je 0x368bfb8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x64], 0
mov eax, dword [esp + 0x78]
test eax, eax
je 0x368bfce
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x78], 0
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x368bfe4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x6c], 0
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov edi, dword [esp + 0x4c]
mov eax, dword [esp + 0x5a0]
jmp 0x368ba90
cmp eax, 2
je 0x368d21f
cmp eax, 1
je 0x368d155
cmp eax, 3
je 0x368d155
cmp eax, 4
je 0x368d155
cmp eax, 5
je 0x368d155
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
test eax, eax
mov ecx, esi
mov eax, dword [esi]
je 0x368ccfa
call dword [eax + 0x10]
test eax, eax
je 0x368c665
mov ecx, dword [ebx + 0x24]
test ecx, 1
je 0x368c05c
test ecx, 0x40
jne 0x368d4d1
test ecx, 0x30
je 0x368c071
test dword [ebx + 8], 0x100000
je 0x368d4d1
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x368c082
cmp eax, 4
je 0x368c082
cmp eax, 5
jne 0x368c08e
test ecx, 1
jne 0x368d4d1
test eax, eax
je 0x368c0a5
cmp eax, 2
je 0x368c0a5
cmp eax, 3
je 0x368c0a5
cmp eax, 5
jne 0x368d22f
mov eax, dword [edi + 0x14]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x158]
push 0x100f7c80
push eax
call dword [0x1011f448]
lea eax, [esp + 0x148]
mov dword [esp + 0x154], 0
push eax
mov ecx, edi
call fcn.03681ed0
test eax, eax
je 0x368c0eb
cmp dword [esp + 0x154], 0
je 0x368d2ac
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x2c]
mov dword [edi + 0x14], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x4c]
mov eax, dword [edi + 0xc]
cmp eax, 0xffffffff
je 0x368c128
mov ecx, dword [edi + 0x14]
inc eax
cmp ecx, eax
jne 0x368c128
mov eax, dword [edi]
lea eax, [eax + ecx*2]
add eax, 0xfffffffe
mov dword [esp + 0x84], eax
mov ax, word [edi + 8]
sub ax, cx
inc ax
jmp 0x368c13e
mov ecx, dword [edi + 0x14]
mov eax, dword [edi]
lea eax, [eax + ecx*2]
mov dword [esp + 0x84], eax
mov ax, word [edi + 8]
sub ax, cx
add ax, ax
mov ecx, esi
mov word [esp + 0x82], ax
mov word [esp + 0x80], ax
mov eax, dword [esi]
call dword [eax + 0x28]
test dword [ebx + 0x24], 1
mov edi, eax
je 0x368c1c8
cmp word [esp + 0x80], 0
ja 0x368d2bd
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x368d2ca
cmp ecx, 5
je 0x368d2ca
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x28]
cmp eax, 2
je 0x368c1c8
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x368c1a0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edx, dword [ebx + 0x18]
lea eax, [esp + 0x2c]
push eax
and edx, 0xffffff7f
mov dword [esp + 0x30], 0
mov ecx, 1
call fcn.03681310
add esp, 4
mov edi, 2
mov eax, dword [ebx + 0x24]
test al, 0x40
jne 0x368c1d3
test al, 1
jne 0x368c215
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x28]
cmp eax, 2
jne 0x368c215
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x368c1ed
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edx, dword [ebx + 0x18]
lea eax, [esp + 0x2c]
and edx, 0xffffff6f
mov dword [esp + 0x2c], 0
push eax
or edx, 0x20
xor ecx, ecx
call fcn.03681310
add esp, 4
mov edi, 1
mov eax, dword [esi]
lea ecx, [esp + 0x390]
push ecx
mov ecx, esi
call dword [eax + 0x30]
mov ecx, dword [eax]
mov dword [esp + 0x11c], ecx
lea ecx, [esp + 0x188]
mov eax, dword [eax + 4]
mov dword [esp + 0x120], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x2c]
push dword [esp + 0x2c]
lea edx, [esp + 0x120]
push edi
mov ecx, dword [eax]
mov dword [esp + 0xf0], ecx
mov ecx, dword [ebp + 0x138]
mov eax, dword [eax + 4]
push edx
lea edx, [esp + 0xf4]
mov dword [esp + 0xf8], eax
mov eax, dword [ecx]
push edx
lea edx, [esp + 0x68]
push edx
call dword [eax + 0xa8]
mov ecx, dword [esp + 0x18c]
lea eax, [esp + 0x190]
cmp eax, ecx
je 0x368c298
call fcn.03707920
mov ecx, dword [esp + 0x394]
lea eax, [esp + 0x398]
cmp eax, ecx
je 0x368c2af
call fcn.03707920
mov ebp, dword [esp + 0x2c]
lea eax, [esp + 0x140]
push 0x100f7c80
xor edi, edi
push eax
mov dword [esp + 0x58], edi
call dword [0x1011f448]
mov eax, dword [ebp]
lea ecx, [esp + 0x50]
push ecx
push dword [ebx + 0x24]
lea ecx, [esp + 0x148]
push dword [ebx + 0x1c]
push dword [ebx + 8]
push ecx
mov ecx, ebp
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x368d3e5
cmp word [esp + 0x80], di
jbe 0x368c4b8
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x38]
push edx
push dword [ebx + 0x24]
mov dword [esp + 0x40], edi
lea edx, [esp + 0x88]
push dword [ebx + 0x1c]
mov eax, dword [ecx]
push dword [ebx + 8]
push edx
call dword [eax + 0x10]
mov ecx, eax
and eax, 0xefffffff
cmp eax, 0xc0000034
jne 0x368c42e
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x38]
push edx
push dword [ebx + 0x24]
lea edx, [esp + 0x88]
push dword [ebx + 0x1c]
mov eax, dword [ecx]
push dword [ebx + 0x18]
push dword [ebx + 8]
push edx
call dword [eax + 0xc]
mov ecx, eax
test ecx, ecx
jne 0x368d2e6
mov eax, dword [esp + 0x5a0]
cmp dword [eax + 0x220], 0xffffffff
je 0x368c436
push 0xffffffffffffffff
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x12c]
call fcn.03681d70
lea eax, [esp + 0x178]
push eax
lea ecx, [esp + 0x128]
call fcn.036821d0
lea ecx, [esp + 0x124]
mov eax, dword [eax + 4]
push eax
lea eax, [esp + 0x164]
push eax
call fcn.03682040
push 8
mov ecx, dword [eax]
mov dword [esp + 0x104], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x108], eax
lea eax, [esp + 0x104]
push eax
lea eax, [esp + 0xf8]
push eax
call dword [0x1011f348]
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0xa8]
push edx
lea edx, [esp + 0xf4]
push edx
mov eax, dword [ecx]
call dword [eax + 0x18]
test eax, eax
jne 0x368c436
mov edx, dword [esp + 0xa8]
test edx, 0x20
jne 0x368c436
mov ecx, dword [esp + 0x2c]
or edx, 0x20
mov dword [esp + 0xa8], edx
push edx
lea edx, [esp + 0xf4]
mov eax, dword [ecx]
push edx
call dword [eax + 0x1c]
jmp 0x368c436
test ecx, ecx
jne 0x368d2e6
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x94]
mov dword [esp + 0x94], edi
push edx
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [esp + 0x94]
xorps xmm0, xmm0
movlpd qword [esp + 0x20], xmm0
push dword [esp + 0x24]
push dword [esp + 0x24]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov eax, dword [esp + 0x38]
mov edi, eax
mov dword [esp + 0x30], edi
test eax, eax
je 0x368c484
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x94]
test ecx, ecx
je 0x368c4a4
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x94], 0
test eax, eax
je 0x368c4ca
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x38], 0
jmp 0x368c4ca
mov edi, dword [esp + 0x50]
mov dword [esp + 0x30], edi
test edi, edi
je 0x368c4ca
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov ecx, dword [esp + 0x58]
mov eax, dword [ecx]
call dword [eax + 0x28]
cmp eax, 2
je 0x368c517
mov ecx, dword [esp + 0x50]
lea edx, [esp + 0x18]
mov dword [esp + 0x18], 0
push edx
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [esp + 0x18]
xorps xmm0, xmm0
movlpd qword [esp + 0x20], xmm0
push dword [esp + 0x24]
push dword [esp + 0x24]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x368c517
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebx + 0x24]
mov edx, dword [esp + 0x5c]
lea eax, [esp + 0x84]
push dword [ebx + 8]
lea ecx, [esp + 0x98]
push edi
push eax
call fcn.036b4370
add esp, 0x10
mov edi, dword [eax]
mov dword [esp + 0x18], edi
test edi, edi
je 0x368c549
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov eax, dword [esp + 0x90]
test eax, eax
je 0x368c565
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x90], 0
push dword [esp + 0x5c]
mov ebp, dword [esp + 0x38]
mov ecx, ebp
push edi
call fcn.03686a80
mov ecx, dword [ebx + 4]
mov dword [ecx], eax
mov edi, dword [ebp + 0x138]
mov dword [esp + 0x10], edi
test edi, edi
je 0x368c58e
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x9c]
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
push dword [ebx + 0xc]
mov ecx, ebp
call fcn.03686ef0
test eax, eax
jne 0x368c5d3
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
mov ebp, eax
mov eax, dword [esp + 0x14]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
cmp ebp, eax
je 0x368d30b
mov ebp, dword [esp + 0x34]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x368c5e1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xa0]
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x368c5ff
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x50]
test eax, eax
je 0x368c615
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x50], 0
mov edi, dword [esp + 0x30]
test edi, edi
je 0x368c623
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov eax, dword [esp + 0x58]
test eax, eax
je 0x368c639
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x58], 0
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x368c64f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x2c], 0
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov edi, dword [esp + 0x4c]
mov eax, dword [esp + 0x5a0]
jmp 0x368ba90
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x368c67f
cmp eax, 2
je 0x368c67f
cmp eax, 3
je 0x368c67f
cmp eax, 5
jne 0x368d3f1
mov edx, dword [ebx + 0x24]
mov ecx, edx
and ecx, 1
je 0x368c695
test edx, 0x40
jne 0x368d4d1
test eax, eax
je 0x368c69e
cmp eax, 5
jne 0x368c6a6
test ecx, ecx
jne 0x368d4d1
mov eax, dword [edi + 0x14]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x170]
push 0x100f7c80
push eax
call dword [0x1011f448]
lea eax, [esp + 0xb0]
mov dword [esp + 0xbc], 0
push eax
mov ecx, edi
call fcn.03681ed0
test eax, eax
je 0x368c6ec
cmp dword [esp + 0xbc], 0
je 0x368d2ac
mov ecx, dword [esp + 0x18]
mov dword [edi + 0x14], ecx
mov eax, dword [edi + 0xc]
cmp eax, 0xffffffff
je 0x368c71a
inc eax
cmp ecx, eax
jne 0x368c71a
mov eax, dword [edi]
lea eax, [eax + ecx*2]
add eax, 0xfffffffe
mov dword [esp + 0x8c], eax
mov ax, word [edi + 8]
sub ax, cx
inc ax
jmp 0x368c72d
mov eax, dword [edi]
lea eax, [eax + ecx*2]
mov dword [esp + 0x8c], eax
mov ax, word [edi + 8]
sub ax, cx
mov edx, dword [ebx + 0x24]
add ax, ax
mov edi, edx
mov word [esp + 0x8a], ax
mov word [esp + 0x88], ax
and edi, 1
je 0x368c767
test ax, ax
mov eax, dword [ebx + 0x20]
jne 0x368d4c7
test eax, eax
je 0x368d4d1
cmp eax, 5
je 0x368d4d1
cmp dword [ebp + 0x130], 1
jne 0x368cbe2
mov edx, dword [ebx + 0x18]
and edx, 0xffffff7f
mov dword [esp + 0x14], 0
test edi, edi
jne 0x368c78f
and edx, 0xffffffef
or edx, 0x20
lea eax, [esp + 0x14]
mov ecx, edi
push eax
call fcn.03681310
mov eax, dword [esi]
lea ecx, [esp + 0x18c]
add esp, 4
push ecx
mov ecx, esi
call dword [eax + 0x30]
mov ecx, dword [eax]
mov dword [esp + 0x114], ecx
lea ecx, [esp + 0x390]
mov eax, dword [eax + 4]
mov dword [esp + 0x118], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x2c]
push dword [esp + 0x14]
mov ecx, dword [eax]
mov dword [esp + 0xdc], ecx
mov eax, dword [eax + 4]
mov ecx, dword [ebp + 0x138]
mov dword [esp + 0xe0], eax
xor eax, eax
test edi, edi
mov edx, dword [ecx]
setne al
inc eax
push eax
lea eax, [esp + 0x11c]
push eax
lea eax, [esp + 0xe4]
push eax
lea eax, [esp + 0x64]
push eax
call dword [edx + 0xa8]
mov ecx, dword [esp + 0x394]
lea eax, [esp + 0x398]
cmp eax, ecx
je 0x368c829
call fcn.03707920
mov ecx, dword [esp + 0x18c]
lea eax, [esp + 0x190]
cmp eax, ecx
je 0x368c840
call fcn.03707920
mov ebp, dword [esp + 0x14]
lea eax, [esp + 0x98]
push 0x100f7c80
xor edi, edi
push eax
mov dword [esp + 0x50], edi
call dword [0x1011f448]
mov eax, dword [ebp]
lea ecx, [esp + 0x48]
push ecx
push dword [ebx + 0x24]
lea ecx, [esp + 0xa0]
push dword [ebx + 0x1c]
push dword [ebx + 8]
push ecx
mov ecx, ebp
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x368d5e6
cmp word [esp + 0x88], di
jbe 0x368ca3e
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x40]
push edx
push dword [ebx + 0x24]
mov dword [esp + 0x48], edi
lea edx, [esp + 0x90]
push dword [ebx + 0x1c]
mov eax, dword [ecx]
push dword [ebx + 8]
push edx
call dword [eax + 0x10]
mov ecx, eax
and eax, 0xefffffff
cmp eax, 0xc0000034
jne 0x368c9c3
mov edx, dword [ebx + 0x18]
and edx, 0xffffff7f
test byte [ebx + 0x24], 1
jne 0x368c8dd
and edx, 0xffffffef
or edx, 0x20
mov ecx, dword [esp + 0x14]
lea ebp, [esp + 0x40]
push ebp
push dword [ebx + 0x24]
push dword [ebx + 0x1c]
mov eax, dword [ecx]
push edx
push dword [ebx + 8]
lea edx, [esp + 0x9c]
push edx
call dword [eax + 0xc]
mov ecx, eax
test ecx, ecx
jne 0x368d4e5
push 0xffffffffffffffff
lea eax, [esp + 0x8c]
push eax
lea ecx, [esp + 0x12c]
call fcn.03681d70
cmp dword [esp + 0x130], 0xffffffff
je 0x368c9cb
lea eax, [esp + 0x168]
push eax
lea ecx, [esp + 0x128]
call fcn.036821d0
lea ecx, [esp + 0x124]
mov eax, dword [eax + 4]
push eax
lea eax, [esp + 0x184]
push eax
call fcn.03682040
push 8
mov ecx, dword [eax]
mov dword [esp + 0xd4], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0xd8], eax
lea eax, [esp + 0xd4]
push eax
lea eax, [esp + 0x100]
push eax
call dword [0x1011f348]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x44]
push edx
lea edx, [esp + 0xfc]
push edx
mov eax, dword [ecx]
call dword [eax + 0x18]
test eax, eax
jne 0x368c9cb
mov edx, dword [esp + 0x44]
test edx, 0x20
jne 0x368c9cb
mov ecx, dword [esp + 0x14]
or edx, 0x20
mov dword [esp + 0x44], edx
push edx
lea edx, [esp + 0xfc]
mov eax, dword [ecx]
push edx
call dword [eax + 0x1c]
jmp 0x368c9cb
test ecx, ecx
jne 0x368d4e5
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0x3c]
mov dword [esp + 0x3c], edi
push edx
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [esp + 0x3c]
xorps xmm0, xmm0
movlpd qword [esp + 0x20], xmm0
push dword [esp + 0x24]
push dword [esp + 0x24]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov eax, dword [esp + 0x40]
mov edi, eax
mov dword [esp + 0x18], edi
test eax, eax
je 0x368ca10
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x368ca2a
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x3c], 0
test eax, eax
je 0x368ca50
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x40], 0
jmp 0x368ca50
mov edi, dword [esp + 0x48]
mov dword [esp + 0x18], edi
test edi, edi
je 0x368ca50
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov ecx, dword [esp + 0x54]
mov eax, dword [ecx]
call dword [eax + 0x28]
cmp eax, 2
je 0x368ca9d
mov ecx, dword [esp + 0x48]
lea edx, [esp + 0x30]
mov dword [esp + 0x30], 0
push edx
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [esp + 0x30]
xorps xmm0, xmm0
movlpd qword [esp + 0x20], xmm0
push dword [esp + 0x24]
push dword [esp + 0x24]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov eax, dword [esp + 0x30]
test eax, eax
je 0x368ca9d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebx + 0x24]
mov edx, dword [esp + 0x58]
lea eax, [esp + 0x8c]
push dword [ebx + 8]
lea ecx, [esp + 0x24]
push edi
push eax
call fcn.036b4370
add esp, 0x10
mov edi, dword [eax]
mov dword [esp + 0x20], edi
test edi, edi
je 0x368cacc
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x368cae2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x1c], 0
push dword [esp + 0x5c]
mov ebp, dword [esp + 0x38]
mov ecx, ebp
push edi
call fcn.03686a80
mov ecx, dword [ebx + 4]
mov dword [ecx], eax
mov edi, dword [ebp + 0x138]
mov dword [esp + 0x10], edi
test edi, edi
je 0x368cb0b
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x9c]
lea eax, [esp + 0x30]
mov dword [esp + 0x30], 0
push eax
push dword [ebx + 0xc]
mov ecx, ebp
call fcn.03686ef0
test eax, eax
jne 0x368cb50
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
mov ebp, eax
mov eax, dword [esp + 0x30]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
cmp ebp, eax
je 0x368d50a
mov ebp, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
test eax, eax
je 0x368cb5e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xa0]
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x368cb7c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x48]
test eax, eax
je 0x368cb92
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x48], 0
mov edi, dword [esp + 0x18]
test edi, edi
je 0x368cba0
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov eax, dword [esp + 0x54]
test eax, eax
je 0x368cbb6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x54], 0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x368cbcc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x14], 0
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov edi, dword [esp + 0x4c]
mov eax, dword [esp + 0x5a0]
jmp 0x368ba90
push dword [ebx + 0x2c]
mov ecx, dword [ebp + 0x128]
push dword [ebx + 0x28]
push edx
mov eax, dword [ecx]
push 0
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
push dword [ebx + 0x14]
push dword [ebx + 0x10]
push dword [ebx + 0xc]
push dword [ebx + 8]
push dword [ebx + 4]
call dword [eax + 0x84]
mov dword [esp + 0x10], eax
test eax, eax
je 0x368cc6d
mov ecx, dword [ebp + 0x128]
push dword [ebx + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x88]
mov dword [esp + 0x10], eax
test eax, eax
jne 0x368d649
push dword [ebx + 0x2c]
mov ecx, dword [ebp + 0x128]
push dword [ebx + 0x28]
push dword [ebx + 0x24]
mov eax, dword [ecx]
push 2
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
push dword [ebx + 0x14]
push dword [ebx + 0x10]
push dword [ebx + 0xc]
push dword [ebx + 8]
push dword [ebx + 4]
call dword [eax + 0x84]
mov dword [esp + 0x10], eax
test eax, eax
jne 0x368d649
mov edi, dword [ebp + 0x138]
mov dword [esp + 0x20], edi
test edi, edi
je 0x368cc81
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x9c]
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push eax
push dword [ebx + 0xc]
mov ecx, ebp
call fcn.03686ef0
test eax, eax
jne 0x368ccc6
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
mov ebp, eax
mov eax, dword [esp + 0x18]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
cmp ebp, eax
je 0x368d5f2
mov ebp, dword [esp + 0x34]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x368ccd4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xa0]
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov edi, dword [esp + 0x4c]
mov eax, dword [esp + 0x5a0]
jmp 0x368ba90
call dword [eax + 0x10]
test eax, eax
mov dword [esp + 0x18], 0
lea eax, [esp + 0x18]
mov dword [esp + 0x20], 0xffffffff
push eax
lea eax, [esp + 0x24]
push eax
je 0x368cd65
lea eax, [esp + 0xc8]
push eax
sub esp, 8
push dword [ebx + 0x24]
push dword [ebx + 0x20]
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
push ecx
push dword [ebx + 0x10]
mov ecx, ebp
push edi
push esi
push dword [ebx + 0xc]
push dword [ebx + 8]
push dword [ebx + 4]
call fcn.03687ab0
cmp dword [esp + 0x18], 0
je 0x368d628
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [esp + 0x5a0]
jmp 0x368ba90
lea eax, [esp + 0xcc]
mov ecx, ebp
push eax
push dword [ebx + 0x2c]
push dword [ebx + 0x28]
push dword [ebx + 0x24]
push dword [ebx + 0x20]
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
push dword [ebx + 0x14]
push dword [ebx + 0x10]
push edi
push esi
push dword [ebx + 0xc]
push dword [ebx + 8]
push dword [ebx + 4]
call fcn.03688ef0
cmp dword [esp + 0x18], 0
je 0x368d64f
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [esp + 0x5a0]
jmp 0x368ba90
mov eax, dword [ebx + 0x20]
cmp eax, 1
je 0x368cdd1
cmp eax, 4
je 0x368cdd1
mov eax, 0xc000000d
mov dword [esp + 0x10], eax
mov ebx, eax
jmp 0x368d668
mov eax, 0xc0000034
mov dword [esp + 0x10], eax
mov ebx, eax
jmp 0x368d668
mov eax, dword [esi]
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
call dword [eax + 0x38]
lea edx, [esp + 0x1c]
push edx
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x44]
push dword [esp + 0x60]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x368ce1a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 0x20]
test eax, eax
je 0x368ce28
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x368ce36
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esp + 0x18]
call fcn.036a54c0
push dword [ebx + 0x24]
mov edx, dword [esp + 0x64]
lea ecx, [esp + 0x20]
push dword [ebx + 8]
push dword [esp + 0x7c]
call fcn.036b5480
add esp, 0xc
mov edi, dword [eax]
test edi, edi
je 0x368ce65
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x368ce7b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x1c], 0
mov eax, dword [edi]
lea ecx, [esp + 0x98]
xorps xmm0, xmm0
push ecx
mov ecx, edi
movlpd qword [esp + 0x9c], xmm0
call dword [eax + 0x3c]
push dword [esp + 0x5c]
mov ecx, dword [esp + 0x38]
push edi
call fcn.03686a80
mov ecx, dword [ebx + 4]
push edi
mov dword [ecx], eax
mov eax, dword [edi]
call dword [eax + 8]
mov eax, dword [esp + 0x74]
test eax, eax
je 0x368cec5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x74], 0
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x368cedb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x7c], 0
mov eax, dword [esp + 0x60]
test eax, eax
je 0x368cee9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
mov dword [esp + 0x10], eax
mov ebx, eax
jmp 0x368d668
mov eax, dword [ebx + 0x20]
cmp eax, 1
je 0x368d4a7
cmp eax, 4
je 0x368d4a7
mov eax, 0xc000000d
mov dword [esp + 0x10], eax
mov ebx, eax
jmp 0x368d668
mov eax, dword [esi]
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
call dword [eax + 0x38]
lea edx, [esp + 0x1c]
push edx
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x44]
push dword [esp + 0x70]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x368cf54
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 0x20]
test eax, eax
je 0x368cf62
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x368cf70
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esp + 0x18]
call fcn.036a54c0
push dword [ebx + 0x24]
mov edx, dword [esp + 0x74]
lea ecx, [esp + 0x20]
push dword [ebx + 8]
push dword [esp + 0x70]
call fcn.036b5480
add esp, 0xc
mov edi, dword [eax]
test edi, edi
je 0x368cf9f
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x368cfb5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x1c], 0
push dword [esp + 0x5c]
mov ecx, dword [esp + 0x38]
push edi
call fcn.03686a80
mov ecx, dword [ebx + 4]
mov dword [ecx], eax
test edi, edi
je 0x368cfd2
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov eax, dword [esp + 0x68]
test eax, eax
je 0x368cfe8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x68], 0
mov eax, dword [esp + 0x70]
test eax, eax
je 0x368cffe
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x70], 0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x368d00c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
mov dword [esp + 0x10], eax
mov ebx, eax
jmp 0x368d668
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x64]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x368d02e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esp + 0x20]
call fcn.036a54c0
mov ebx, dword [esp + 0x10]
jmp 0x368d668
mov eax, dword [esi]
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
call dword [eax + 0x38]
lea edx, [esp + 0x1c]
push edx
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x44]
push dword [esp + 0x6c]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x368d079
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 0x20]
test eax, eax
je 0x368d087
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x368d095
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esp + 0x18]
call fcn.036a54c0
push dword [ebx + 0x24]
mov edx, dword [esp + 0x70]
lea ecx, [esp + 0x20]
push dword [ebx + 8]
push dword [esp + 0x6c]
call fcn.036b5480
add esp, 0xc
mov edi, dword [eax]
test edi, edi
je 0x368d0c4
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x368d0da
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x1c], 0
mov eax, dword [edi]
lea ecx, [esp + 0x98]
xorps xmm0, xmm0
push ecx
mov ecx, edi
movlpd qword [esp + 0x9c], xmm0
call dword [eax + 0x3c]
push dword [esp + 0x5c]
mov ecx, dword [esp + 0x38]
push edi
call fcn.03686a80
mov ecx, dword [ebx + 4]
push edi
mov dword [ecx], eax
mov eax, dword [edi]
call dword [eax + 8]
mov eax, dword [esp + 0x64]
test eax, eax
je 0x368d124
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x64], 0
mov eax, dword [esp + 0x78]
test eax, eax
je 0x368d13a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x78], 0
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x368d148
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
mov dword [esp + 0x10], eax
mov ebx, eax
jmp 0x368d668
mov eax, dword [esi]
lea ecx, [esp + 0x44]
push ecx
mov ecx, esi
call dword [eax + 0x50]
mov ecx, dword [esp + 0x44]
lea edx, [esp + 0x3c]
mov dword [esp + 0x3c], 0
push edx
mov eax, dword [ecx]
call dword [eax + 0xc]
push dword [ebx + 0x24]
mov edx, esi
lea ecx, [esp + 0x20]
push dword [ebx + 8]
push dword [esp + 0x44]
call fcn.036b5480
add esp, 0xc
mov edi, dword [eax]
test edi, edi
je 0x368d19b
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x368d1b1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x1c], 0
mov eax, dword [ebx + 0x20]
cmp eax, 4
je 0x368d1be
cmp eax, 5
jne 0x368d1d9
mov eax, dword [edi]
lea ecx, [esp + 0x98]
xorps xmm0, xmm0
push ecx
mov ecx, edi
movlpd qword [esp + 0x9c], xmm0
call dword [eax + 0x3c]
push dword [esp + 0x5c]
mov ecx, ebp
push edi
call fcn.03686a80
mov ecx, dword [ebx + 4]
mov dword [ecx], eax
test edi, edi
je 0x368d1f4
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x368d20a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x3c], 0
mov eax, dword [esp + 0x44]
test eax, eax
je 0x368d218
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor ebx, ebx
jmp 0x368d668
mov eax, 0xc0000035
mov dword [esp + 0x10], eax
mov ebx, eax
jmp 0x368d668
mov eax, dword [ebx + 0x20]
cmp eax, 1
je 0x368d246
cmp eax, 4
je 0x368d246
mov ebx, 0xc000000d
jmp 0x368d668
lea ecx, [esp + 0xb0]
call fcn.03682220
lea eax, [esp + 0xb0]
mov ecx, edi
push eax
call fcn.03681ed0
test eax, eax
je 0x368d27f
mov eax, dword [esp + 0xbc]
test eax, eax
jne 0x368d27a
mov ebx, 0xc000003a
jmp 0x368d668
cmp eax, 1
jne 0x368d298
cmp dword [ebx + 0x20], 4
jne 0x368d2a2
test dword [ebx + 0x24], 1
je 0x368d2a2
mov ebx, 0xc000000d
jmp 0x368d668
mov ebx, 0xc0000229
jmp 0x368d668
mov ebx, 0xc0000034
jmp 0x368d668
mov eax, dword [esp + 0x18]
mov ebx, 0xc000003a
mov dword [edi + 0x14], eax
jmp 0x368d668
mov eax, dword [ebx + 0x20]
cmp eax, 2
je 0x368d2d8
cmp eax, 3
je 0x368d2d8
mov eax, 0xc000000d
mov dword [esp + 0x10], eax
jmp 0x368d3ca
mov eax, 0xc0000103
mov dword [esp + 0x10], eax
jmp 0x368d3ca
mov eax, dword [esp + 0x38]
and ecx, 0xefffffff
mov dword [esp + 0x10], ecx
test eax, eax
je 0x368d394
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x38], edi
jmp 0x368d394
mov eax, dword [esi]
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
call dword [eax + 0x38]
lea edx, [esp + 0x1c]
push edx
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x40]
push dword [esp + 0x58]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x368d344
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 0x20]
test eax, eax
je 0x368d352
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x368d360
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esp + 0x10]
call fcn.036a54c0
mov eax, dword [ebx + 0x10]
mov dword [eax + 4], 2
mov eax, dword [ebx + 0x10]
mov dword [eax], 0
xor eax, eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
test eax, eax
je 0x368d390
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x50]
test eax, eax
je 0x368d3aa
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x50], 0
test edi, edi
je 0x368d3b4
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov eax, dword [esp + 0x58]
test eax, eax
je 0x368d3ca
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x58], 0
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x368d649
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ebx, dword [esp + 0x10]
jmp 0x368d668
and ecx, 0xefffffff
mov dword [esp + 0x10], ecx
jmp 0x368d394
mov eax, dword [ebx + 0x20]
cmp eax, 1
je 0x368d40e
cmp eax, 4
je 0x368d40e
mov eax, 0xc000000d
mov dword [esp + 0x10], eax
mov ebx, eax
jmp 0x368d668
mov edx, dword [ebx + 0x24]
mov ecx, edx
and ecx, 1
je 0x368d430
test edx, 0x40
je 0x368d430
mov eax, 0xc000000d
mov dword [esp + 0x10], eax
mov ebx, eax
jmp 0x368d668
cmp eax, 4
jne 0x368d449
test ecx, ecx
je 0x368d449
mov eax, 0xc000000d
mov dword [esp + 0x10], eax
mov ebx, eax
jmp 0x368d668
lea ecx, [esp + 0xb0]
call fcn.03682220
lea eax, [esp + 0xb0]
mov ecx, edi
push eax
call fcn.03681ed0
test eax, eax
je 0x368d488
mov eax, dword [esp + 0xbc]
test eax, eax
jne 0x368d483
mov eax, 0xc000003a
mov dword [esp + 0x10], eax
mov ebx, eax
jmp 0x368d668
cmp eax, 1
jne 0x368d4b7
cmp dword [ebx + 0x20], 4
jne 0x368d4a7
test dword [ebx + 0x24], 1
je 0x368d4a7
mov eax, 0xc000000d
mov dword [esp + 0x10], eax
mov ebx, eax
jmp 0x368d668
mov eax, 0xc0000034
mov dword [esp + 0x10], eax
mov ebx, eax
jmp 0x368d668
mov eax, 0xc0000229
mov dword [esp + 0x10], eax
mov ebx, eax
jmp 0x368d668
cmp eax, 2
je 0x368d4db
cmp eax, 3
je 0x368d4db
mov ebx, 0xc000000d
jmp 0x368d668
mov ebx, 0xc0000103
jmp 0x368d668
mov eax, dword [esp + 0x40]
and ecx, 0xefffffff
mov dword [esp + 0x10], ecx
test eax, eax
je 0x368d599
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x40], edi
jmp 0x368d599
mov eax, dword [esi]
lea ecx, [esp + 0x90]
push ecx
mov ecx, esi
call dword [eax + 0x38]
lea edx, [esp + 0x44]
push edx
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x40]
push dword [esp + 0x54]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [esp + 0x44]
test eax, eax
je 0x368d546
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x44], 0
mov eax, dword [esp + 0x90]
test eax, eax
je 0x368d557
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x30]
test eax, eax
je 0x368d565
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esp + 0x10]
call fcn.036a54c0
mov eax, dword [ebx + 0x10]
mov dword [eax + 4], 2
mov eax, dword [ebx + 0x10]
mov dword [eax], 0
xor eax, eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x20]
test eax, eax
je 0x368d595
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x48]
test eax, eax
je 0x368d5af
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x48], 0
test edi, edi
je 0x368d5b9
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov eax, dword [esp + 0x54]
test eax, eax
je 0x368d5cf
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x54], 0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x368d649
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ebx, dword [esp + 0x10]
jmp 0x368d668
and ecx, 0xefffffff
mov dword [esp + 0x10], ecx
jmp 0x368d599
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x64]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x368d607
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esp + 0x20]
call fcn.036a54c0
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x368d649
mov eax, dword [ebx + 0x10]
mov ebx, dword [esp + 0x10]
mov dword [eax + 4], 2
jmp 0x368d668
cmp dword [esp + 0x20], 0
je 0x368d63e
mov ecx, ebx
call fcn.0369e660
mov dword [esp + 0x10], eax
mov ebx, eax
jmp 0x368d668
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x10], eax
mov ebx, dword [esp + 0x10]
jmp 0x368d668
cmp dword [esp + 0x20], 0
je 0x368d661
mov ecx, ebx
call fcn.0369e660
mov ebx, eax
jmp 0x368d668
mov ebx, dword [esp + 0xc4]
test esi, esi
je 0x368d672
mov ecx, dword [esi]
push esi
call dword [ecx + 8]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x58c
ret 8