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

Disassembly:
mov ecx, dword [0x1819d24]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x41a39c
sub esp, 0x74
mov eax, dword [0x1819d24]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
nop
inc dword [ecx + 0x7c]
mov ecx, dword [0x1819d24]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
mov eax, dword [eax + 0x18]
cmp dword [eax], ecx
je 0x419e17
mov edx, dword [eax + 0x7c]
cmp edx, 1
jg 0x419e17
mov ebx, dword [eax + 0x78]
test ebx, ebx
jne 0x419e17
lea ebx, [edx - 1]
nop
mov dword [eax + 0x7c], ebx
cmp edx, 1
jne 0x419e39
movzx eax, byte [ecx + 0x65]
test al, al
je 0x419e39
mov dword [ecx + 8], 0xfffffade
jmp 0x419e39
mov edx, dword [eax + 0x7c]
lea ebx, [edx - 1]
nop
mov dword [eax + 0x7c], ebx
cmp edx, 1
jne 0x419e35
movzx eax, byte [ecx + 0x65]
test al, al
je 0x419e35
mov dword [ecx + 8], 0xfffffade
add esp, 0x74
ret
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov ecx, dword [esp + 0x7c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x80]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x84]
mov dword [esp + 0xc], ebx
call fcn.00419c40
movzx eax, byte [esp + 0x10]
test al, al
jne 0x419e70
xor eax, eax
jmp 0x419e7c
call fcn.00427f40
cmp dword [esp], 0xffffffff
setne al
test al, al
jne 0x419e39
nop
lea eax, [0x17daad8]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov byte [esp + 0x10], 0x12
call fcn.00450740
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov ecx, dword [esp + 0x7c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x80]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x84]
mov dword [esp + 0xc], ebx
call fcn.00419c40
movzx eax, byte [esp + 0x10]
test al, al
je 0x419fae
mov eax, dword [0x181a5a0]
cmp eax, 1
jne 0x419ef2
mov eax, 1
jmp 0x419f00
cmp eax, 2
jne 0x419efe
mov eax, 2
jmp 0x419f00
xor eax, eax
mov dword [esp + 0x38], eax
lea ecx, [0x17635b4]
mov dword [esp], ecx
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov byte [esp + 0x10], 0x12
call fcn.00450740
nop
lea eax, [0x17635b0]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov byte [esp + 0x10], 0x12
call fcn.00450740
mov eax, dword [esp + 0x78]
cmp eax, 2
sete cl
mov byte [0x17daaec], cl
call fcn.0045dfb0
mov eax, dword [esp + 4]
test eax, eax
je 0x419f96
mov dword [esp + 0x4c], eax
mov eax, dword [esp]
mov dword [esp + 0x5c], eax
call fcn.0045e380
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
call fcn.0045e0c0
mov eax, dword [0x17d8d50]
mov dword [esp + 0x58], eax
mov ecx, dword [0x17d8d54]
mov dword [esp + 0x48], ecx
xor edx, edx
jmp 0x419fdd
nop
lea eax, [0x17daad8]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00450aa0
add esp, 0x74
ret
mov ebx, dword [esp + 0x44]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x48]
cmp edx, ecx
jge 0x41a012
mov dword [esp + 0x44], edx
mov ecx, dword [eax + edx*4]
mov dword [esp + 0x50], ecx
mov ebx, dword [ecx + 0x30]
test byte [ebx], al
add ebx, 0x24c
mov dword [esp], ebx
call fcn.00402fb0
mov eax, dword [0x17e19b0]
mov ecx, dword [esp + 4]
cmp ecx, eax
je 0x419fce
jmp 0x41a2e7
call fcn.0041bf10
lea eax, [0xdcfe70]
mov dword [esp], eax
call fcn.0046d5d0
mov eax, dword [0x1819be8]
mov dword [0x17dab10], eax
mov dword [0x17dab14], eax
mov ecx, dword [0x1819bec]
cmp ecx, eax
jge 0x41a047
mov dword [0x17dab10], ecx
lea eax, [0x181b2a8]
mov dword [esp], eax
call fcn.00403220
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [0x17dab40], eax
mov dword [0x17dab44], ecx
mov dword [0x17dab38], 0
mov dword [0x17dab3c], 0
mov eax, dword [esp + 0x38]
mov dword [0x17daae8], eax
call fcn.0046f880
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [0x17dab18], eax
mov dword [0x17dab1c], ecx
mov byte [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
lea eax, [0x41a4f0]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x24]
mov dword [esp + 0x70], eax
lea ecx, [esp + 0x6c]
mov dword [esp], ecx
call fcn.0046d5d0
lea eax, [0xdcfe78]
mov dword [esp], eax
call fcn.0046d5d0
call fcn.0041ced0
nop
lea eax, [0x17dab0c]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00403120
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov edx, dword [0x1819be8]
lea ebx, [0x181b240]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x78]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x1c], eax
call fcn.00422010
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
lea edx, [0x181a520]
mov dword [esp], edx
mov byte [esp + 4], 1
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.0041d4a0
mov eax, dword [esp + 0x38]
test eax, eax
je 0x41a196
mov byte [esp], 0
call fcn.0044bf50
nop
lea eax, [0x1819b5c]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.004031f0
mov eax, dword [0x1819b5c]
cmp eax, 1
jne 0x41a1bf
mov eax, 1
jmp 0x41a1c5
cmp eax, 2
sete al
mov byte [0x1819e80], al
nop
mov dword [0x17daa98], 0xffffffff
mov dword [0x17daaa4], 0xffffffff
call fcn.0041e200
call fcn.00421ec0
lea eax, [0x1819b60]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.004031f0
mov eax, dword [0x1819d24]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
nop
inc dword [ecx + 0x7c]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x54], eax
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
lea ecx, [0x41a3b0]
mov dword [esp + 0x60], ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x64], ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x68], ecx
lea ecx, [esp + 0x60]
mov dword [esp], ecx
call fcn.0046d5d0
nop
lea eax, [0x17635b0]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00450aa0
mov eax, dword [esp + 0x54]
mov ecx, dword [eax + 0x7c]
lea edx, [ecx - 1]
nop
mov ebx, dword [0x1819d24]
mov ebx, dword fs:[ebx]
mov ebx, dword [ebx]
mov dword [eax + 0x7c], edx
cmp ecx, 1
jne 0x41a2b0
movzx eax, byte [ebx + 0x65]
test al, al
je 0x41a2a8
mov dword [ebx + 8], 0xfffffade
mov eax, dword [esp + 0x38]
test eax, eax
jmp 0x41a2b6
mov eax, dword [esp + 0x38]
test eax, eax
jmp 0x41a2b6
mov eax, dword [esp + 0x38]
test eax, eax
je 0x41a2c7
nop
lea eax, [0xdcfd6c]
mov dword [esp], eax
call fcn.0046d570
nop
lea eax, [0x17daad8]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00450aa0
add esp, 0x74
ret
mov dword [esp + 0x20], ecx
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x50]
mov eax, dword [eax]
mov dword [esp + 0x3c], eax
call fcn.0043e090
lea eax, [0xd5c991]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.0043e900
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call fcn.0043e720
lea eax, [0xd5b5c3]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.0043e900
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0043e5f0
lea eax, [0xd5f851]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.0043e900
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0043e5f0
call fcn.0043e2a0
call fcn.0043e0f0
lea eax, [0xd6dc1c]
mov dword [esp], eax
mov dword [esp + 4], 0x14
call fcn.0043c260
nop
call fcn.0046d6c0
jmp fcn.00419db0