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

Disassembly:
mov ecx, dword [0x5efcb0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 4]
cmp eax, dword [ecx + 8]
jbe 0x4197bf
sub esp, 0x84
call fcn.0044fa10
mov eax, dword [esp]
mov ecx, dword [0x5efcb0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp dword [eax], ecx
je 0x4192d9
cmp dword [eax + 0x7c], 1
jg 0x4192d9
mov eax, dword [eax + 0x78]
test eax, eax
jne 0x4192d9
call fcn.0044fa30
jmp 0x4192e5
call fcn.0044fa30
add esp, 0x84
ret
mov eax, dword [esp + 0x88]
mov dword [esp], eax
mov ecx, dword [esp + 0x8c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x90]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x94]
mov dword [esp + 0xc], ebx
call fcn.00419120
movzx eax, byte [esp + 0x10]
test al, al
jne 0x419322
xor eax, eax
jmp 0x41932e
call fcn.004273f0
cmp dword [esp], 0xffffffff
setne al
test al, al
jne 0x4192e5
lea eax, [0x5cff98]
mov dword [esp], eax
call fcn.00450020
mov eax, dword [esp + 0x88]
mov dword [esp], eax
mov ecx, dword [esp + 0x8c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x90]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x94]
mov dword [esp + 0xc], ebx
call fcn.00419120
movzx eax, byte [esp + 0x10]
test al, al
je 0x419432
mov eax, dword [0x5f0020]
cmp eax, 1
jne 0x41938f
mov eax, 1
jmp 0x41939d
cmp eax, 2
jne 0x41939b
mov eax, 2
jmp 0x41939d
xor eax, eax
mov dword [esp + 0x44], eax
lea ecx, [0x5c5210]
mov dword [esp], ecx
call fcn.00450020
lea eax, [0x5c520c]
mov dword [esp], eax
call fcn.00450020
mov eax, dword [esp + 0x88]
cmp eax, 2
sete cl
mov byte [0x5cffa8], cl
call fcn.00462b30
mov eax, dword [esp]
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x5c], ecx
call fcn.00462ca0
movzx eax, byte [esp + 8]
test al, al
je 0x41941a
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
call fcn.00463080
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
call fcn.00462cb0
mov eax, dword [0x5cf988]
mov dword [esp + 0x68], eax
mov ecx, dword [0x5cf98c]
mov dword [esp + 0x58], ecx
xor edx, edx
jmp 0x419456
lea eax, [0x5cff98]
mov dword [esp], eax
call fcn.00450350
add esp, 0x84
ret
mov ebx, dword [esp + 0x54]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x58]
cmp edx, ecx
jge 0x41948b
mov dword [esp + 0x54], edx
mov ecx, dword [eax + edx*4]
mov dword [esp + 0x60], ecx
mov ebx, dword [ecx + 0x30]
test byte [ebx], al
add ebx, 0x24c
mov dword [esp], ebx
call fcn.0047a480
mov eax, dword [esp + 4]
mov ecx, dword [0x5d7c90]
cmp ecx, eax
je 0x419447
jmp 0x41970a
call fcn.0041aeb0
lea eax, [0x532ac8]
mov dword [esp], eax
call fcn.004742c0
mov eax, dword [0x5efc6c]
mov dword [0x5cffcc], eax
mov dword [0x5cffd0], eax
mov ecx, dword [0x5efc70]
cmp ecx, eax
jge 0x4194c0
mov dword [0x5cffcc], ecx
lea eax, [0x5f05e8]
mov dword [esp], eax
call fcn.0047a590
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [0x5cfffc], eax
mov dword [0x5d0000], ecx
mov dword [0x5cfff4], 0
mov dword [0x5cfff8], 0
mov eax, dword [esp + 0x44]
mov dword [0x5cffa4], eax
call fcn.00472ed0
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
mov dword [0x5cffd4], eax
mov dword [0x5cffd8], ecx
lea edi, [esp + 0x20]
xor eax, eax
call fcn.00475a09
lea eax, [0x419890]
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x20]
mov dword [esp + 0x80], eax
lea ecx, [esp + 0x7c]
mov dword [esp], ecx
call fcn.004742c0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
lea edx, [0x5d0014]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
call fcn.00436000
lea eax, [0x532ad0]
mov dword [esp], eax
call fcn.004742c0
call fcn.0041bee0
lea eax, [0x5cffc8]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.0047a560
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov edx, dword [0x5efc6c]
lea ebx, [0x5f0580]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x88]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x1c], eax
call fcn.00421330
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
lea edx, [0x5effa0]
mov dword [esp], edx
mov byte [esp + 4], 1
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.0041c450
mov eax, dword [esp + 0x44]
test eax, eax
je 0x419623
mov byte [esp], 0
call fcn.0044b6b0
mov dword [esp], 1
call fcn.00418fc0
call fcn.0041aff0
call fcn.0041d370
call fcn.004211e0
lea eax, [0x5efbec]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.0047ab40
call fcn.0044fa10
mov eax, dword [esp]
mov dword [esp + 0x64], eax
call fcn.00472ed0
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
mov ebp, dword [0x5cffd0]
lea esi, [0x5d0014]
mov dword [esp], esi
sub eax, edx
mov dword [esp + 4], eax
sbb ecx, ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
call fcn.00436000
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
lea eax, [0x4197d0]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x74], eax
lea eax, [esp + 0x20]
mov dword [esp + 0x78], eax
lea eax, [esp + 0x70]
mov dword [esp], eax
call fcn.004742c0
lea eax, [0x5c520c]
mov dword [esp], eax
call fcn.00450350
mov eax, dword [esp + 0x64]
mov dword [esp], eax
call fcn.0044fa30
mov eax, dword [esp + 0x44]
test eax, eax
je 0x4196f5
call fcn.0043eb80
lea eax, [0x5cff98]
mov dword [esp], eax
call fcn.00450350
add esp, 0x84
ret
mov dword [esp + 0x48], eax
mov dword [esp + 0x50], ecx
mov eax, dword [esp + 0x60]
mov eax, dword [eax]
mov dword [esp + 0x4c], eax
call fcn.0043d9f0
lea eax, [0x527c1d]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.0043e250
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call fcn.0043e070
lea eax, [0x52789a]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.0043e250
mov eax, dword [esp + 0x48]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0043df40
lea eax, [0x5283c9]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.0043e250
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0043df40
call fcn.0043dbf0
call fcn.0043da50
lea eax, [0x52a312]
mov dword [esp], eax
mov dword [esp + 4], 0x14
call fcn.004700b0
nop
call fcn.004743b0
jmp fcn.00419290