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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5a4
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
test dword [ebx + 8], 0x100000
mov dword [esp + 0x18], edi
je 0x497bf2
test dword [ebx + 0x24], 0x30
mov dword [esp + 0x48], 1
je 0x497bfa
mov dword [esp + 0x48], 0
mov esi, dword [ebp + 8]
lea ecx, [ecx]
lea eax, [esp + 0x10]
mov ecx, esi
push eax
call fcn.004b5290
mov ecx, esi
call fcn.004b52b0
mov ecx, dword [esp + 0x10]
mov esi, eax
mov dword [esp + 0xc], esi
mov edx, dword [ecx]
call dword [edx + 0x28]
cmp eax, 3
jne 0x49814a
mov ecx, esi
call fcn.004966e0
test eax, eax
jne 0x49954f
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x60]
mov ecx, dword [esp + 0x10]
test eax, eax
mov eax, dword [ecx]
je 0x497fc1
call dword [eax + 0x10]
test eax, eax
mov eax, dword [ebx + 0x20]
je 0x497dd5
test eax, eax
je 0x497c76
cmp eax, 2
je 0x497c76
cmp eax, 3
je 0x497c76
cmp eax, 5
jne 0x498e1d
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x150]
push eax
lea edx, [esp + 0x1a4]
push edx
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov ecx, eax
call fcn.004ce8b0
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x9c]
mov esi, dword [edi + 0x138]
push edx
mov eax, dword [ecx]
call dword [eax + 0x50]
mov edx, dword [esi]
mov ecx, esi
push dword [eax]
lea eax, [esp + 0x154]
push eax
lea eax, [esp + 0x64]
push eax
call dword [edx + 0xa4]
mov eax, dword [esp + 0x9c]
test eax, eax
je 0x497ce2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x9c], 0
lea ecx, [esp + 0x1a0]
call fcn.004cece0
mov ecx, dword [esp + 0x5c]
lea edx, [esp + 0x74]
push edx
mov eax, dword [ecx]
call dword [eax + 0x50]
mov ecx, dword [esp + 0x74]
lea edx, [esp + 0x64]
mov dword [esp + 0x64], 0
push edx
mov eax, dword [ecx]
call dword [eax + 0xc]
push dword [edi + 0x138]
lea ecx, [esp + 0x38]
call fcn.004b52c0
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
push dword [ebx + 0xc]
mov ecx, edi
call fcn.0049fff0
mov esi, dword [esp + 0x14]
test eax, eax
jne 0x497d5e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
mov ecx, dword [esp + 0x10]
mov edi, eax
mov edx, dword [ecx]
call dword [edx + 0xc]
cmp eax, edi
je 0x498e4a
mov edi, dword [esp + 0x18]
test esi, esi
je 0x497d68
mov eax, dword [esi]
push esi
call dword [eax + 8]
lea ecx, [esp + 0x34]
call fcn.004b52f0
mov eax, dword [esp + 0x64]
test eax, eax
je 0x497d87
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x64], 0
mov eax, dword [esp + 0x74]
test eax, eax
je 0x497d9d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x74], 0
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x497db3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x5c], 0
mov eax, dword [esp + 0x10]
mov esi, dword [ebp + 8]
test eax, eax
je 0x497c00
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x10], 0
jmp 0x497c00
test eax, eax
je 0x497dec
cmp eax, 2
je 0x497dec
cmp eax, 3
je 0x497dec
cmp eax, 5
jne 0x498f5e
cmp dword [edi + 0x130], 1
jne 0x497f19
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
call fcn.00497250
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x13c]
add esp, 4
lea edx, [esp + 0x1a0]
push eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x2c]
mov ecx, eax
call fcn.004ce8b0
mov ecx, dword [edi + 0x138]
lea edx, [esp + 0x138]
push dword [esp + 0x14]
push edx
mov eax, dword [ecx]
lea edx, [esp + 0x68]
push edx
call dword [eax + 0xa4]
lea ecx, [esp + 0x1a0]
call fcn.004cece0
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x58]
mov dword [esp + 0x58], 0
push edx
mov eax, dword [ecx]
call dword [eax + 0xc]
push dword [edi + 0x138]
lea ecx, [esp + 0x70]
call fcn.004b52c0
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
push dword [ebx + 0xc]
mov ecx, edi
call fcn.0049fff0
mov esi, dword [esp + 0xc]
test eax, eax
jne 0x497ebb
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
mov ecx, dword [esp + 0x10]
mov edi, eax
mov edx, dword [ecx]
call dword [edx + 0xc]
cmp eax, edi
je 0x498f83
mov edi, dword [esp + 0x18]
test esi, esi
je 0x497ec5
mov eax, dword [esi]
push esi
call dword [eax + 8]
lea ecx, [esp + 0x6c]
call fcn.004b52f0
mov eax, dword [esp + 0x58]
test eax, eax
je 0x497ee4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x58], 0
mov eax, dword [esp + 0x60]
test eax, eax
je 0x497efa
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x60], 0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x497db3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x14], 0
jmp 0x497db3
push dword [ebx + 0x2c]
mov ecx, dword [edi + 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 + 0xc], eax
test eax, eax
jne 0x4996bc
push dword [edi + 0x138]
lea ecx, [esp + 0x3c]
call fcn.004b52c0
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
push dword [ebx + 0xc]
mov ecx, edi
call fcn.0049fff0
mov esi, dword [esp + 0x14]
test eax, eax
jne 0x497fa9
mov eax, dword [esp + 0x10]
mov ecx, esi
mov dword [esp + 0x14], eax
mov eax, dword [esi]
call dword [eax + 0xc]
mov edi, eax
mov eax, dword [esp + 0x14]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
cmp eax, edi
je 0x499080
mov edi, dword [esp + 0x18]
test esi, esi
je 0x497fb3
mov eax, dword [esi]
push esi
call dword [eax + 8]
lea ecx, [esp + 0x38]
call fcn.004b52f0
jmp 0x497db3
call dword [eax + 0x10]
test eax, eax
je 0x4996c9
mov eax, dword [ebx + 0x20]
test eax, eax
jne 0x49811d
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x140]
push eax
lea edx, [esp + 0x1a4]
push edx
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov ecx, eax
call fcn.004ce8b0
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0xb0]
mov esi, dword [edi + 0x138]
push edx
mov eax, dword [ecx]
call dword [eax + 0x50]
mov edx, dword [esi]
mov ecx, esi
push dword [eax]
lea eax, [esp + 0x144]
push eax
lea eax, [esp + 0x58]
push eax
call dword [edx + 0xa4]
mov eax, dword [esp + 0xb0]
test eax, eax
je 0x498043
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0xb0], 0
lea ecx, [esp + 0x1a0]
call fcn.004cece0
mov ecx, dword [esp + 0x50]
lea edx, [esp + 0x70]
push edx
mov eax, dword [ecx]
call dword [eax + 0x50]
mov ecx, dword [esp + 0x70]
lea edx, [esp + 0x54]
mov dword [esp + 0x54], 0
push edx
mov eax, dword [ecx]
call dword [eax + 0xc]
push dword [edi + 0x138]
lea ecx, [esp + 0x24]
call fcn.004b52c0
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
push dword [ebx + 0xc]
mov ecx, edi
call fcn.0049fff0
mov esi, dword [esp + 0x14]
test eax, eax
jne 0x4980bf
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
mov ecx, dword [esp + 0x10]
mov edi, eax
mov edx, dword [ecx]
call dword [edx + 0xc]
cmp eax, edi
je 0x4990a5
mov edi, dword [esp + 0x18]
test esi, esi
je 0x4980c9
mov eax, dword [esi]
push esi
call dword [eax + 8]
lea ecx, [esp + 0x20]
call fcn.004b52f0
mov eax, dword [esp + 0x54]
test eax, eax
je 0x4980e8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x54], 0
mov eax, dword [esp + 0x70]
test eax, eax
je 0x4980fe
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x70], 0
mov eax, dword [esp + 0x50]
test eax, eax
je 0x497db3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x50], 0
jmp 0x497db3
cmp eax, 2
je 0x499288
cmp eax, 1
je 0x4991b9
cmp eax, 3
je 0x4991b9
cmp eax, 4
je 0x4991b9
cmp eax, 5
je 0x4991b9
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x60]
mov ecx, dword [esp + 0x10]
test eax, eax
mov eax, dword [ecx]
je 0x498d3a
call dword [eax + 0x10]
test eax, eax
je 0x4986f9
push dword [ebx + 8]
push dword [ebx + 0x24]
call fcn.004b5320
add esp, 8
test eax, eax
je 0x49954f
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x498193
cmp eax, 4
je 0x498193
cmp eax, 5
jne 0x4981a0
test dword [ebx + 0x24], 1
jne 0x49954f
test eax, eax
je 0x4981b7
cmp eax, 2
je 0x4981b7
cmp eax, 3
je 0x4981b7
cmp eax, 5
jne 0x499298
push esi
lea ecx, [esp + 0xfc]
call fcn.00496190
lea ecx, [esp + 0x160]
call fcn.004961b0
lea eax, [esp + 0x160]
mov ecx, esi
push eax
call fcn.004962a0
test eax, eax
je 0x4981f1
cmp dword [esp + 0x16c], 0
je 0x499315
lea ecx, [esp + 0xf8]
call fcn.004961f0
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x1c]
push edx
mov eax, dword [ecx]
call dword [eax + 0x4c]
lea eax, [esp + 0x8c]
mov ecx, esi
push eax
call fcn.004963e0
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x28]
test dword [ebx + 0x24], 1
mov esi, eax
je 0x498297
cmp word [esp + 0x8c], 0
ja 0x49932b
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x499338
cmp ecx, 5
je 0x499338
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x28]
cmp eax, 2
je 0x498297
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x49826d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push eax
push 1
push dword [ebx + 0x18]
call fcn.004b5d30
add esp, 8
push eax
push 1
call fcn.00493540
add esp, 0xc
mov esi, 2
mov eax, dword [ebx + 0x24]
test al, 0x40
jne 0x4982a2
test al, 1
jne 0x4982e8
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x28]
cmp eax, 2
jne 0x4982e8
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4982be
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push eax
push 0
push dword [ebx + 0x18]
call fcn.004b5d30
add esp, 8
push eax
push 0
call fcn.00493540
add esp, 0xc
mov esi, 1
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x130]
push eax
lea edx, [esp + 0x3ac]
push edx
mov eax, dword [ecx]
call dword [eax + 0x30]
mov ecx, eax
call fcn.004ce8b0
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x158]
push eax
lea edx, [esp + 0x1a4]
push edx
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov ecx, eax
call fcn.004ce8b0
push dword [esp + 0x1c]
mov ecx, dword [edi + 0x138]
lea edx, [esp + 0x134]
push esi
push edx
lea edx, [esp + 0x164]
mov eax, dword [ecx]
push edx
lea edx, [esp + 0x54]
push edx
call dword [eax + 0xa8]
lea ecx, [esp + 0x1a0]
call fcn.004cece0
lea ecx, [esp + 0x3a8]
call fcn.004cece0
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x170]
xor edi, edi
mov dword [esp + 0x40], edi
mov eax, dword [esi]
add eax, 0x10
mov dword [esp + 0x14], eax
lea eax, [esp + 0x40]
push eax
push dword [ebx + 0x24]
push dword [ebx + 0x1c]
push dword [ebx + 8]
push 0x100e03cc
call fcn.004ce920
mov ecx, eax
call fcn.004ceb60
push eax
mov eax, dword [esp + 0x28]
mov ecx, esi
call dword [eax]
mov ecx, eax
test ecx, ecx
jne 0x4993fe
cmp word [esp + 0x8c], di
jbe 0x49856f
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x28]
push edx
push dword [ebx + 0x24]
mov dword [esp + 0x30], edi
lea edx, [esp + 0x94]
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 0x4984eb
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x28]
push edx
push dword [ebx + 0x24]
lea edx, [esp + 0x94]
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 0x499354
mov ecx, dword [esp + 0xc]
call fcn.004966f0
test eax, eax
je 0x4984f3
lea ecx, [esp + 0x114]
call fcn.004ceb60
push dword [0x100f10d0]
lea eax, [esp + 0x90]
push eax
lea ecx, [esp + 0x11c]
call fcn.00496560
lea eax, [esp + 0x190]
push eax
lea ecx, [esp + 0x118]
call fcn.00496510
lea ecx, [esp + 0x114]
mov eax, dword [eax + 4]
push eax
lea eax, [esp + 0x17c]
push eax
call fcn.00496200
lea ecx, [esp + 0x10c]
push dword [eax + 4]
push dword [eax]
call fcn.004ce960
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0xa8]
push eax
lea ecx, [esp + 0x110]
mov edi, dword [esi]
call fcn.004ceb60
push eax
mov ecx, esi
call dword [edi + 0x18]
test eax, eax
jne 0x4984f3
mov eax, dword [esp + 0xa8]
test al, 0x20
jne 0x4984f3
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x10c]
or eax, 0x20
mov dword [esp + 0xa8], eax
push eax
mov edi, dword [esi]
call fcn.004ceb60
push eax
mov ecx, esi
call dword [edi + 0x1c]
jmp 0x4984f3
test ecx, ecx
jne 0x499354
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x7c]
mov dword [esp + 0x7c], 0
push edx
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [esp + 0x7c]
xorps xmm0, xmm0
movlpd qword [esp + 0xd8], xmm0
push dword [esp + 0xdc]
push dword [esp + 0xdc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov eax, dword [esp + 0x28]
mov edi, eax
test eax, eax
je 0x498541
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x7c]
test ecx, ecx
je 0x49855b
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x7c], 0
test eax, eax
je 0x49857d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x28], 0
jmp 0x49857d
mov edi, dword [esp + 0x40]
test edi, edi
je 0x49857d
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov ecx, dword [esp + 0x44]
mov eax, dword [ecx]
call dword [eax + 0x28]
cmp eax, 2
je 0x4985d3
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0x14]
mov dword [esp + 0x14], 0
push edx
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [esp + 0x14]
xorps xmm0, xmm0
movlpd qword [esp + 0xf0], xmm0
push dword [esp + 0xf4]
push dword [esp + 0xf4]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4985d3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebx + 0x24]
lea eax, [esp + 0x90]
push dword [ebx + 8]
push edi
push eax
push dword [esp + 0x54]
lea eax, [esp + 0xc8]
push eax
call fcn.004c18e0
add esp, 0x18
mov esi, dword [eax]
test esi, esi
je 0x498602
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [esp + 0xb4]
test eax, eax
je 0x49861e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0xb4], 0
push dword [esp + 0x48]
mov ecx, dword [esp + 0x1c]
push esi
call fcn.0049f7b0
mov ecx, dword [ebx + 4]
mov dword [ecx], eax
lea ecx, [esp + 0x68]
mov eax, dword [esp + 0x18]
push dword [eax + 0x138]
call fcn.004b52c0
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x14]
push eax
push dword [ebx + 0xc]
mov dword [esp + 0x1c], 0
call fcn.0049fff0
test eax, eax
jne 0x498683
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x14]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
cmp dword [esp + 0xc], eax
je 0x499379
mov eax, dword [esp + 0x14]
test eax, eax
je 0x498691
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esp + 0x68]
call fcn.004b52f0
test esi, esi
je 0x4986a4
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4986ba
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x40], 0
test edi, edi
je 0x4986c4
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov eax, dword [esp + 0x44]
test eax, eax
je 0x4986da
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x44], 0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4986f0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x1c], 0
mov edi, dword [esp + 0x18]
jmp 0x497db3
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x498713
cmp eax, 2
je 0x498713
cmp eax, 3
je 0x498713
cmp eax, 5
jne 0x499459
mov edx, dword [ebx + 0x24]
mov ecx, edx
and ecx, 1
je 0x498729
test edx, 0x40
jne 0x49954f
test eax, eax
je 0x498732
cmp eax, 5
jne 0x49873a
test ecx, ecx
jne 0x49954f
push esi
lea ecx, [esp + 0xec]
call fcn.00496190
lea ecx, [esp + 0xb8]
call fcn.004961b0
lea eax, [esp + 0xb8]
mov ecx, esi
push eax
call fcn.004962a0
test eax, eax
je 0x498774
cmp dword [esp + 0xc4], 0
je 0x49952f
lea ecx, [esp + 0xe8]
call fcn.004961f0
lea eax, [esp + 0x94]
mov ecx, esi
push eax
call fcn.004963e0
mov edx, dword [ebx + 0x24]
mov esi, edx
and esi, 1
je 0x4987bc
cmp word [esp + 0x94], 0
mov eax, dword [ebx + 0x20]
ja 0x499545
test eax, eax
je 0x49954f
cmp eax, 5
je 0x49954f
cmp dword [edi + 0x130], 1
jne 0x498c22
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
push esi
push dword [ebx + 0x18]
call fcn.004b5d30
add esp, 8
push eax
push esi
call fcn.00493540
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x154]
add esp, 0xc
lea edx, [esp + 0x1a0]
push eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x30]
mov ecx, eax
call fcn.004ce8b0
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x80]
push eax
lea edx, [esp + 0x3ac]
push edx
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov ecx, eax
call fcn.004ce8b0
push dword [esp + 0x14]
mov ecx, dword [edi + 0x138]
xor eax, eax
test esi, esi
setne al
mov edx, dword [ecx]
inc eax
push eax
lea eax, [esp + 0x150]
push eax
lea eax, [esp + 0x8c]
push eax
lea eax, [esp + 0x4c]
push eax
call dword [edx + 0xa8]
lea ecx, [esp + 0x3a8]
call fcn.004cece0
lea ecx, [esp + 0x1a0]
call fcn.004cece0
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x188]
xor edi, edi
mov dword [esp + 0x4c], edi
mov eax, dword [esi]
add eax, 0x10
mov dword [esp + 0xc], eax
lea eax, [esp + 0x4c]
push eax
push dword [ebx + 0x24]
push dword [ebx + 0x1c]
push dword [ebx + 8]
push 0x100e03cc
call fcn.004ce920
mov ecx, eax
call fcn.004ceb60
push eax
mov eax, dword [esp + 0x20]
mov ecx, esi
call dword [eax]
mov ecx, eax
test ecx, ecx
jne 0x499610
cmp word [esp + 0x94], di
jbe 0x498a98
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x2c]
push edx
push dword [ebx + 0x24]
mov dword [esp + 0x34], edi
lea edx, [esp + 0x9c]
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 0x498a14
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x2c]
push ecx
mov eax, dword [esi]
add eax, 0xc
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x24]
push eax
push dword [ebx + 0x1c]
and eax, 1
push eax
push dword [ebx + 0x18]
call fcn.004b5d30
add esp, 8
mov ecx, esi
push eax
push dword [ebx + 8]
lea eax, [esp + 0xa8]
push eax
mov eax, dword [esp + 0x24]
call dword [eax]
mov ecx, eax
test ecx, ecx
jne 0x499563
lea ecx, [esp + 0x114]
call fcn.004ceb60
push dword [0x100f10d0]
lea eax, [esp + 0x98]
push eax
lea ecx, [esp + 0x11c]
call fcn.00496560
lea ecx, [esp + 0x114]
call fcn.004966f0
test eax, eax
je 0x498a1c
lea eax, [esp + 0x180]
push eax
lea ecx, [esp + 0x118]
call fcn.00496510
lea ecx, [esp + 0x114]
mov eax, dword [eax + 4]
push eax
lea eax, [esp + 0x19c]
push eax
call fcn.00496200
lea ecx, [esp + 0xe0]
push dword [eax + 4]
push dword [eax]
call fcn.004ce960
mov esi, dword [esp + 0x14]
lea eax, [esp + 0xac]
push eax
lea ecx, [esp + 0xe4]
mov edi, dword [esi]
call fcn.004ceb60
push eax
mov ecx, esi
call dword [edi + 0x18]
test eax, eax
jne 0x498a1c
mov eax, dword [esp + 0xac]
test al, 0x20
jne 0x498a1c
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0xe0]
or eax, 0x20
mov dword [esp + 0xac], eax
push eax
mov edi, dword [esi]
call fcn.004ceb60
push eax
mov ecx, esi
call dword [edi + 0x1c]
jmp 0x498a1c
test ecx, ecx
jne 0x499563
mov ecx, dword [esp + 0x2c]
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 + 0xd0], xmm0
push dword [esp + 0xd4]
push dword [esp + 0xd4]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov eax, dword [esp + 0x2c]
mov edi, eax
test eax, eax
je 0x498a6a
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x498a84
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x30], 0
test eax, eax
je 0x498aa6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x2c], 0
jmp 0x498aa6
mov edi, dword [esp + 0x4c]
test edi, edi
je 0x498aa6
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx]
call dword [eax + 0x28]
cmp eax, 2
je 0x498afc
mov ecx, dword [esp + 0x4c]
lea edx, [esp + 0xc]
mov dword [esp + 0xc], 0
push edx
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [esp + 0xc]
xorps xmm0, xmm0
movlpd qword [esp + 0x100], xmm0
push dword [esp + 0x104]
push dword [esp + 0x104]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x498afc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebx + 0x24]
lea eax, [esp + 0x98]
push dword [ebx + 8]
push edi
push eax
push dword [esp + 0x4c]
lea eax, [esp + 0x8c]
push eax
call fcn.004c18e0
add esp, 0x18
mov esi, dword [eax]
test esi, esi
je 0x498b2b
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [esp + 0x78]
test eax, eax
je 0x498b41
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x78], 0
push dword [esp + 0x48]
mov ecx, dword [esp + 0x1c]
push esi
call fcn.0049f7b0
mov ecx, dword [ebx + 4]
mov dword [ecx], eax
lea ecx, [esp + 0xa0]
mov eax, dword [esp + 0x18]
push dword [eax + 0x138]
call fcn.004b52c0
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0xc]
push eax
push dword [ebx + 0xc]
mov dword [esp + 0x14], 0
call fcn.0049fff0
test eax, eax
jne 0x498ba9
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xc]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
cmp dword [esp + 0x24], eax
je 0x499588
mov eax, dword [esp + 0xc]
test eax, eax
je 0x498bb7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esp + 0xa0]
call fcn.004b52f0
test esi, esi
je 0x498bcd
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x498be3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x4c], 0
test edi, edi
je 0x498bed
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x498c03
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x3c], 0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x498c19
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x14], 0
mov edi, dword [esp + 0x18]
jmp 0x497db3
push dword [ebx + 0x2c]
mov ecx, dword [edi + 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 edi, eax
mov dword [esp + 0xc], edi
test edi, edi
mov edi, dword [esp + 0x18]
je 0x498cb3
mov ecx, dword [edi + 0x128]
push dword [ebx + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x88]
mov dword [esp + 0xc], eax
test eax, eax
jne 0x4996bc
push dword [ebx + 0x2c]
mov ecx, dword [edi + 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 + 0xc], eax
test eax, eax
jne 0x4996bc
push dword [edi + 0x138]
lea ecx, [esp + 0xa8]
call fcn.004b52c0
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
push dword [ebx + 0xc]
mov ecx, edi
call fcn.0049fff0
mov esi, dword [esp + 0x14]
test eax, eax
jne 0x498d02
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov edx, dword [esi]
mov ecx, esi
mov edi, eax
call dword [edx + 0xc]
cmp edi, eax
je 0x499664
mov edi, dword [esp + 0x18]
test esi, esi
je 0x498d0c
mov eax, dword [esi]
push esi
call dword [eax + 8]
lea ecx, [esp + 0xa4]
call fcn.004b52f0
mov eax, dword [esp + 0x10]
mov esi, dword [ebp + 8]
test eax, eax
je 0x497c00
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x10], 0
jmp 0x497c00
call dword [eax + 0x10]
test eax, eax
mov dword [esp + 0x14], 0
lea eax, [esp + 0x14]
mov dword [esp + 0xc], 0xffffffff
push eax
lea eax, [esp + 0x10]
mov ecx, edi
push eax
je 0x498dbd
lea eax, [esp + 0xd4]
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 esi
push dword [esp + 0x40]
push dword [ebx + 0xc]
push dword [ebx + 8]
push dword [ebx + 4]
call fcn.004a3ec0
cmp dword [esp + 0x14], 0
je 0x49969b
mov eax, dword [esp + 0x10]
mov esi, dword [ebp + 8]
test eax, eax
je 0x497c00
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x10], 0
jmp 0x497c00
lea eax, [esp + 0xd0]
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 esi
push dword [esp + 0x40]
push dword [ebx + 0xc]
push dword [ebx + 8]
push dword [ebx + 4]
call fcn.004a1e20
cmp dword [esp + 0x14], 0
je 0x4996c2
mov eax, dword [esp + 0x10]
mov esi, dword [ebp + 8]
test eax, eax
je 0x497c00
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x10], 0
jmp 0x497c00
mov eax, dword [ebx + 0x20]
cmp eax, 1
je 0x498e3a
cmp eax, 4
je 0x498e3a
mov eax, 0xc000000d
mov dword [esp + 0xc], eax
mov ebx, eax
jmp 0x4996db
mov eax, 0xc0000034
mov dword [esp + 0xc], eax
mov ebx, eax
jmp 0x4996db
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x24]
push edx
mov eax, dword [ecx]
call dword [eax + 0x38]
lea edx, [esp + 0x78]
push edx
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x44]
push dword [esp + 0x5c]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [esp + 0x78]
test eax, eax
je 0x498e85
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x78], 0
mov eax, dword [esp + 0x24]
test eax, eax
je 0x498e93
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
test esi, esi
je 0x498e9d
mov eax, dword [esi]
push esi
call dword [eax + 8]
lea ecx, [esp + 0x34]
call fcn.004b52f0
push dword [ebx + 0x24]
lea eax, [esp + 0x38]
push dword [ebx + 8]
push dword [esp + 0x6c]
push dword [esp + 0x68]
push eax
call fcn.004c2fe0
add esp, 0x14
mov esi, dword [eax]
test esi, esi
je 0x498ecd
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [esp + 0x34]
test eax, eax
je 0x498ee3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x34], 0
mov eax, dword [esi]
lea ecx, [esp + 0x80]
xorps xmm0, xmm0
push ecx
mov ecx, esi
movlpd qword [esp + 0x84], xmm0
call dword [eax + 0x3c]
push dword [esp + 0x48]
mov ecx, dword [esp + 0x1c]
push esi
call fcn.0049f7b0
mov ecx, dword [ebx + 4]
push esi
mov dword [ecx], eax
mov eax, dword [esi]
call dword [eax + 8]
mov eax, dword [esp + 0x64]
test eax, eax
je 0x498f2d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x64], 0
mov eax, dword [esp + 0x74]
test eax, eax
je 0x498f43
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x74], 0
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x498f51
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
mov dword [esp + 0xc], eax
mov ebx, eax
jmp 0x4996db
mov eax, dword [ebx + 0x20]
cmp eax, 1
je 0x49950f
cmp eax, 4
je 0x49950f
mov eax, 0xc000000d
mov dword [esp + 0xc], eax
mov ebx, eax
jmp 0x4996db
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x24]
push edx
mov eax, dword [ecx]
call dword [eax + 0x38]
lea edx, [esp + 0x34]
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 + 0x34]
test eax, eax
je 0x498fbe
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x34], 0
mov eax, dword [esp + 0x24]
test eax, eax
je 0x498fcc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
test esi, esi
je 0x498fd6
mov eax, dword [esi]
push esi
call dword [eax + 8]
lea ecx, [esp + 0x6c]
call fcn.004b52f0
push dword [ebx + 0x24]
lea eax, [esp + 0x70]
push dword [ebx + 8]
push dword [esp + 0x60]
push dword [esp + 0x6c]
push eax
call fcn.004c2fe0
add esp, 0x14
mov esi, dword [eax]
test esi, esi
je 0x499006
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x49901c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x6c], 0
push dword [esp + 0x48]
mov ecx, dword [esp + 0x1c]
push esi
call fcn.0049f7b0
mov ecx, dword [ebx + 4]
mov dword [ecx], eax
test esi, esi
je 0x499039
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [esp + 0x58]
test eax, eax
je 0x49904f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x58], 0
mov eax, dword [esp + 0x60]
test eax, eax
je 0x499065
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x60], 0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x499073
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
mov dword [esp + 0xc], eax
mov ebx, eax
jmp 0x4996db
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x64]
test esi, esi
je 0x499093
mov eax, dword [esi]
push esi
call dword [eax + 8]
lea ecx, [esp + 0x38]
call fcn.004b52f0
mov ebx, dword [esp + 0xc]
jmp 0x4996db
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x24]
push edx
mov eax, dword [ecx]
call dword [eax + 0x38]
lea edx, [esp + 0x38]
push edx
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x44]
push dword [esp + 0x50]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4990e0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x38], 0
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4990ee
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
test esi, esi
je 0x4990f8
mov eax, dword [esi]
push esi
call dword [eax + 8]
lea ecx, [esp + 0x20]
call fcn.004b52f0
push dword [ebx + 0x24]
lea eax, [esp + 0x24]
push dword [ebx + 8]
push dword [esp + 0x5c]
push dword [esp + 0x5c]
push eax
call fcn.004c2fe0
add esp, 0x14
mov esi, dword [eax]
test esi, esi
je 0x499128
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x49913e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x20], 0
mov eax, dword [esi]
lea ecx, [esp + 0x80]
xorps xmm0, xmm0
push ecx
mov ecx, esi
movlpd qword [esp + 0x84], xmm0
call dword [eax + 0x3c]
push dword [esp + 0x48]
mov ecx, dword [esp + 0x1c]
push esi
call fcn.0049f7b0
mov ecx, dword [ebx + 4]
push esi
mov dword [ecx], eax
mov eax, dword [esi]
call dword [eax + 8]
mov eax, dword [esp + 0x54]
test eax, eax
je 0x499188
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x54], 0
mov eax, dword [esp + 0x70]
test eax, eax
je 0x49919e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x70], 0
mov eax, dword [esp + 0x50]
test eax, eax
je 0x4991ac
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
mov dword [esp + 0xc], eax
mov ebx, eax
jmp 0x4996db
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x38]
push edx
mov eax, dword [ecx]
call dword [eax + 0x50]
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x30]
mov dword [esp + 0x30], 0
push edx
mov eax, dword [ecx]
call dword [eax + 0xc]
push dword [ebx + 0x24]
lea eax, [esp + 0x24]
push dword [ebx + 8]
push dword [esp + 0x38]
push dword [esp + 0x1c]
push eax
call fcn.004c2fe0
add esp, 0x14
mov esi, dword [eax]
test esi, esi
je 0x499204
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x49921a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x20], 0
mov eax, dword [ebx + 0x20]
cmp eax, 4
je 0x499227
cmp eax, 5
jne 0x499242
mov eax, dword [esi]
lea ecx, [esp + 0x80]
xorps xmm0, xmm0
push ecx
mov ecx, esi
movlpd qword [esp + 0x84], xmm0
call dword [eax + 0x3c]
push dword [esp + 0x48]
mov ecx, edi
push esi
call fcn.0049f7b0
mov ecx, dword [ebx + 4]
mov dword [ecx], eax
test esi, esi
je 0x49925d
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [esp + 0x30]
test eax, eax
je 0x499273
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x30], 0
mov eax, dword [esp + 0x38]
test eax, eax
je 0x499281
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor ebx, ebx
jmp 0x4996db
mov eax, 0xc0000035
mov dword [esp + 0xc], eax
mov ebx, eax
jmp 0x4996db
mov eax, dword [ebx + 0x20]
cmp eax, 1
je 0x4992af
cmp eax, 4
je 0x4992af
mov ebx, 0xc000000d
jmp 0x4996db
lea ecx, [esp + 0xb8]
call fcn.004961b0
lea eax, [esp + 0xb8]
mov ecx, esi
push eax
call fcn.004962a0
test eax, eax
je 0x4992e8
mov eax, dword [esp + 0xc4]
test eax, eax
jne 0x4992e3
mov ebx, 0xc000003a
jmp 0x4996db
cmp eax, 1
jne 0x499301
cmp dword [ebx + 0x20], 4
jne 0x49930b
test dword [ebx + 0x24], 1
je 0x49930b
mov ebx, 0xc000000d
jmp 0x4996db
mov ebx, 0xc0000229
jmp 0x4996db
mov ebx, 0xc0000034
jmp 0x4996db
lea ecx, [esp + 0xf8]
call fcn.004961f0
mov ebx, 0xc000003a
jmp 0x4996db
mov eax, dword [ebx + 0x20]
cmp eax, 2
je 0x499346
cmp eax, 3
je 0x499346
mov eax, 0xc000000d
mov dword [esp + 0xc], eax
jmp 0x49943e
mov eax, 0xc0000103
mov dword [esp + 0xc], eax
jmp 0x49943e
mov eax, dword [esp + 0x28]
and ecx, 0xefffffff
mov dword [esp + 0xc], ecx
test eax, eax
je 0x499408
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x28], edi
jmp 0x499408
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x24]
push edx
mov eax, dword [ecx]
call dword [eax + 0x38]
lea edx, [esp + 0x20]
push edx
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x40]
push dword [esp + 0x44]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4993b4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x20], 0
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4993c2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4993d0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esp + 0x68]
call fcn.004b52f0
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 + 0xc], eax
test esi, esi
je 0x499408
mov eax, dword [esi]
push esi
call dword [eax + 8]
jmp 0x499408
and ecx, 0xefffffff
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0x40]
test eax, eax
je 0x49941e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x40], 0
test edi, edi
je 0x499428
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov eax, dword [esp + 0x44]
test eax, eax
je 0x49943e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x44], 0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4996bc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ebx, dword [esp + 0xc]
jmp 0x4996db
mov eax, dword [ebx + 0x20]
cmp eax, 1
je 0x499476
cmp eax, 4
je 0x499476
mov eax, 0xc000000d
mov dword [esp + 0xc], eax
mov ebx, eax
jmp 0x4996db
mov edx, dword [ebx + 0x24]
mov ecx, edx
and ecx, 1
je 0x499498
test edx, 0x40
je 0x499498
mov eax, 0xc000000d
mov dword [esp + 0xc], eax
mov ebx, eax
jmp 0x4996db
cmp eax, 4
jne 0x4994b1
test ecx, ecx
je 0x4994b1
mov eax, 0xc000000d
mov dword [esp + 0xc], eax
mov ebx, eax
jmp 0x4996db
lea ecx, [esp + 0xb8]
call fcn.004961b0
lea eax, [esp + 0xb8]
mov ecx, esi
push eax
call fcn.004962a0
test eax, eax
je 0x4994f0
mov eax, dword [esp + 0xc4]
test eax, eax
jne 0x4994eb
mov eax, 0xc000003a
mov dword [esp + 0xc], eax
mov ebx, eax
jmp 0x4996db
cmp eax, 1
jne 0x49951f
cmp dword [ebx + 0x20], 4
jne 0x49950f
test dword [ebx + 0x24], 1
je 0x49950f
mov eax, 0xc000000d
mov dword [esp + 0xc], eax
mov ebx, eax
jmp 0x4996db
mov eax, 0xc0000034
mov dword [esp + 0xc], eax
mov ebx, eax
jmp 0x4996db
mov eax, 0xc0000229
mov dword [esp + 0xc], eax
mov ebx, eax
jmp 0x4996db
lea ecx, [esp + 0xe8]
call fcn.004961f0
mov ebx, 0xc000003a
jmp 0x4996db
cmp eax, 2
je 0x499559
cmp eax, 3
je 0x499559
mov ebx, 0xc000000d
jmp 0x4996db
mov ebx, 0xc0000103
jmp 0x4996db
mov eax, dword [esp + 0x2c]
and ecx, 0xefffffff
mov dword [esp + 0xc], ecx
test eax, eax
je 0x49961a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x2c], edi
jmp 0x49961a
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x24]
push edx
mov eax, dword [ecx]
call dword [eax + 0x38]
lea edx, [esp + 0x68]
push edx
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x40]
push dword [esp + 0x3c]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [esp + 0x68]
test eax, eax
je 0x4995c3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x68], 0
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4995d1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4995df
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esp + 0xa0]
call fcn.004b52f0
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 + 0xc], eax
test esi, esi
je 0x49961a
mov eax, dword [esi]
push esi
call dword [eax + 8]
jmp 0x49961a
and ecx, 0xefffffff
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x499630
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x4c], 0
test edi, edi
je 0x49963a
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x499650
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x3c], 0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4996bc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ebx, dword [esp + 0xc]
jmp 0x4996db
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x64]
test esi, esi
je 0x499677
mov eax, dword [esi]
push esi
call dword [eax + 8]
lea ecx, [esp + 0xa4]
call fcn.004b52f0
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x4996bc
mov eax, dword [ebx + 0x10]
mov ebx, dword [esp + 0xc]
mov dword [eax + 4], 2
jmp 0x4996db
cmp dword [esp + 0xc], 0
je 0x4996b1
mov ecx, ebx
call fcn.0049df20
mov dword [esp + 0xc], eax
mov ebx, eax
jmp 0x4996db
mov eax, dword [esp + 0xcc]
mov dword [esp + 0xc], eax
mov ebx, dword [esp + 0xc]
jmp 0x4996db
cmp dword [esp + 0xc], 0
je 0x4996d4
mov ecx, ebx
call fcn.0049df20
mov ebx, eax
jmp 0x4996db
mov ebx, dword [esp + 0xc8]
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x4996e9
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 8