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

Disassembly:
sub esp, 0x64
push ebx
push ebp
mov ebp, dword [esp + 0x74]
push esi
push edi
mov edi, dword [esp + 0x78]
cmp dword [edi + 0x55f8], 4
jne 0x419e98
xor ebx, ebx
lea esi, [esp + 0x7c]
mov edx, edi
mov dword [esp + 0x7c], ebx
call fcn.0041c950
test al, al
je 0x419d21
mov esi, dword [esp + 0x7c]
lea eax, [esp + 0x30]
mov ecx, esi
call fcn.00467ef0
push ebx
mov edx, 0xff
xor ecx, ecx
lea eax, [esp + 0x44]
call fcn.005643d0
mov ecx, ebp
call fcn.00586cc0
push ebp
lea eax, [esp + 0x34]
call fcn.00586ef0
push ebx
lea eax, [esp + 0x24]
mov ecx, esi
call fcn.00467f90
cmp dword [esp + 0x28], 0x320
jge 0x419b7e
push ebx
xor edx, edx
mov ecx, 0xff
lea eax, [esp + 0x54]
call fcn.005643d0
mov ecx, ebp
call fcn.00586cc0
push ebp
lea eax, [esp + 0x24]
call fcn.00586ef0
mov ecx, dword [esi]
cmp dword [ecx + 0x768], ebx
je 0x419bb6
mov eax, dword [ecx + 0x7f8]
cmp eax, 0x11
je 0x419ba8
cmp eax, 0x21
je 0x419ba8
cmp eax, ebx
jne 0x419bb6
mov eax, dword [ecx + 0x82c]
cmp dword [eax + 0x24], 5
jne 0x419bb6
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 8]
sub eax, 0x14
jmp 0x419ccb
mov eax, dword [esi + 0x24]
cmp eax, 0x1c
jne 0x419bcb
mov eax, dword [esi + 8]
xor ecx, ecx
add eax, 0x10
jmp 0x419ccb
cmp eax, 0x34
jne 0x419bda
mov eax, dword [esi + 8]
xor ecx, ecx
jmp 0x419ccb
cmp eax, 0x11
jne 0x419bf0
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0x10]
add ecx, 0x14
sub eax, 0x23
jmp 0x419ccb
cmp eax, 6
jne 0x419c05
mov ecx, dword [esi + 8]
add ecx, 0x50
mov eax, 0x28
jmp 0x419ccb
cmp eax, 0x15
je 0x419cbf
cmp eax, 0x2e
je 0x419cbf
cmp eax, 4
jne 0x419c2a
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 8]
sub eax, 0x19
jmp 0x419ccb
cmp eax, 0x16
jne 0x419c3f
mov ecx, dword [esi + 8]
add ecx, 0x32
mov eax, 0x1e
jmp 0x419ccb
cmp eax, 8
je 0x419cb2
cmp eax, 0x18
je 0x419cb2
cmp eax, 0xa
jne 0x419c5b
mov ecx, dword [esi + 8]
add ecx, 0x3c
mov eax, 0x154
jmp 0x419ccb
cmp eax, 0x2a
jne 0x419c7d
mov ecx, dword [esi + 8]
mov esi, dword [esi + 0xc]
mov eax, 0xf0
sub ecx, 0x50
sub esi, 0x50
mov edx, eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], edx
jmp 0x419cd9
cmp eax, 0x13
jne 0x419c8a
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0x10]
jmp 0x419ccb
cmp eax, 0x2b
jne 0x419ca5
mov ecx, 0xfffffce0
mov edx, 0xfffffda8
mov eax, 0x640
mov esi, 0x4b0
jmp 0x419cd1
mov ecx, dword [esi + 8]
add ecx, 0x3c
mov eax, 0x320
jmp 0x419ccb
mov ecx, dword [esi + 8]
add ecx, 0x3c
mov eax, 0xe6
jmp 0x419ccb
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0x10]
add ecx, 0x14
sub eax, 0x32
mov edx, dword [esi + 0xc]
mov esi, dword [esi + 0x14]
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], esi
cmp eax, 0x320
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ecx
jge 0x419d0e
push 0x80
xor edx, edx
mov ecx, 0xff
lea eax, [esp + 0x64]
call fcn.005643d0
mov ecx, ebp
call fcn.00586cc0
push ebp
lea eax, [esp + 0x14]
call fcn.00586ef0
lea esi, [esp + 0x7c]
mov edx, edi
call fcn.0041c950
test al, al
jne 0x419b15
lea esi, [esp + 0x7c]
mov edx, edi
mov dword [esp + 0x7c], ebx
call fcn.0041c8f0
test al, al
je 0x419dcd
jmp 0x419d40
mov esi, dword [esp + 0x7c]
cmp byte [esi + 0xec], bl
jne 0x419dba
mov eax, dword [esi + 0x28]
cmp eax, 1
je 0x419dba
cmp eax, 2
je 0x419dba
cmp eax, 3
je 0x419dba
lea edi, [esp + 0x30]
mov ebx, esi
call fcn.005320b0
push 0
mov edx, 0xff
xor ecx, ecx
lea eax, [esp + 0x64]
call fcn.005643d0
mov ecx, ebp
call fcn.00586cc0
push ebp
mov eax, edi
call fcn.00586ef0
lea edi, [esp + 0x20]
call fcn.00532140
push 0
xor edx, edx
mov ecx, 0xff
lea eax, [esp + 0x54]
call fcn.005643d0
mov ecx, ebp
call fcn.00586cc0
push ebp
mov eax, edi
call fcn.00586ef0
mov edi, dword [esp + 0x78]
xor ebx, ebx
lea esi, [esp + 0x7c]
mov edx, edi
call fcn.0041c8f0
test al, al
jne 0x419d40
lea esi, [esp + 0x7c]
mov edx, edi
mov dword [esp + 0x7c], ebx
call fcn.0041ca70
test al, al
je 0x419e3d
mov dword [esp + 0x18], 0x32
mov dword [esp + 0x1c], 0x50
mov esi, dword [esp + 0x7c]
fld dword [esi + 8]
call fcn.006397d0
fld dword [esi + 0xc]
mov dword [esp + 0x10], eax
call fcn.006397d0
mov dword [esp + 0x14], eax
push ebx
xor edx, edx
mov ecx, 0xff
lea eax, [esp + 0x64]
call fcn.005643d0
mov ecx, ebp
call fcn.00586cc0
push ebp
lea eax, [esp + 0x14]
call fcn.00586ef0
lea esi, [esp + 0x7c]
mov edx, edi
call fcn.0041ca70
test al, al
jne 0x419df0
lea esi, [esp + 0x7c]
mov edx, edi
mov dword [esp + 0x7c], ebx
call fcn.0041c9b0
test al, al
je 0x419e98
mov edi, 0xb
mov esi, dword [esp + 0x7c]
cmp dword [esi + 0x5c], edi
jne 0x419e87
push ebx
xor edx, edx
mov ecx, 0xff
lea eax, [esp + 0x64]
call fcn.005643d0
mov ecx, ebp
call fcn.00586cc0
lea ecx, [esp + 0x30]
call fcn.0046ebc0
push ebp
mov eax, ecx
call fcn.00586ef0
mov edx, dword [esp + 0x78]
lea esi, [esp + 0x7c]
call fcn.0041c9b0
test al, al
jne 0x419e55
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret 8