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

Disassembly:
mov ecx, dword [0x5efcb0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 8]
cmp eax, dword [ecx + 8]
jbe 0x418a82
sub esp, 0x88
mov eax, dword [0x5f0068]
test eax, eax
je 0x4183cf
add esp, 0x88
ret
lea eax, [esp + 0x8c]
mov dword [esp], eax
call fcn.0044fa60
mov eax, dword [esp + 4]
mov ecx, dword [eax]
test ecx, ecx
je 0x418a6b
movzx edx, byte [ecx + 0xf]
and edx, 0x1f
cmp dl, 0x16
jne 0x418a03
mov edx, dword [ecx + 0x20]
test edx, edx
je 0x4189ed
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], ecx
mov ecx, dword [eax + 4]
mov dword [esp], ecx
call fcn.00405890
movzx eax, byte [esp + 4]
test al, al
jne 0x4189d7
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 4]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
call fcn.0046f280
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x418471
mov eax, dword [esp + 0x5c]
mov eax, dword [eax + 4]
mov dword [esp], eax
call fcn.00418320
movzx eax, byte [esp + 4]
test al, al
je 0x4189c1
add esp, 0x88
ret
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x34], eax
movzx ecx, byte [eax + 0x3e]
mov byte [esp], cl
call fcn.00429e10
movzx eax, byte [esp + 4]
test al, al
je 0x418496
xor eax, eax
jmp 0x4184ad
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0x44]
mov dword [esp], ecx
call fcn.00411550
movzx eax, byte [esp + 4]
xor eax, 1
test al, al
jne 0x4184b7
mov eax, dword [esp + 0x3c]
jmp 0x4184dd
mov eax, dword [esp + 0x34]
movzx eax, byte [eax + 0x3e]
mov byte [esp], al
call fcn.00429e00
movzx eax, byte [esp + 4]
test al, al
je 0x4184d9
mov ecx, dword [esp + 0x3c]
lea eax, [ecx + 8]
jmp 0x4184dd
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x5c]
mov edx, dword [ecx + 4]
cmp edx, eax
je 0x418525
mov eax, dword [esp + 0x58]
mov edx, dword [eax + 0x20]
test edx, edx
jne 0x4184fa
mov edx, 1
jmp 0x418511
mov dword [esp], edx
call fcn.00401380
movzx eax, byte [esp + 4]
mov ecx, dword [esp + 0x5c]
mov edx, eax
mov eax, dword [esp + 0x58]
test dl, dl
jne 0x4189ab
mov edx, dword [eax + 0x20]
cmp dword [edx], 0x10
jae 0x4189ab
lea eax, [esp + 0x94]
mov dword [esp], eax
call fcn.0044fa60
mov eax, dword [esp + 4]
mov ecx, dword [eax]
test ecx, ecx
jne 0x41856c
lea eax, [0x418b00]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x84], eax
lea eax, [esp + 0x80]
mov dword [esp], eax
call fcn.004742c0
add esp, 0x88
ret
movzx edx, byte [ecx + 0xf]
and edx, 0x1f
cmp dl, 0x13
jne 0x418943
mov dword [esp + 0x54], eax
mov dword [esp + 0x4c], ecx
mov dword [esp], ecx
call fcn.00401b40
movzx eax, byte [esp + 4]
test al, al
jne 0x41888d
mov eax, dword [esp + 0x4c]
cmp word [eax + 0x20], 1
jne 0x4187e9
mov dword [esp], eax
call fcn.004019a0
mov eax, dword [esp + 8]
test eax, eax
jbe 0x4187e0
mov eax, dword [esp + 4]
mov eax, dword [eax]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x58]
cmp eax, ecx
je 0x41866b
movzx edx, byte [eax + 0xf]
and edx, 0x1f
cmp dl, 0x16
je 0x418620
cmp dl, 0x14
jne 0x4187d9
mov edx, dword [eax + 0x28]
test edx, edx
je 0x41866b
lea eax, [esp + 0x8c]
mov dword [esp], eax
call fcn.0044fa60
mov eax, dword [esp + 4]
mov eax, dword [eax]
mov ecx, dword [esp + 0x50]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0040b250
mov eax, dword [esp + 8]
test eax, eax
jne 0x41866b
jmp 0x4187d0
mov dword [esp], eax
call fcn.00401520
mov eax, dword [esp + 4]
test eax, eax
jne 0x418637
mov eax, 1
jmp 0x41864f
mov eax, dword [esp + 0x58]
mov dword [esp], eax
call fcn.00401520
mov eax, dword [esp + 4]
test eax, eax
setne al
xor eax, 1
test al, al
je 0x4187c7
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 0x58]
cmp dword [edx + 0x20], ecx
jne 0x418727
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
call fcn.00401a50
mov eax, dword [esp + 4]
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x44], ecx
xor edx, edx
xor ebx, ebx
jmp 0x4186c1
mov dword [esp + 0x40], edx
mov ecx, dword [eax + edx*4]
mov dword [esp + 0x48], ecx
movzx ebp, byte [ecx + 0xd]
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.00456970
mov eax, dword [esp + 0x48]
mov ebx, dword [eax]
mov eax, dword [esp + 0x40]
lea edx, [eax + 1]
add ebx, dword [esp + 8]
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x44]
cmp edx, ecx
jl 0x41868d
mov dword [esp], ebx
mov dword [esp + 4], 4
call fcn.00456970
mov eax, dword [esp + 8]
mov dword [esp + 0x38], eax
call fcn.00417e60
lea eax, [0x418a90]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x68]
mov dword [esp], eax
call fcn.004742c0
add esp, 0x88
ret
mov dword [esp], edx
call fcn.004672f0
mov eax, dword [esp + 4]
mov dword [esp], eax
call fcn.00466880
mov eax, dword [esp + 4]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0x4c]
mov dword [esp], edx
call fcn.004672f0
mov eax, dword [esp + 4]
mov dword [esp], eax
call fcn.00466880
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x52e55a]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x22
mov edx, dword [esp + 0x60]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x10], edx
lea edx, [0x528822]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 0xe
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
call fcn.00455a60
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004700b0
mov edx, dword [esp + 0x58]
jmp 0x418727
mov edx, dword [esp + 0x58]
jmp 0x418727
mov edx, ecx
jmp 0x418727
xor eax, eax
mov ecx, eax
call fcn.00475830
mov eax, dword [esp + 0x58]
mov dword [esp], eax
call fcn.004672f0
mov eax, dword [esp + 4]
mov dword [esp], eax
call fcn.00466880
mov eax, dword [esp + 4]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0x4c]
mov dword [esp], edx
call fcn.004672f0
mov eax, dword [esp + 4]
mov dword [esp], eax
call fcn.00466880
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x52e55a]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x22
mov edx, dword [esp + 0x60]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x10], edx
lea edx, [0x528822]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 0xe
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
call fcn.00455a60
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004700b0
mov eax, dword [esp + 0x58]
mov dword [esp], eax
call fcn.004672f0
mov eax, dword [esp + 4]
mov dword [esp], eax
call fcn.00466880
mov eax, dword [esp + 4]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0x4c]
mov dword [esp], edx
call fcn.004672f0
mov eax, dword [esp + 4]
mov dword [esp], eax
call fcn.00466880
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x52e55a]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x22
mov edx, dword [esp + 0x60]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x10], edx
lea edx, [0x528822]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 0xe
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
lea eax, [0x52985c]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], 0x12
call fcn.00455b10
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004700b0
mov dword [esp], ecx
call fcn.004672f0
mov eax, dword [esp + 4]
mov dword [esp], eax
call fcn.00466880
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x52fa37]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x29
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
lea eax, [0x528f9b]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0x10
call fcn.004559d0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004700b0
lea eax, [0x531d68]
mov dword [esp], eax
mov dword [esp + 4], 0x41
call fcn.004700b0
lea eax, [0x5310f0]
mov dword [esp], eax
mov dword [esp + 4], 0x34
call fcn.004700b0
lea eax, [0x531c26]
mov dword [esp], eax
mov dword [esp + 4], 0x40
call fcn.004700b0
lea eax, [0x528814]
mov dword [esp], eax
mov dword [esp + 4], 0xe
call fcn.004700b0
mov dword [esp], ecx
call fcn.004672f0
mov eax, dword [esp + 4]
mov dword [esp], eax
call fcn.00466880
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x52f70e]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x28
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
lea eax, [0x5283bc]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0xd
call fcn.004559d0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004700b0
lea eax, [0x52ff1e]
mov dword [esp], eax
mov dword [esp + 4], 0x2b
call fcn.004700b0
nop
call fcn.004743b0
jmp fcn.004183a0