Function at 0x4e1110
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 0x4e1142
test dword [ebx + 0x24], 0x30
mov dword [esp + 0x48], 1
je 0x4e114a
mov dword [esp + 0x48], 0
mov esi, dword [ebp + 8]
lea ecx, [ecx]
lea eax, [esp + 0x10]
mov ecx, esi
push eax
call fcn.004fecf0
mov ecx, esi
call fcn.004fed10
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 0x4e169a
mov ecx, esi
call fcn.004dfc30
test eax, eax
jne 0x4e2a9f
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 0x4e1511
call dword [eax + 0x10]
test eax, eax
mov eax, dword [ebx + 0x20]
je 0x4e1325
test eax, eax
je 0x4e11c6
cmp eax, 2
je 0x4e11c6
cmp eax, 3
je 0x4e11c6
cmp eax, 5
jne 0x4e236d
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.00518cb0
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 0x4e1232
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x9c], 0
lea ecx, [esp + 0x1a0]
call fcn.005190e0
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.004fed20
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
push dword [ebx + 0xc]
mov ecx, edi
call fcn.004e96b0
mov esi, dword [esp + 0x14]
test eax, eax
jne 0x4e12ae
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 0x4e239a
mov edi, dword [esp + 0x18]
test esi, esi
je 0x4e12b8
mov eax, dword [esi]
push esi
call dword [eax + 8]
lea ecx, [esp + 0x34]
call fcn.004fed50
mov eax, dword [esp + 0x64]
test eax, eax
je 0x4e12d7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x64], 0
mov eax, dword [esp + 0x74]
test eax, eax
je 0x4e12ed
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x74], 0
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x4e1303
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 0x4e1150
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x10], 0
jmp 0x4e1150
test eax, eax
je 0x4e133c
cmp eax, 2
je 0x4e133c
cmp eax, 3
je 0x4e133c
cmp eax, 5
jne 0x4e24ae
cmp dword [edi + 0x130], 1
jne 0x4e1469
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
call fcn.004e07a0
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.00518cb0
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.005190e0
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.004fed20
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
push dword [ebx + 0xc]
mov ecx, edi
call fcn.004e96b0
mov esi, dword [esp + 0xc]
test eax, eax
jne 0x4e140b
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 0x4e24d3
mov edi, dword [esp + 0x18]
test esi, esi
je 0x4e1415
mov eax, dword [esi]
push esi
call dword [eax + 8]
lea ecx, [esp + 0x6c]
call fcn.004fed50
mov eax, dword [esp + 0x58]
test eax, eax
je 0x4e1434
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x58], 0
mov eax, dword [esp + 0x60]
test eax, eax
je 0x4e144a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x60], 0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4e1303
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x14], 0
jmp 0x4e1303
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 0x4e2c0c
push dword [edi + 0x138]
lea ecx, [esp + 0x3c]
call fcn.004fed20
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
push dword [ebx + 0xc]
mov ecx, edi
call fcn.004e96b0
mov esi, dword [esp + 0x14]
test eax, eax
jne 0x4e14f9
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 0x4e25d0
mov edi, dword [esp + 0x18]
test esi, esi
je 0x4e1503
mov eax, dword [esi]
push esi
call dword [eax + 8]
lea ecx, [esp + 0x38]
call fcn.004fed50
jmp 0x4e1303
call dword [eax + 0x10]
test eax, eax
je 0x4e2c19
mov eax, dword [ebx + 0x20]
test eax, eax
jne 0x4e166d
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.00518cb0
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 0x4e1593
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0xb0], 0
lea ecx, [esp + 0x1a0]
call fcn.005190e0
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.004fed20
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
push dword [ebx + 0xc]
mov ecx, edi
call fcn.004e96b0
mov esi, dword [esp + 0x14]
test eax, eax
jne 0x4e160f
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 0x4e25f5
mov edi, dword [esp + 0x18]
test esi, esi
je 0x4e1619
mov eax, dword [esi]
push esi
call dword [eax + 8]
lea ecx, [esp + 0x20]
call fcn.004fed50
mov eax, dword [esp + 0x54]
test eax, eax
je 0x4e1638
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x54], 0
mov eax, dword [esp + 0x70]
test eax, eax
je 0x4e164e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x70], 0
mov eax, dword [esp + 0x50]
test eax, eax
je 0x4e1303
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x50], 0
jmp 0x4e1303
cmp eax, 2
je 0x4e27d8
cmp eax, 1
je 0x4e2709
cmp eax, 3
je 0x4e2709
cmp eax, 4
je 0x4e2709
cmp eax, 5
je 0x4e2709
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 0x4e228a
call dword [eax + 0x10]
test eax, eax
je 0x4e1c49
push dword [ebx + 8]
push dword [ebx + 0x24]
call fcn.004fed80
add esp, 8
test eax, eax
je 0x4e2a9f
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x4e16e3
cmp eax, 4
je 0x4e16e3
cmp eax, 5
jne 0x4e16f0
test dword [ebx + 0x24], 1
jne 0x4e2a9f
test eax, eax
je 0x4e1707
cmp eax, 2
je 0x4e1707
cmp eax, 3
je 0x4e1707
cmp eax, 5
jne 0x4e27e8
push esi
lea ecx, [esp + 0xfc]
call fcn.004df6d0
lea ecx, [esp + 0x160]
call fcn.004df700
lea eax, [esp + 0x160]
mov ecx, esi
push eax
call fcn.004df7f0
test eax, eax
je 0x4e1741
cmp dword [esp + 0x16c], 0
je 0x4e2865
lea ecx, [esp + 0xf8]
call fcn.004df740
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.004df930
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x28]
test dword [ebx + 0x24], 1
mov esi, eax
je 0x4e17e7
cmp word [esp + 0x8c], 0
ja 0x4e287b
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x4e2888
cmp ecx, 5
je 0x4e2888
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x28]
cmp eax, 2
je 0x4e17e7
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4e17bd
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.004ff790
add esp, 8
push eax
push 1
call fcn.004dcb90
add esp, 0xc
mov esi, 2
mov eax, dword [ebx + 0x24]
test al, 0x40
jne 0x4e17f2
test al, 1
jne 0x4e1838
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x28]
cmp eax, 2
jne 0x4e1838
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4e180e
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.004ff790
add esp, 8
push eax
push 0
call fcn.004dcb90
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.00518cb0
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.00518cb0
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.005190e0
lea ecx, [esp + 0x3a8]
call fcn.005190e0
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 0x100d43dc
call fcn.00518d40
mov ecx, eax
call fcn.004df6f0
push eax
mov eax, dword [esp + 0x28]
mov ecx, esi
call dword [eax]
mov ecx, eax
test ecx, ecx
jne 0x4e294e
cmp word [esp + 0x8c], di
jbe 0x4e1abf
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 0x4e1a3b
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 0x4e28a4
mov ecx, dword [esp + 0xc]
call fcn.004dfc40
test eax, eax
je 0x4e1a43
lea ecx, [esp + 0x114]
call fcn.004df6f0
push dword [0x100e3e18]
lea eax, [esp + 0x90]
push eax
lea ecx, [esp + 0x11c]
call fcn.004dfab0
lea eax, [esp + 0x190]
push eax
lea ecx, [esp + 0x118]
call fcn.004dfa60
lea ecx, [esp + 0x114]
mov eax, dword [eax + 4]
push eax
lea eax, [esp + 0x17c]
push eax
call fcn.004df750
lea ecx, [esp + 0x10c]
push dword [eax + 4]
push dword [eax]
call fcn.00518d80
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0xa8]
push eax
lea ecx, [esp + 0x110]
mov edi, dword [esi]
call fcn.004df6f0
push eax
mov ecx, esi
call dword [edi + 0x18]
test eax, eax
jne 0x4e1a43
mov eax, dword [esp + 0xa8]
test al, 0x20
jne 0x4e1a43
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.004df6f0
push eax
mov ecx, esi
call dword [edi + 0x1c]
jmp 0x4e1a43
test ecx, ecx
jne 0x4e28a4
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 0x4e1a91
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x7c]
test ecx, ecx
je 0x4e1aab
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x7c], 0
test eax, eax
je 0x4e1acd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x28], 0
jmp 0x4e1acd
mov edi, dword [esp + 0x40]
test edi, edi
je 0x4e1acd
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 0x4e1b23
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 0x4e1b23
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.0050baf0
add esp, 0x18
mov esi, dword [eax]
test esi, esi
je 0x4e1b52
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [esp + 0xb4]
test eax, eax
je 0x4e1b6e
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.004e8e40
mov ecx, dword [ebx + 4]
mov dword [ecx], eax
lea ecx, [esp + 0x68]
mov eax, dword [esp + 0x18]
push dword [eax + 0x138]
call fcn.004fed20
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x14]
push eax
push dword [ebx + 0xc]
mov dword [esp + 0x1c], 0
call fcn.004e96b0
test eax, eax
jne 0x4e1bd3
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 0x4e28c9
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4e1be1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esp + 0x68]
call fcn.004fed50
test esi, esi
je 0x4e1bf4
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4e1c0a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x40], 0
test edi, edi
je 0x4e1c14
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov eax, dword [esp + 0x44]
test eax, eax
je 0x4e1c2a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x44], 0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4e1c40
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x1c], 0
mov edi, dword [esp + 0x18]
jmp 0x4e1303
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x4e1c63
cmp eax, 2
je 0x4e1c63
cmp eax, 3
je 0x4e1c63
cmp eax, 5
jne 0x4e29a9
mov edx, dword [ebx + 0x24]
mov ecx, edx
and ecx, 1
je 0x4e1c79
test edx, 0x40
jne 0x4e2a9f
test eax, eax
je 0x4e1c82
cmp eax, 5
jne 0x4e1c8a
test ecx, ecx
jne 0x4e2a9f
push esi
lea ecx, [esp + 0xec]
call fcn.004df6d0
lea ecx, [esp + 0xb8]
call fcn.004df700
lea eax, [esp + 0xb8]
mov ecx, esi
push eax
call fcn.004df7f0
test eax, eax
je 0x4e1cc4
cmp dword [esp + 0xc4], 0
je 0x4e2a7f
lea ecx, [esp + 0xe8]
call fcn.004df740
lea eax, [esp + 0x94]
mov ecx, esi
push eax
call fcn.004df930
mov edx, dword [ebx + 0x24]
mov esi, edx
and esi, 1
je 0x4e1d0c
cmp word [esp + 0x94], 0
mov eax, dword [ebx + 0x20]
ja 0x4e2a95
test eax, eax
je 0x4e2a9f
cmp eax, 5
je 0x4e2a9f
cmp dword [edi + 0x130], 1
jne 0x4e2172
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
push esi
push dword [ebx + 0x18]
call fcn.004ff790
add esp, 8
push eax
push esi
call fcn.004dcb90
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.00518cb0
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.00518cb0
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.005190e0
lea ecx, [esp + 0x1a0]
call fcn.005190e0
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 0x100d43dc
call fcn.00518d40
mov ecx, eax
call fcn.004df6f0
push eax
mov eax, dword [esp + 0x20]
mov ecx, esi
call dword [eax]
mov ecx, eax
test ecx, ecx
jne 0x4e2b60
cmp word [esp + 0x94], di
jbe 0x4e1fe8
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 0x4e1f64
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.004ff790
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 0x4e2ab3
lea ecx, [esp + 0x114]
call fcn.004df6f0
push dword [0x100e3e18]
lea eax, [esp + 0x98]
push eax
lea ecx, [esp + 0x11c]
call fcn.004dfab0
lea ecx, [esp + 0x114]
call fcn.004dfc40
test eax, eax
je 0x4e1f6c
lea eax, [esp + 0x180]
push eax
lea ecx, [esp + 0x118]
call fcn.004dfa60
lea ecx, [esp + 0x114]
mov eax, dword [eax + 4]
push eax
lea eax, [esp + 0x19c]
push eax
call fcn.004df750
lea ecx, [esp + 0xe0]
push dword [eax + 4]
push dword [eax]
call fcn.00518d80
mov esi, dword [esp + 0x14]
lea eax, [esp + 0xac]
push eax
lea ecx, [esp + 0xe4]
mov edi, dword [esi]
call fcn.004df6f0
push eax
mov ecx, esi
call dword [edi + 0x18]
test eax, eax
jne 0x4e1f6c
mov eax, dword [esp + 0xac]
test al, 0x20
jne 0x4e1f6c
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.004df6f0
push eax
mov ecx, esi
call dword [edi + 0x1c]
jmp 0x4e1f6c
test ecx, ecx
jne 0x4e2ab3
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 0x4e1fba
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x4e1fd4
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x30], 0
test eax, eax
je 0x4e1ff6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x2c], 0
jmp 0x4e1ff6
mov edi, dword [esp + 0x4c]
test edi, edi
je 0x4e1ff6
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 0x4e204c
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 0x4e204c
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.0050baf0
add esp, 0x18
mov esi, dword [eax]
test esi, esi
je 0x4e207b
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [esp + 0x78]
test eax, eax
je 0x4e2091
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.004e8e40
mov ecx, dword [ebx + 4]
mov dword [ecx], eax
lea ecx, [esp + 0xa0]
mov eax, dword [esp + 0x18]
push dword [eax + 0x138]
call fcn.004fed20
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0xc]
push eax
push dword [ebx + 0xc]
mov dword [esp + 0x14], 0
call fcn.004e96b0
test eax, eax
jne 0x4e20f9
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 0x4e2ad8
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4e2107
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esp + 0xa0]
call fcn.004fed50
test esi, esi
je 0x4e211d
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x4e2133
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x4c], 0
test edi, edi
je 0x4e213d
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4e2153
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x3c], 0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4e2169
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x14], 0
mov edi, dword [esp + 0x18]
jmp 0x4e1303
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 0x4e2203
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 0x4e2c0c
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 0x4e2c0c
push dword [edi + 0x138]
lea ecx, [esp + 0xa8]
call fcn.004fed20
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
push dword [ebx + 0xc]
mov ecx, edi
call fcn.004e96b0
mov esi, dword [esp + 0x14]
test eax, eax
jne 0x4e2252
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 0x4e2bb4
mov edi, dword [esp + 0x18]
test esi, esi
je 0x4e225c
mov eax, dword [esi]
push esi
call dword [eax + 8]
lea ecx, [esp + 0xa4]
call fcn.004fed50
mov eax, dword [esp + 0x10]
mov esi, dword [ebp + 8]
test eax, eax
je 0x4e1150
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x10], 0
jmp 0x4e1150
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 0x4e230d
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.004ed660
cmp dword [esp + 0x14], 0
je 0x4e2beb
mov eax, dword [esp + 0x10]
mov esi, dword [ebp + 8]
test eax, eax
je 0x4e1150
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x10], 0
jmp 0x4e1150
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.004eb5c0
cmp dword [esp + 0x14], 0
je 0x4e2c12
mov eax, dword [esp + 0x10]
mov esi, dword [ebp + 8]
test eax, eax
je 0x4e1150
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x10], 0
jmp 0x4e1150
mov eax, dword [ebx + 0x20]
cmp eax, 1
je 0x4e238a
cmp eax, 4
je 0x4e238a
mov eax, 0xc000000d
mov dword [esp + 0xc], eax
mov ebx, eax
jmp 0x4e2c2b
mov eax, 0xc0000034
mov dword [esp + 0xc], eax
mov ebx, eax
jmp 0x4e2c2b
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 0x4e23d5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x78], 0
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4e23e3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
test esi, esi
je 0x4e23ed
mov eax, dword [esi]
push esi
call dword [eax + 8]
lea ecx, [esp + 0x34]
call fcn.004fed50
push dword [ebx + 0x24]
lea eax, [esp + 0x38]
push dword [ebx + 8]
push dword [esp + 0x6c]
push dword [esp + 0x68]
push eax
call fcn.0050d1e0
add esp, 0x14
mov esi, dword [eax]
test esi, esi
je 0x4e241d
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4e2433
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.004e8e40
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 0x4e247d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x64], 0
mov eax, dword [esp + 0x74]
test eax, eax
je 0x4e2493
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x74], 0
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x4e24a1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
mov dword [esp + 0xc], eax
mov ebx, eax
jmp 0x4e2c2b
mov eax, dword [ebx + 0x20]
cmp eax, 1
je 0x4e2a5f
cmp eax, 4
je 0x4e2a5f
mov eax, 0xc000000d
mov dword [esp + 0xc], eax
mov ebx, eax
jmp 0x4e2c2b
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 0x4e250e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x34], 0
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4e251c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
test esi, esi
je 0x4e2526
mov eax, dword [esi]
push esi
call dword [eax + 8]
lea ecx, [esp + 0x6c]
call fcn.004fed50
push dword [ebx + 0x24]
lea eax, [esp + 0x70]
push dword [ebx + 8]
push dword [esp + 0x60]
push dword [esp + 0x6c]
push eax
call fcn.0050d1e0
add esp, 0x14
mov esi, dword [eax]
test esi, esi
je 0x4e2556
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x4e256c
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.004e8e40
mov ecx, dword [ebx + 4]
mov dword [ecx], eax
test esi, esi
je 0x4e2589
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [esp + 0x58]
test eax, eax
je 0x4e259f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x58], 0
mov eax, dword [esp + 0x60]
test eax, eax
je 0x4e25b5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x60], 0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4e25c3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
mov dword [esp + 0xc], eax
mov ebx, eax
jmp 0x4e2c2b
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x64]
test esi, esi
je 0x4e25e3
mov eax, dword [esi]
push esi
call dword [eax + 8]
lea ecx, [esp + 0x38]
call fcn.004fed50
mov ebx, dword [esp + 0xc]
jmp 0x4e2c2b
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 0x4e2630
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x38], 0
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4e263e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
test esi, esi
je 0x4e2648
mov eax, dword [esi]
push esi
call dword [eax + 8]
lea ecx, [esp + 0x20]
call fcn.004fed50
push dword [ebx + 0x24]
lea eax, [esp + 0x24]
push dword [ebx + 8]
push dword [esp + 0x5c]
push dword [esp + 0x5c]
push eax
call fcn.0050d1e0
add esp, 0x14
mov esi, dword [eax]
test esi, esi
je 0x4e2678
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4e268e
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.004e8e40
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 0x4e26d8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x54], 0
mov eax, dword [esp + 0x70]
test eax, eax
je 0x4e26ee
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x70], 0
mov eax, dword [esp + 0x50]
test eax, eax
je 0x4e26fc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
mov dword [esp + 0xc], eax
mov ebx, eax
jmp 0x4e2c2b
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.0050d1e0
add esp, 0x14
mov esi, dword [eax]
test esi, esi
je 0x4e2754
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4e276a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x20], 0
mov eax, dword [ebx + 0x20]
cmp eax, 4
je 0x4e2777
cmp eax, 5
jne 0x4e2792
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.004e8e40
mov ecx, dword [ebx + 4]
mov dword [ecx], eax
test esi, esi
je 0x4e27ad
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4e27c3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x30], 0
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4e27d1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor ebx, ebx
jmp 0x4e2c2b
mov eax, 0xc0000035
mov dword [esp + 0xc], eax
mov ebx, eax
jmp 0x4e2c2b
mov eax, dword [ebx + 0x20]
cmp eax, 1
je 0x4e27ff
cmp eax, 4
je 0x4e27ff
mov ebx, 0xc000000d
jmp 0x4e2c2b
lea ecx, [esp + 0xb8]
call fcn.004df700
lea eax, [esp + 0xb8]
mov ecx, esi
push eax
call fcn.004df7f0
test eax, eax
je 0x4e2838
mov eax, dword [esp + 0xc4]
test eax, eax
jne 0x4e2833
mov ebx, 0xc000003a
jmp 0x4e2c2b
cmp eax, 1
jne 0x4e2851
cmp dword [ebx + 0x20], 4
jne 0x4e285b
test dword [ebx + 0x24], 1
je 0x4e285b
mov ebx, 0xc000000d
jmp 0x4e2c2b
mov ebx, 0xc0000229
jmp 0x4e2c2b
mov ebx, 0xc0000034
jmp 0x4e2c2b
lea ecx, [esp + 0xf8]
call fcn.004df740
mov ebx, 0xc000003a
jmp 0x4e2c2b
mov eax, dword [ebx + 0x20]
cmp eax, 2
je 0x4e2896
cmp eax, 3
je 0x4e2896
mov eax, 0xc000000d
mov dword [esp + 0xc], eax
jmp 0x4e298e
mov eax, 0xc0000103
mov dword [esp + 0xc], eax
jmp 0x4e298e
mov eax, dword [esp + 0x28]
and ecx, 0xefffffff
mov dword [esp + 0xc], ecx
test eax, eax
je 0x4e2958
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x28], edi
jmp 0x4e2958
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 0x4e2904
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x20], 0
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4e2912
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4e2920
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esp + 0x68]
call fcn.004fed50
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 0x4e2958
mov eax, dword [esi]
push esi
call dword [eax + 8]
jmp 0x4e2958
and ecx, 0xefffffff
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4e296e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x40], 0
test edi, edi
je 0x4e2978
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov eax, dword [esp + 0x44]
test eax, eax
je 0x4e298e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x44], 0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4e2c0c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ebx, dword [esp + 0xc]
jmp 0x4e2c2b
mov eax, dword [ebx + 0x20]
cmp eax, 1
je 0x4e29c6
cmp eax, 4
je 0x4e29c6
mov eax, 0xc000000d
mov dword [esp + 0xc], eax
mov ebx, eax
jmp 0x4e2c2b
mov edx, dword [ebx + 0x24]
mov ecx, edx
and ecx, 1
je 0x4e29e8
test edx, 0x40
je 0x4e29e8
mov eax, 0xc000000d
mov dword [esp + 0xc], eax
mov ebx, eax
jmp 0x4e2c2b
cmp eax, 4
jne 0x4e2a01
test ecx, ecx
je 0x4e2a01
mov eax, 0xc000000d
mov dword [esp + 0xc], eax
mov ebx, eax
jmp 0x4e2c2b
lea ecx, [esp + 0xb8]
call fcn.004df700
lea eax, [esp + 0xb8]
mov ecx, esi
push eax
call fcn.004df7f0
test eax, eax
je 0x4e2a40
mov eax, dword [esp + 0xc4]
test eax, eax
jne 0x4e2a3b
mov eax, 0xc000003a
mov dword [esp + 0xc], eax
mov ebx, eax
jmp 0x4e2c2b
cmp eax, 1
jne 0x4e2a6f
cmp dword [ebx + 0x20], 4
jne 0x4e2a5f
test dword [ebx + 0x24], 1
je 0x4e2a5f
mov eax, 0xc000000d
mov dword [esp + 0xc], eax
mov ebx, eax
jmp 0x4e2c2b
mov eax, 0xc0000034
mov dword [esp + 0xc], eax
mov ebx, eax
jmp 0x4e2c2b
mov eax, 0xc0000229
mov dword [esp + 0xc], eax
mov ebx, eax
jmp 0x4e2c2b
lea ecx, [esp + 0xe8]
call fcn.004df740
mov ebx, 0xc000003a
jmp 0x4e2c2b
cmp eax, 2
je 0x4e2aa9
cmp eax, 3
je 0x4e2aa9
mov ebx, 0xc000000d
jmp 0x4e2c2b
mov ebx, 0xc0000103
jmp 0x4e2c2b
mov eax, dword [esp + 0x2c]
and ecx, 0xefffffff
mov dword [esp + 0xc], ecx
test eax, eax
je 0x4e2b6a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x2c], edi
jmp 0x4e2b6a
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 0x4e2b13
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x68], 0
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4e2b21
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4e2b2f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esp + 0xa0]
call fcn.004fed50
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 0x4e2b6a
mov eax, dword [esi]
push esi
call dword [eax + 8]
jmp 0x4e2b6a
and ecx, 0xefffffff
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x4e2b80
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x4c], 0
test edi, edi
je 0x4e2b8a
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4e2ba0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x3c], 0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4e2c0c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ebx, dword [esp + 0xc]
jmp 0x4e2c2b
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x64]
test esi, esi
je 0x4e2bc7
mov eax, dword [esi]
push esi
call dword [eax + 8]
lea ecx, [esp + 0xa4]
call fcn.004fed50
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x4e2c0c
mov eax, dword [ebx + 0x10]
mov ebx, dword [esp + 0xc]
mov dword [eax + 4], 2
jmp 0x4e2c2b
cmp dword [esp + 0xc], 0
je 0x4e2c01
mov ecx, ebx
call fcn.004e7330
mov dword [esp + 0xc], eax
mov ebx, eax
jmp 0x4e2c2b
mov eax, dword [esp + 0xcc]
mov dword [esp + 0xc], eax
mov ebx, dword [esp + 0xc]
jmp 0x4e2c2b
cmp dword [esp + 0xc], 0
je 0x4e2c24
mov ecx, ebx
call fcn.004e7330
mov ebx, eax
jmp 0x4e2c2b
mov ebx, dword [esp + 0xc8]
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x4e2c39
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