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

Disassembly:
push ebp
push edi
mov ebp, eax
push esi
push ebx
sub esp, 0xdc
cmp dword [eax + 0x10], 0
mov dword [esp + 0x5c], edx
je 0x41a1f2
mov eax, dword [eax + 0x58]
mov dword [esp + 0x68], eax
mov eax, dword [ebp + 8]
call fcn.00414a9d
mov edx, dword [ebp]
mov dword [esp + 0x3c], eax
mov eax, dword [0x7440a4]
mov ebx, dword [ebp + 0x50]
mov esi, dword [eax + edx*4]
mov eax, dword [esi]
mov dword [esp + 0x8c], 0
mov dword [esp + 0x48], eax
mov eax, dword [ebx + 0x3c]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x6c0c87
mov dword [esp + 0x90], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x40]
mov dword [esp], eax
call fcn.006403ef
test eax, eax
jne 0x419351
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x6c0c8f
mov eax, dword [esi + 4]
mov dword [esp], eax
call fcn.006403ef
test eax, eax
mov edi, eax
je 0x419241
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x6c0c8f
mov eax, dword [esi]
mov dword [esp], eax
call fcn.0064ad9e
test eax, eax
je 0x419351
lea edx, [esp + 0x8c]
mov dword [esp + 0xc], edx
mov edx, dword [edi + 4]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [esi]
mov dword [esp], eax
call fcn.0064b21b
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x6c0c96
mov eax, dword [ebp + 0x118]
mov dword [esp], eax
call fcn.006403ef
test eax, eax
mov esi, eax
je 0x4192c1
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x6c0c96
mov eax, dword [ebp + 0x50]
mov dword [esp], eax
call fcn.0064ad9e
test eax, eax
je 0x419351
lea edx, [esp + 0x90]
mov dword [esp + 0xc], edx
mov edx, dword [esi + 4]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [ebp + 0x50]
mov dword [esp], eax
call fcn.0064b21b
mov eax, dword [ebp + 0x58]
or ecx, 0xffffffff
mov edi, dword [eax]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
lea edi, [ecx + 0xf]
mov dword [esp], edi
call fcn.00648a36
test eax, eax
mov esi, eax
je 0x4199b7
test byte [esp + 0x8d], 4
jne 0x419306
test byte [esp + 0x92], 0x80
jne 0x419306
mov dword [esp + 8], edi
mov dword [esp + 4], 0x6c0c9c
jmp 0x419312
mov dword [esp + 8], edi
mov dword [esp + 4], 0x6c0cab
mov dword [esp], esi
call fcn.0063dbf1
mov dword [esp + 8], edi
mov eax, dword [ebp + 0x58]
mov eax, dword [eax]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.0063dc2c
mov dword [esp + 0xc], 0x18
mov dword [esp + 8], esi
mov dword [esp + 4], 0x6c0c87
mov eax, dword [ebp + 0xc]
add eax, 0x40
mov dword [esp], eax
call fcn.006404e4
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x6c0cb1
mov eax, dword [ebp + 0xc]
add eax, 0x40
mov dword [esp], eax
call fcn.006404e4
cmp dword [esp + 0x3c], 0
jne 0x419389
mov eax, dword [esp + 0x48]
mov edx, dword [eax + 0x18]
xor eax, eax
jmp 0x4193c0
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 4]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x30], edx
mov eax, dword [esp + 0x3c]
mov esi, dword [eax + 0x14]
mov eax, dword [esi + 0x14c]
mov dword [ebx + 0x14c], eax
jmp 0x4193f5
mov edi, dword [esp + 0x48]
mov ecx, dword [edi + 0x1c]
mov esi, dword [ecx + eax*4]
mov ecx, dword [ebp + 0xc]
cmp esi, ecx
jne 0x4193c6
inc eax
cmp eax, edx
jne 0x4193ae
jmp 0x4193d8
mov esi, dword [esi + 0xb0]
mov ecx, dword [ecx + 0xb0]
mov edi, dword [ecx]
cmp dword [esi], edi
jne 0x4193bf
xor esi, esi
cmp eax, edx
jne 0x4193f5
mov eax, dword [ebp + 0xc]
xor esi, esi
mov edx, dword [eax + 0xb0]
cmp dword [edx], 1
ja 0x4193f5
mov dword [eax + 0x30], 1
cmp dword [ebx + 8], 0
jne 0x41955c
cmp dword [ebp + 0x84], 0
jne 0x419424
mov eax, dword [ebp + 0x108]
mov eax, dword [eax]
mov dword [esp], eax
call fcn.0042c601
mov dword [ebp + 0x84], eax
mov dword [ebp + 0x88], edx
cmp dword [esp + 0x3c], 0
je 0x4194c3
cmp dword [ebp + 0x84], 0
jne 0x419454
mov eax, dword [esp + 0x3c]
mov edx, dword [eax + 0x94]
mov eax, dword [eax + 0x90]
mov dword [ebp + 0x88], edx
mov dword [ebp + 0x84], eax
cmp dword [ebp + 0x84], 0
jne 0x41947c
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 4]
mov edx, dword [eax + 0xa8]
mov eax, dword [eax + 0xa4]
mov dword [ebp + 0x88], edx
mov dword [ebp + 0x84], eax
cmp dword [ebp + 0x84], 0
jne 0x4194c3
mov eax, dword [ebp + 4]
mov dword [ebp + 0x84], 0x19
mov dword [ebp + 0x88], 1
mov dword [esp + 0x10], eax
mov eax, dword [ebp]
mov dword [esp + 8], 0x6c0cb8
mov dword [esp + 4], 0x18
mov dword [esp], 0
mov dword [esp + 0xc], eax
call fcn.00647705
mov eax, dword [ebp + 0x58]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x41950c
cmp dword [ebp + 0x90], 0
jne 0x41950c
mov dword [esp + 8], eax
mov edx, dword [ebp + 0x88]
mov eax, dword [ebp + 0x84]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0064fb26
mov edx, dword [ebp + 0x58]
mov edx, dword [edx + 0x14]
lea edx, [edx + eax*8]
mov eax, dword [edx]
mov edx, dword [edx + 4]
mov dword [ebp + 0x84], eax
mov dword [ebp + 0x88], edx
cmp dword [ebx + 0x10], 0xc
jne 0x41955c
mov dword [esp + 0x18], 0xffff
mov dword [esp + 0x1c], 0
mov eax, dword [ebp + 0x88]
mov dword [esp + 0x10], eax
sar eax, 0x1f
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x84]
mov dword [esp + 8], eax
sar eax, 0x1f
mov dword [esp + 0xc], eax
lea eax, [ebp + 0x88]
mov dword [esp + 4], eax
lea eax, [ebp + 0x84]
mov dword [esp], eax
call fcn.0064f2e7
mov eax, dword [ebx + 8]
cmp eax, 1
je 0x41958a
jg 0x419573
test eax, eax
je 0x419637
jmp 0x41a274
cmp eax, 2
je 0x419c76
cmp eax, 3
je 0x419c42
jmp 0x41a274
mov eax, dword [ebp + 0x108]
mov eax, dword [eax]
mov dword [esp], eax
call fcn.0042c5a9
test esi, esi
mov dword [ebx + 0x160], eax
je 0x4195d8
mov edi, dword [esi + 0x2a4]
mov dword [esp], eax
call fcn.0064fe4d
shl eax, 3
cmp edi, eax
jle 0x4195cc
mov eax, dword [ebx + 0x160]
mov dword [esp], eax
call fcn.0064fe4d
shl eax, 3
jmp 0x4195d2
mov eax, dword [esi + 0x2a4]
mov dword [ebx + 0x2a4], eax
mov eax, dword [ebp + 0x108]
mov eax, dword [eax]
mov dword [esp], eax
call fcn.0042c820
mov dword [ebx + 0x158], eax
mov eax, dword [ebp + 0x108]
mov eax, dword [eax]
mov dword [esp], eax
call fcn.0042c7c5
mov dword [ebx + 0x178], eax
mov eax, dword [ebp + 0x108]
mov dword [ebx + 0x17c], edx
mov eax, dword [eax]
mov dword [esp], eax
call fcn.0042c76a
mov ecx, dword [ebx + 0x158]
mov dword [ebx + 0x15c], eax
mov edx, 1
mov eax, ebp
call fcn.00414aae
jmp 0x419c76
mov ecx, dword [ebp + 0x84]
mov edx, dword [ebp + 0x88]
mov eax, ebp
call fcn.00414aae
cmp dword [ebx + 0x4c], 0
je 0x419656
cmp dword [ebx + 0x50], 0
jne 0x41966c
mov eax, dword [ebp + 0x108]
mov eax, dword [eax]
mov dword [esp], eax
call fcn.0042c54e
mov dword [ebx + 0x4c], eax
mov dword [ebx + 0x50], edx
fild dword [ebx + 0x50]
fidivr dword [ebx + 0x4c]
fstp qword [esp + 0x78]
fld qword [esp + 0x78]
fld xword [0x6c2390]
fucompi st(1)
fstp st(0)
jbe 0x4196c7
mov eax, dword [0x6b501c]
test eax, eax
je 0x4196c7
cmp eax, 1
je 0x4196ab
cmp eax, 0xfe
je 0x4196ab
inc eax
jne 0x4196c7
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 8]
test byte [eax + 0x1d], 4
jne 0x4196c7
mov eax, dword [esp + 0x48]
mov dword [esp + 8], 0x6c0d68
mov dword [esp + 4], 0x18
mov dword [esp], eax
call fcn.00647705
mov eax, dword [ebp + 0xbc]
xor edi, edi
mov dword [esp + 0x3c], eax
cmp edi, dword [esp + 0x3c]
jge 0x419727
lea eax, [edi*8]
add eax, dword [ebp + 0xb8]
mov edx, dword [ebx + 0x50]
inc edi
mov ecx, eax
mov eax, dword [ebx + 0x4c]
mov dword [esp + 0x14], edx
mov dword [esp + 8], 1
mov dword [esp + 0xc], 0xf4240
mov dword [esp + 0x48], ecx
mov dword [esp + 0x10], eax
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00647ec6
mov ecx, dword [esp + 0x48]
mov dword [ecx], eax
mov dword [ecx + 4], edx
jmp 0x4196d3
mov eax, dword [ebp + 0x108]
mov eax, dword [eax]
mov dword [esp], eax
call fcn.0042c65f
mov dword [ebx + 0x5c], eax
mov eax, dword [ebp + 0x108]
mov eax, dword [eax]
mov dword [esp], eax
call fcn.0042c6b7
cmp dword [ebp + 0xa8], 0
mov dword [ebx + 0x60], eax
mov edi, dword [ebp + 0xc]
je 0x41977e
mov edx, dword [ebx + 0x5c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov eax, dword [ebp + 0xa8]
mov edx, dword [ebp + 0xac]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0064f6c4
jmp 0x41978e
mov eax, dword [ebp + 0x108]
mov eax, dword [eax]
mov dword [esp], eax
call fcn.0042c70f
mov dword [edi + 0x38], eax
mov eax, dword [edi + 0x38]
mov dword [edi + 0x3c], edx
mov edx, dword [edi + 0x3c]
mov dword [ebx + 0xbc], eax
mov eax, dword [ebp + 0x108]
mov dword [ebx + 0xc0], edx
mov eax, dword [eax]
mov dword [esp], eax
call fcn.0042c5a9
test esi, esi
mov dword [ebx + 0x70], eax
je 0x4197ec
mov edi, dword [esi + 0x2a4]
mov dword [esp], eax
call fcn.0064e8b8
cmp edi, dword [eax + 0x20]
jle 0x4197e0
mov eax, dword [ebx + 0x70]
mov dword [esp], eax
call fcn.0064e8b8
mov eax, dword [eax + 0x20]
jmp 0x4197e6
mov eax, dword [esi + 0x2a4]
mov dword [ebx + 0x2a4], eax
mov eax, dword [ebp + 0x84]
mov edx, dword [ebp + 0x88]
test esi, esi
mov ecx, dword [ebp + 0xc]
mov dword [ebx + 0x2f8], eax
mov dword [ebx + 0x2fc], edx
mov eax, dword [ebp + 0x84]
mov edx, dword [ebp + 0x88]
mov dword [ecx + 0x44], eax
mov dword [ecx + 0x48], edx
je 0x419835
mov eax, dword [esi + 0x5c]
cmp dword [ebx + 0x5c], eax
jne 0x419835
mov eax, dword [esi + 0x60]
cmp dword [ebx + 0x60], eax
jne 0x419835
mov eax, dword [esi + 0x70]
cmp dword [ebx + 0x70], eax
je 0x419840
mov eax, dword [0x744024]
mov dword [ebx + 0x2a4], eax
mov eax, dword [ebp + 0x94]
test eax, eax
jne 0x419856
mov dword [ebx + 0x154], 3
jmp 0x419863
dec eax
jne 0x419863
mov dword [ebx + 0x154], 2
mov esi, dword [ebp + 0xc4]
test esi, esi
je 0x419c76
mov dword [esp + 8], 5
mov dword [esp + 4], 0x6c0df5
mov dword [esp], esi
call fcn.00697ebf
test eax, eax
jne 0x419937
lea eax, [ebp + 0xc8]
add esi, 5
mov dword [esp + 0x20], 0
mov dword [esp + 4], esi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x6c22c0
mov dword [esp], eax
call fcn.00642ef2
test eax, eax
mov esi, eax
jns 0x419912
mov edx, dword [ebp + 0xc4]
mov dword [esp + 8], 0x6c0dfb
mov dword [esp + 4], 0x10
mov dword [esp], 0
add edx, 5
mov dword [esp + 0xc], edx
call fcn.00647705
jmp 0x419eaa
fldz
fst qword [ebp + 0xd0]
fstp qword [ebp + 0xd8]
fld dword [0x6c22e4]
fst qword [ebp + 0xe0]
fstp qword [ebp + 0xe8]
jmp 0x419c76
mov dword [esp + 8], 6
mov dword [esp + 4], 0x6c0a89
mov dword [esp], esi
call fcn.00697ebf
test eax, eax
je 0x419c76
mov eax, dword [ebp + 0x50]
mov dword [esp + 0x4c], 1
add eax, 0x4c
mov dword [esp + 0x58], eax
mov eax, esi
mov dl, byte [eax]
test dl, dl
je 0x419981
cmp dl, 0x2c
sete dl
inc eax
movzx edx, dl
add dword [esp + 0x4c], edx
jmp 0x41996b
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], 8
mov dword [esp], eax
call fcn.00648939
test eax, eax
mov edi, eax
jne 0x4199c3
mov dword [esp + 8], 0x6c0e25
mov dword [esp + 4], 8
mov dword [esp], 0
call fcn.00647705
mov dword [esp], 1
call fcn.00410a8a
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x3c], eax
mov dword [esp + 4], 0x2c
mov dword [esp], esi
call fcn.00697eff
test eax, eax
mov dword [esp + 0x40], eax
je 0x4199fb
mov byte [eax], 0
inc eax
mov dword [esp + 0x40], eax
mov dword [esp + 8], 8
mov dword [esp + 4], 0x6c0e52
mov dword [esp], esi
call fcn.00697f6f
test eax, eax
jne 0x419b60
mov edx, dword [ebp]
mov eax, dword [0x7440a4]
mov eax, dword [eax + edx*4]
mov eax, dword [eax]
mov edx, dword [eax + 0x484]
mov dword [esp + 0x50], eax
mov eax, 0x7fffffff
sub eax, dword [esp + 0x3c]
cmp edx, eax
ja 0x41999b
mov eax, dword [esp + 0x3c]
mov dword [esp], edi
mov dword [esp + 8], 8
lea eax, [edx + eax - 1]
mov dword [esp + 4], eax
mov dword [esp + 0x3c], eax
call fcn.006488e5
test eax, eax
mov edi, eax
je 0x41999b
cmp byte [esi + 8], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
je 0x419aa6
add esi, 8
mov dword [esp + 8], 1
mov dword [esp], 0x6c0e5b
mov dword [esp + 4], esi
call fcn.00411221
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], edx
mov eax, dword [esp + 0x58]
xor esi, esi
mov edx, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 8], 1
mov dword [esp + 0xc], 0xf4240
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00647ec6
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x64], edx
mov ecx, dword [eax + 0x484]
mov eax, dword [esp + 0x48]
lea eax, [edi + eax*8]
mov dword [esp + 0x70], eax
cmp ecx, esi
je 0x419b5a
mov eax, dword [esp + 0x50]
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x58]
mov eax, dword [eax + 0x488]
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
mov eax, dword [eax + esi*4]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
mov edx, dword [eax + 0x14]
mov eax, dword [eax + 0x10]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00647ec6
add eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x70]
adc edx, dword [esp + 0x64]
mov dword [ecx + esi*8], eax
mov dword [ecx + esi*8 + 4], edx
inc esi
mov ecx, dword [esp + 0x74]
jmp 0x419afa
add dword [esp + 0x48], ecx
jmp 0x419bd2
mov dword [esp + 4], esi
mov dword [esp + 8], 1
mov dword [esp], 0x6c0e5b
call fcn.00411221
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x54], edx
inc eax
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x48]
lea esi, [edi + eax*8]
mov eax, dword [esp + 0x58]
mov edx, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 8], 1
mov dword [esp + 0xc], 0xf4240
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00647ec6
mov dword [esi], eax
mov eax, dword [esp + 0x60]
mov dword [esi + 4], edx
mov dword [esp + 0x48], eax
inc dword [esp + 0x6c]
mov ecx, dword [esp + 0x6c]
cmp dword [esp + 0x4c], ecx
je 0x419be9
mov esi, dword [esp + 0x40]
jmp 0x4199db
mov ecx, dword [esp + 0x48]
cmp dword [esp + 0x3c], ecx
je 0x419c10
mov dword [esp + 0x14], 0xcc9
mov dword [esp + 0x10], 0x6c09d0
mov dword [esp + 0xc], 0x6c0e6c
jmp 0x41a258
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xc], 0x411c2d
mov dword [esp + 8], 8
mov dword [esp], edi
mov dword [esp + 4], eax
call fcn.00697f47
mov eax, dword [esp + 0x3c]
mov dword [ebp + 0xb8], edi
mov dword [ebp + 0xbc], eax
jmp 0x419c76
cmp dword [ebx + 0x5c], 0
mov dword [ebx + 0x4c], 1
mov dword [ebx + 0x50], 0xf4240
jne 0x419c76
mov edx, dword [ebp + 8]
mov eax, dword [0x7440bc]
mov eax, dword [eax + edx*4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xb0]
mov edx, dword [eax + 0x30]
mov eax, dword [eax + 0x34]
mov dword [ebx + 0x5c], edx
mov dword [ebx + 0x60], eax
mov eax, dword [ebx + 0x4c]
mov edx, dword [ebx + 0x50]
mov dword [ebp + 0x38], eax
mov eax, dword [ebp + 8]
mov dword [ebp + 0x3c], edx
call fcn.00414a9d
test eax, eax
mov dword [esp + 0x3c], eax
je 0x419cec
mov ebx, dword [eax + 0x14]
test ebx, ebx
je 0x419cee
cmp dword [ebx + 0x2e0], 0
je 0x419cee
mov eax, dword [ebx + 0x2e4]
mov esi, dword [ebp + 0x50]
inc eax
mov dword [esp], eax
call fcn.00648a36
mov dword [esi + 0x2e0], eax
mov eax, dword [ebp + 0x50]
mov eax, dword [eax + 0x2e0]
test eax, eax
je 0x41a7a8
mov esi, dword [ebx + 0x2e0]
mov ecx, dword [ebx + 0x2e4]
mov edi, eax
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebx + 0x2e4]
mov eax, dword [ebp + 0x50]
mov dword [eax + 0x2e4], edx
jmp 0x419cee
xor ebx, ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x6c0e7a
mov eax, dword [ebp + 0x118]
mov dword [esp], eax
call fcn.006403ef
test eax, eax
jne 0x419d3e
lea eax, [ebp + 0x118]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x6c0e82
mov dword [esp + 4], 0x6c0e7a
mov dword [esp], eax
call fcn.006404e4
mov eax, dword [ebp + 0x58]
cmp dword [eax + 8], 1
jne 0x419dcf
mov eax, dword [esp + 0x68]
cmp dword [eax + 0x48], 0
jne 0x419dcf
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x6c0e87
mov eax, dword [ebp + 0x118]
mov dword [esp], eax
call fcn.006403ef
test eax, eax
jne 0x419dcf
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x6c0e89
mov eax, dword [ebp + 0x118]
mov dword [esp], eax
call fcn.006403ef
test eax, eax
jne 0x419dcf
lea eax, [ebp + 0x118]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x6c0e8c
mov dword [esp + 4], 0x6c0e87
mov dword [esp], eax
call fcn.006404e4
mov eax, dword [ebp + 0x108]
test eax, eax
je 0x419e43
mov eax, dword [eax]
mov dword [esp], eax
call fcn.0042c878
test eax, eax
je 0x419e43
mov eax, dword [ebp + 0x108]
mov eax, dword [eax]
mov dword [esp], eax
call fcn.0042c878
mov eax, dword [eax + 4]
mov esi, dword [eax + 0x24]
mov eax, dword [ebp + 0x108]
mov eax, dword [eax]
mov dword [esp], eax
call fcn.0042c5a9
cmp esi, eax
jne 0x419e43
mov eax, dword [ebp + 0x108]
mov esi, dword [ebp + 0x50]
mov eax, dword [eax]
mov dword [esp], eax
call fcn.0042c878
mov dword [esp], eax
call fcn.0063ee87
mov dword [esi + 0x35c], eax
mov eax, dword [ebp + 0x50]
cmp dword [eax + 0x35c], 0
jne 0x419eb1
jmp 0x41a7a8
mov dword [esp], ebp
call fcn.0040f757
test eax, eax
mov esi, eax
jns 0x419eb1
lea edi, [esp + 0x90]
xor eax, eax
mov ecx, 0x10
lea ebx, [esp + 0x90]
rep stosd dword es:[edi], eax
mov dword [esp + 8], 0x40
mov dword [esp + 4], ebx
mov dword [esp], esi
call fcn.00641482
mov dword [esp + 0x14], ebx
mov eax, dword [ebp + 4]
mov dword [esp + 0x10], eax
mov eax, dword [ebp]
mov dword [esp + 8], 0x6c0e93
mov dword [esp + 4], 0x400
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call fcn.004146f5
mov eax, esi
jmp 0x41a7c9
cmp dword [esp + 0x3c], 0
je 0x419f43
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 0x18]
cmp dword [eax + 8], 3
jne 0x419f43
mov eax, dword [ebp + 0x58]
cmp dword [eax + 8], 3
jne 0x419f43
mov eax, dword [ebx + 0x10]
mov dword [esp], eax
call fcn.0047e47c
mov ebx, eax
mov eax, dword [ebp + 0x50]
mov eax, dword [eax + 0x10]
mov dword [esp], eax
call fcn.0047e47c
xor edx, edx
test ebx, ebx
je 0x419efc
mov edx, dword [ebx + 0x10]
and edx, 0x30000
xor ecx, ecx
test eax, eax
je 0x419f0b
mov ecx, dword [eax + 0x10]
and ecx, 0x30000
test ecx, ecx
setne al
cmp edx, ecx
setne cl
test al, cl
je 0x419f43
test edx, edx
je 0x419f43
mov eax, dword [esp + 0x5c]
mov dword [esp + 8], 0x6c0ed0
mov dword [esp + 4], 0x400
mov dword [esp], eax
call fcn.004146f5
mov eax, 0xbebbb1b7
jmp 0x41a7c9
lea eax, [ebp + 0x118]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x50]
mov dword [esp], eax
call fcn.004c6d54
test eax, eax
mov ebx, eax
jns 0x419fa2
cmp eax, 0xd44d5058
je 0x4199b7
mov eax, dword [ebp + 4]
mov dword [esp + 0x10], eax
mov eax, dword [ebp]
mov dword [esp + 8], 0x6c0f20
mov dword [esp + 4], 0x400
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call fcn.004146f5
mov eax, ebx
jmp 0x41a7c9
mov eax, dword [ebp + 0x58]
cmp dword [eax + 8], 1
jne 0x419fce
test byte [eax + 0x12], 1
jne 0x419fce
mov eax, dword [ebp + 0x50]
mov eax, dword [eax + 0x164]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x108]
mov eax, dword [eax]
mov dword [esp], eax
call fcn.0042c4d6
mov eax, dword [ebp + 0x118]
mov dword [esp], eax
call fcn.004190e5
mov eax, dword [ebp + 0x50]
mov edx, dword [eax + 0x28]
mov ecx, dword [eax + 0x2c]
mov edi, edx
or edi, ecx
je 0x41a01f
cmp ecx, 0
jl 0x419ffa
jg 0x41a01f
cmp edx, 0x3e7
ja 0x41a01f
cmp dword [eax + 0x10], 0x15043
je 0x41a01f
mov dword [esp + 8], 0x6c0f9a
mov dword [esp + 4], 0x18
mov dword [esp], 0
call fcn.00647705
mov eax, dword [ebp + 0x50]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0xb0]
mov dword [esp], eax
call fcn.004c81cf
test eax, eax
jns 0x41a048
mov dword [esp + 8], 0x6c0fea
jmp 0x4199a3
mov eax, dword [ebp + 0x50]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 8]
mov dword [esp], eax
call fcn.004c25db
test eax, eax
js 0x41a7c9
mov eax, dword [ebp + 0x50]
xor ebx, ebx
cmp dword [eax + 0x358], 0
jne 0x41a0bf
cmp dword [esp + 0x3c], 0
je 0x41a125
mov dword [esp + 0x48], 0
jmp 0x41a112
imul edi, ebx, 0xc
add edi, dword [eax + 0x354]
mov eax, dword [edi + 4]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call fcn.004765ad
test eax, eax
je 0x41a7a8
mov esi, dword [edi]
mov ecx, dword [edi + 4]
mov edi, eax
rep movsb byte es:[edi], byte [esi]
inc ebx
mov eax, dword [ebp + 0x50]
cmp ebx, dword [eax + 0x358]
jl 0x41a08b
jmp 0x41a073
imul ebx, dword [esp + 0x48], 0xc
add ebx, dword [eax + 0x98]
mov eax, dword [ebx + 4]
mov dword [esp + 8], eax
mov eax, dword [ebx + 8]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call fcn.004765ad
test eax, eax
je 0x41a7a8
mov esi, dword [ebx]
mov ecx, dword [ebx + 4]
mov edi, eax
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x3c]
cmp dword [edi + 0xa0], 0
jne 0x41a137
inc dword [esp + 0x48]
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x48]
mov eax, dword [eax + 4]
cmp edi, dword [eax + 0x9c]
jl 0x41a0cc
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x50]
cmp dword [ebx + 0x10], 0
mov dword [esp + 0x48], eax
jg 0x41a14d
jmp 0x41a153
cmp dword [ebx + 8], 5
jne 0x41a10e
fldz
mov dword [esp], eax
fstp qword [esp + 4]
call fcn.00640c7d
jmp 0x41a10e
cmp dword [ebx + 0x14], 0
jg 0x41a17f
mov eax, dword [esp + 0x48]
mov dword [esp + 8], 0
mov dword [esp + 0xc], 1
mov edx, dword [eax + 0x50]
mov eax, dword [eax + 0x4c]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0064f742
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], edx
mov eax, dword [ebx + 0x20]
mov edx, dword [ebx + 0x24]
add eax, 0xffffffff
adc edx, 0xffffffff
mov eax, edx
or eax, dword [ebx + 0x24]
jns 0x41a1e0
cmp dword [esp + 0x3c], 0
je 0x41a1e0
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 4]
mov edx, dword [eax + 0x24]
mov ecx, dword [eax + 0x20]
cmp edx, 0
jl 0x41a1e0
jg 0x41a1b2
cmp ecx, 0
jbe 0x41a1e0
mov esi, dword [ebx + 0x10]
mov edi, dword [ebx + 0x14]
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
mov esi, dword [eax + 0x10]
mov edi, dword [eax + 0x14]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], esi
mov dword [esp + 0xc], edi
call fcn.00647ec6
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], edx
mov eax, dword [esp + 0x48]
mov edx, dword [eax + 0xc]
mov eax, dword [ebx + 8]
mov dword [eax + 0xc], edx
jmp 0x41a675
cmp dword [eax + 0x134], 0
je 0x41a675
mov edx, dword [eax]
mov eax, dword [0x7440a4]
mov ebx, dword [eax + edx*4]
mov eax, dword [ebp + 8]
call fcn.00414a9d
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 0xc]
cmp dword [esp + 0x48], 0
mov eax, dword [eax + 0xb0]
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0x54]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x3c]
mov esi, dword [eax + 8]
je 0x41a240
cmp dword [ebp + 0x108], 0
je 0x41a279
mov dword [esp + 0x14], 0xbff
mov dword [esp + 0x10], 0x6c09d0
mov dword [esp + 0xc], 0x6c101f
mov dword [esp + 8], 0x6c09e3
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00647705
call fcn.00697e77
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xb0]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x50]
mov dword [esp], eax
call fcn.004c8347
test eax, eax
js 0x41a2b2
lea eax, [ebp + 0x118]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x50]
mov dword [esp], eax
call fcn.0064bd9c
test eax, eax
jns 0x41a2db
mov dword [esp + 8], 0x6c1033
mov dword [esp + 4], 8
mov dword [esp], 0
mov dword [esp + 0x3c], eax
call fcn.00647705
mov eax, dword [esp + 0x3c]
jmp 0x41a66d
mov eax, dword [ebp + 0x50]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call fcn.004c81cf
test eax, eax
mov edi, eax
jns 0x41a317
mov dword [esp + 8], 0x6c105c
mov dword [esp + 4], 8
mov dword [esp], 0
call fcn.00647705
mov eax, edi
jmp 0x41a66d
test esi, esi
jne 0x41a371
mov eax, dword [ebx]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x20]
test eax, eax
jne 0x41a330
mov eax, dword [esp + 0x40]
mov esi, dword [eax + 8]
jmp 0x41a371
mov edi, dword [esp + 0x40]
mov edx, dword [edi + 8]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0046e84c
mov edi, dword [esp + 0x40]
mov edx, dword [edi + 4]
cmp eax, edx
je 0x41a327
lea eax, [esp + 0x90]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov eax, dword [ebx]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x20]
mov dword [esp], eax
call fcn.0046e7e3
test eax, eax
je 0x41a327
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call fcn.004c8163
test eax, eax
js 0x41a66d
cmp dword [ebp + 0x84], 0
mov eax, dword [esp + 0x3c]
mov dword [eax + 8], esi
jne 0x41a3b9
mov eax, dword [esp + 0x48]
mov edx, dword [eax + 0x94]
mov eax, dword [eax + 0x90]
mov dword [ebp + 0x88], edx
mov dword [ebp + 0x84], eax
mov eax, dword [ebp + 0x84]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x88]
mov dword [ecx + 0x44], eax
mov eax, dword [0x6b5018]
mov dword [ecx + 0x48], edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 4]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov eax, dword [ebx]
mov eax, dword [eax + 8]
mov dword [esp], eax
call fcn.00476c15
test eax, eax
js 0x41a66d
mov ebx, dword [ebp + 0xc]
cmp dword [ebx + 0x10], 0
jle 0x41a40a
cmp dword [ebx + 0x14], 0
jg 0x41a434
mov dword [esp], ebx
call fcn.00476eb8
mov dword [esp + 8], 0
mov dword [esp + 0xc], 1
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0064f742
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], edx
mov ebx, dword [ebp + 0xc]
cmp dword [ebx + 0x24], 0
jg 0x41a48c
jl 0x41a445
cmp dword [ebx + 0x20], 0
ja 0x41a48c
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 4]
mov edx, dword [eax + 0x24]
mov ecx, dword [eax + 0x20]
cmp edx, 0
jl 0x41a48c
jg 0x41a45e
cmp ecx, 0
jbe 0x41a48c
mov esi, dword [ebx + 0x10]
mov edi, dword [ebx + 0x14]
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
mov esi, dword [eax + 0x10]
mov edi, dword [eax + 0x14]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], esi
mov dword [esp + 0xc], edi
call fcn.00647ec6
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], edx
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 4]
mov edx, dword [eax + 0x30]
mov dword [ebx + 0x30], edx
xor ebx, ebx
cmp dword [eax + 0x9c], 0
jne 0x41a4e3
cmp dword [ebp + 0x98], 0
je 0x41a527
jmp 0x41a4f4
imul edi, ebx, 0xc
add edi, dword [eax + 0x98]
mov eax, dword [edi + 4]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call fcn.004765ad
test eax, eax
je 0x41a7a8
mov esi, dword [edi]
mov ecx, dword [edi + 4]
mov edi, eax
rep movsb byte es:[edi], byte [esi]
inc ebx
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 4]
cmp ebx, dword [eax + 0x9c]
jl 0x41a4af
jmp 0x41a4a4
mov dword [esp + 8], 0x24
mov dword [esp + 4], 5
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call fcn.004765ad
test eax, eax
je 0x41a527
fld qword [ebp + 0xa0]
mov dword [esp], eax
fchs
fstp qword [esp + 4]
call fcn.00640c7d
mov eax, dword [esp + 0x3c]
mov eax, dword [eax]
test eax, eax
je 0x41a5a2
dec eax
jne 0x41a658
cmp dword [0x6b5020], 0x100
je 0x41a551
mov dword [esp + 8], 0x6c1087
jmp 0x4199a3
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 0x70]
cmp eax, 1
sete cl
cmp eax, 0x480
sete dl
or cl, dl
jne 0x41a571
cmp eax, 0x240
jne 0x41a585
mov eax, dword [esp + 0x3c]
cmp dword [eax + 4], 0x15001
jne 0x41a585
mov dword [eax + 0x70], 0
mov eax, dword [esp + 0x3c]
cmp dword [eax + 4], 0x15003
jne 0x41a658
mov dword [eax + 0x70], 0
jmp 0x41a658
cmp dword [ebp + 0xa8], 0
je 0x41a603
mov eax, dword [esp + 0x3c]
mov edx, dword [eax + 0x34]
mov eax, dword [eax + 0x30]
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0xa8]
mov edx, dword [ebp + 0xac]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0064f6c4
mov dword [esp + 8], 0x6c10c8
mov dword [esp + 4], 0x18
mov dword [esp], 0
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
call fcn.00647705
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
jmp 0x41a61a
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 4]
cmp dword [eax + 0x38], 0
jne 0x41a614
mov eax, dword [esp + 0x40]
mov edx, dword [eax + 0x3c]
mov eax, dword [eax + 0x38]
mov ecx, dword [ebp + 0xc]
mov edi, dword [esp + 0x3c]
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], edx
mov dword [ecx + 0x38], eax
mov eax, dword [esp + 0x48]
mov dword [ecx + 0x3c], edx
mov ebx, dword [eax + 4]
mov eax, dword [ebx + 0x44]
mov edx, dword [ebx + 0x48]
mov dword [ecx + 0x44], eax
mov dword [ecx + 0x48], edx
mov eax, dword [ebx + 0xa4]
mov edx, dword [ebx + 0xa8]
mov dword [ecx + 0xa4], eax
mov dword [ecx + 0xa8], edx
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 4]
mov edx, dword [eax + 0x14]
mov eax, dword [eax + 0x10]
mov dword [ebp + 0x3c], edx
mov dword [ebp + 0x38], eax
jmp 0x41a675
test eax, eax
jne 0x41a7c9
mov edx, dword [ebp + 0x14c]
test edx, edx
je 0x41a6b7
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], edx
mov dword [esp + 4], 0x6c1f20
mov dword [esp + 0x90], 0x6c2260
add eax, 0x30
mov dword [esp + 0xc], eax
lea eax, [esp + 0x90]
mov dword [esp], eax
call fcn.0064b21b
test eax, eax
js 0x41a7c9
cmp dword [ebp + 0x48], 0
je 0x41a7af
mov ecx, 0xfffffffc
xor esi, esi
mov edx, dword [ebp + 0x48]
mov eax, dword [ebp + 0x4c]
cmp esi, edx
jge 0x41a777
test esi, esi
lea ebx, [ecx + 4]
mov edi, dword [eax + ecx + 4]
je 0x41a6e9
mov eax, dword [eax + ecx]
mov eax, dword [eax + 0x14]
jmp 0x41a6f2
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0xb0]
mov dword [esp + 4], eax
mov eax, dword [edi + 0x10]
mov dword [esp + 0x3c], ecx
mov dword [esp], eax
call fcn.004c8163
test eax, eax
js 0x41a7c9
test esi, esi
je 0x41a723
mov eax, dword [ebp + 0x4c]
mov ecx, dword [esp + 0x3c]
mov eax, dword [eax + ecx]
mov edx, dword [eax + 0x24]
mov eax, dword [eax + 0x20]
jmp 0x41a72c
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 0x14]
mov eax, dword [eax + 0x10]
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], edx
mov dword [esp], edi
call fcn.0047dd80
test eax, eax
mov edi, eax
jns 0x41a76f
mov edx, dword [ebp + 0x4c]
mov edx, dword [edx + ebx]
mov edx, dword [edx + 4]
mov edx, dword [edx]
mov dword [esp + 8], 0x6c110c
mov dword [esp + 4], 0x10
mov dword [esp], 0
mov dword [esp + 0xc], edx
call fcn.00647705
mov eax, edi
jmp 0x41a7c9
inc esi
mov ecx, ebx
jmp 0x41a6c8
mov ebx, dword [eax + edx*4 - 4]
mov eax, dword [ebx + 0x14]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0xb0]
mov dword [esp], eax
call fcn.004c8163
test eax, eax
js 0x41a7c9
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebx + 0x20]
mov edx, dword [ebx + 0x24]
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], edx
jmp 0x41a7af
mov eax, 0xfffffff4
jmp 0x41a7c9
mov edx, dword [ebp]
mov eax, dword [0x7440a4]
mov dword [ebp + 0x138], 1
mov eax, dword [eax + edx*4]
call fcn.00415fb7
add esp, 0xdc
pop ebx
pop esi
pop edi
pop ebp
ret