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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x419522
sub esp, 0x58
call fcn.0044c230
mov eax, dword [esp]
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp dword [eax], ecx
je 0x4190f6
cmp dword [eax + 0x7c], 1
jg 0x4190f6
mov eax, dword [eax + 0x78]
test eax, eax
jne 0x4190f6
call fcn.0044c250
jmp 0x419105
call fcn.0044c250
add esp, 0x58
ret
inc dword [0x5f753c]
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov ecx, dword [esp + 0x64]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x60]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x68]
mov dword [esp + 0xc], ebx
call fcn.00418f30
movzx eax, byte [esp + 0x10]
test al, al
jne 0x419136
xor eax, eax
jmp 0x419142
call fcn.00426640
cmp dword [esp], 0xffffffff
setne al
test al, al
jne 0x4190ff
lea eax, [0x5f7918]
mov dword [esp], eax
call fcn.0044ddd0
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov ecx, dword [esp + 0x64]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x60]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x68]
mov dword [esp + 0xc], ebx
call fcn.00418f30
movzx eax, byte [esp + 0x10]
test al, al
je 0x419206
mov eax, dword [0x61d4f8]
cmp eax, 1
jne 0x419197
mov eax, 1
jmp 0x4191a5
cmp eax, 2
jne 0x4191a3
mov eax, 2
jmp 0x4191a5
xor eax, eax
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x5c]
cmp ecx, 2
sete dl
mov byte [esp + 0x23], dl
lea ebx, [0x5b5290]
mov dword [esp], ebx
call fcn.0044ddd0
lea eax, [0x5b52b0]
mov dword [esp], eax
call fcn.0044ddd0
movzx eax, byte [esp + 0x23]
mov byte [0x5f792c], al
movzx eax, byte [0x601708]
test al, al
je 0x4191ee
call fcn.0045b5a0
mov eax, dword [0x5f7388]
mov dword [esp + 0x4c], eax
mov ecx, dword [0x5f738c]
mov dword [esp + 0x38], ecx
xor edx, edx
jmp 0x419227
lea eax, [0x5f7918]
mov dword [esp], eax
call fcn.0044e100
add esp, 0x58
ret
mov ebx, dword [esp + 0x34]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x38]
cmp edx, ecx
jge 0x41925c
mov dword [esp + 0x34], edx
mov ecx, dword [eax + edx*4]
mov dword [esp + 0x44], ecx
mov ebx, dword [ecx + 0x30]
test byte [ebx], al
add ebx, 0x24c
mov dword [esp], ebx
call fcn.00402380
mov eax, dword [esp + 4]
mov ecx, dword [0x5fd158]
cmp ecx, eax
je 0x419218
jmp 0x41946b
call fcn.0041abd0
lea eax, [0x51ea38]
mov dword [esp], eax
call fcn.00467460
mov eax, dword [0x61d108]
mov dword [0x5f7950], eax
mov dword [0x5f7954], eax
mov ecx, dword [0x61d124]
cmp ecx, eax
jge 0x419291
mov dword [0x5f7950], ecx
lea eax, [0x61daf0]
mov dword [esp], eax
call fcn.00402490
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [0x5f798c], eax
mov dword [0x5f7988], ecx
mov dword [0x5f7978], 0
mov dword [0x5f797c], 0
mov eax, dword [esp + 0x24]
mov dword [0x5f7928], eax
call fcn.0045a1d0
mov eax, dword [esp + 4]
mov ecx, dword [esp]
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], ecx
mov dword [0x5f795c], eax
mov dword [0x5f7958], ecx
mov dword [0x5f7984], eax
mov dword [0x5f7980], ecx
movzx eax, byte [0x601708]
test al, al
je 0x419314
mov dword [esp], 1
call fcn.0045b680
lea eax, [0x51eb08]
mov dword [esp], eax
call fcn.00467460
lea eax, [0x51ea3c]
mov dword [esp], eax
call fcn.00467460
call fcn.0041bb60
lea eax, [0x5f794c]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00402460
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov edx, dword [0x61d108]
lea ebx, [0x61daa0]
mov dword [esp], ebx
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x1c], eax
call fcn.00420e70
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
lea edx, [0x61d540]
mov dword [esp], edx
mov byte [esp + 4], 1
mov dword [esp + 0xc], ecx
mov dword [esp + 8], eax
call fcn.0041c0e0
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4193c7
mov byte [esp], 0
call fcn.00449670
mov dword [esp], 1
call fcn.00418db0
call fcn.0041ac40
call fcn.0041d030
call fcn.00420d20
lea eax, [0x61d0fc]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.004029e0
call fcn.0044c230
mov eax, dword [esp]
mov dword [esp + 0x48], eax
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
lea ecx, [0x419530]
mov dword [esp + 0x50], ecx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x54], ecx
lea ecx, [esp + 0x50]
mov dword [esp], ecx
call fcn.00467460
lea eax, [0x5b52b0]
mov dword [esp], eax
call fcn.0044e100
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call fcn.0044c250
mov eax, dword [esp + 0x24]
test eax, eax
je 0x419459
call fcn.0043da50
lea eax, [0x5f7918]
mov dword [esp], eax
call fcn.0044e100
add esp, 0x58
ret
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], ecx
mov eax, dword [esp + 0x44]
mov eax, dword [eax]
mov dword [esp + 0x2c], eax
call fcn.0043c950
lea eax, [0x512e22]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.0043d240
mov eax, dword [esp + 0x2c]
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.0043d040
lea eax, [0x512618]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.0043d240
mov dword [esp + 4], 0
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call fcn.0043cec0
lea eax, [0x513400]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.0043d240
mov dword [esp + 4], 0
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.0043cec0
call fcn.0043cb60
call fcn.0043c9b0
lea eax, [0x515f12]
mov dword [esp], eax
mov dword [esp + 4], 0x14
call fcn.0043b160
nop
call fcn.00467570
jmp fcn.004190b0