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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x412168
sub esp, 0x50
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
nop
inc dword [ecx + 0x78]
mov ecx, dword [eax + 0x18]
test byte [eax], al
mov eax, dword fs:[0x14]
mov eax, dword [eax]
cmp dword [ecx], eax
je 0x411bbf
mov edx, dword [ecx + 0x78]
cmp edx, 1
jg 0x411bbf
mov ebx, dword [ecx + 0x74]
test ebx, ebx
jne 0x411bbf
nop
lea ebx, [edx - 1]
mov dword [ecx + 0x78], ebx
cmp edx, 1
jne 0x411be7
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x411be7
mov dword [eax + 8], 0xfffffade
jmp 0x411be7
nop
mov edx, dword [ecx + 0x78]
lea ebx, [edx - 1]
mov dword [ecx + 0x78], ebx
cmp edx, 1
jne 0x411bdd
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x411bdd
mov dword [eax + 8], 0xfffffade
add esp, 0x50
ret
inc dword [0x4ccf0c]
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x58]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x60]
mov dword [esp + 0xc], ebx
call fcn.004119f0
movzx eax, byte [esp + 0x10]
test al, al
jne 0x411c18
xor eax, eax
jmp 0x411c24
call fcn.0041ddc0
cmp dword [esp], 0xffffffff
setne al
test al, al
jne 0x411be1
lea eax, [0x4cd0d8]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.0043f1b0
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0xc], ecx
call fcn.004119f0
movzx eax, byte [esp + 0x10]
test al, al
je 0x411d85
mov eax, dword [esp + 0x54]
cmp eax, 2
sete al
mov byte [0x4cd0ec], al
mov eax, dword [0x4f2c58]
cmp eax, 1
jne 0x411c9e
mov eax, 1
jmp 0x411cac
cmp eax, 2
jne 0x411caa
mov eax, 2
jmp 0x411cac
xor eax, eax
mov dword [esp + 0x14], eax
lea ecx, [0x4ca190]
mov dword [esp], ecx
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.0043f1b0
lea eax, [0x4ca1b0]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.0043f1b0
movzx eax, byte [0x4d7008]
test al, al
je 0x411d6d
nop
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov eax, dword [0x4d7038]
mov ecx, dword [0x4d703c]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
mov byte [esp], 7
mov dword [esp + 4], 3
lea eax, [esp + 0x34]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.00449580
mov eax, dword [0x4d7038]
add eax, 1
mov ecx, dword [0x4d703c]
mov dword [0x4d7038], eax
adc ecx, 0
mov dword [0x4d703c], ecx
mov eax, dword [0x4cce40]
mov dword [esp + 0x44], eax
mov ecx, dword [0x4cce44]
mov dword [esp + 0x28], ecx
xor edx, edx
jmp 0x411db4
nop
lea eax, [0x4cd0d8]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.0043f4c0
add esp, 0x50
ret
mov ebx, dword [esp + 0x24]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x28]
cmp edx, ecx
jge 0x411de9
mov dword [esp + 0x24], edx
mov ecx, dword [eax + edx*4]
mov dword [esp + 0x3c], ecx
mov ebx, dword [ecx + 0x30]
test byte [ebx], al
add ebx, 0x24c
mov dword [esp], ebx
call fcn.00401c00
mov eax, dword [esp + 4]
mov ecx, dword [0x4d2a50]
cmp ecx, eax
je 0x411da5
jmp 0x4120b1
call fcn.00413b20
lea eax, [0x473af8]
mov dword [esp], eax
call fcn.00453110
mov eax, dword [0x4f29cc]
mov dword [0x4cd118], eax
mov dword [0x4cd11c], eax
mov ecx, dword [0x4f29e8]
cmp ecx, eax
jge 0x411e1e
mov dword [0x4cd118], ecx
lea eax, [0x4f3190]
mov dword [esp], eax
call fcn.00401e20
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [0x4cd154], eax
mov dword [0x4cd150], ecx
mov dword [0x4cd140], 0
mov dword [0x4cd144], 0
mov eax, dword [esp + 0x14]
mov dword [0x4cd0e8], eax
call fcn.00455450
mov eax, dword [esp + 4]
mov ecx, dword [esp]
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ecx
mov dword [0x4cd124], eax
mov dword [0x4cd120], ecx
mov dword [0x4cd14c], eax
mov dword [0x4cd148], ecx
movzx eax, byte [0x4d7008]
test al, al
je 0x411edf
nop
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], 1
mov dword [esp + 0x38], 0
mov byte [esp], 9
mov dword [esp + 4], 0xffffffff
lea eax, [esp + 0x34]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.00449580
lea eax, [0x473b90]
mov dword [esp], eax
call fcn.00453110
lea eax, [0x473afc]
mov dword [esp], eax
call fcn.00453110
call fcn.00414b30
inc dword [0x4cd114]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov edx, dword [0x4f29cc]
lea ebx, [0x4f3120]
mov dword [esp], ebx
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov dword [esp + 0xc], edx
call fcn.00418e60
mov eax, dword [0x4f3180]
mov ecx, dword [0x4f3184]
mov dword [0x4cd168], eax
mov dword [0x4cd16c], ecx
mov eax, dword [esp + 0x14]
test eax, eax
je 0x411f57
mov byte [esp], 0
call fcn.0043cc40
lea eax, [0x4f29c8]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00401e00
mov eax, dword [0x4f29c8]
cmp eax, 1
jne 0x411f7f
mov eax, 1
jmp 0x411f85
cmp eax, 2
sete al
mov byte [0x4f2b14], al
test al, al
je 0x411f96
mov eax, 1
jmp 0x411f9d
movzx eax, byte [0x4f2b15]
mov byte [0x4f2b10], al
nop
mov dword [0x4cd098], 0xffffffff
mov dword [0x4cd0a4], 0xffffffff
call fcn.00415120
call fcn.00418d70
lea eax, [0x4f29c0]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00401e00
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
nop
inc dword [ecx + 0x78]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
lea ecx, [0x412180]
mov dword [esp + 0x48], ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x4c], ecx
lea ecx, [esp + 0x48]
mov dword [esp], ecx
call fcn.00453110
lea eax, [0x4ca1b0]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.0043f4c0
nop
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx + 0x78]
lea ebx, [edx - 1]
mov dword [ecx + 0x78], ebx
cmp edx, 1
jne 0x41207b
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x412073
mov dword [eax + 8], 0xfffffade
mov eax, dword [esp + 0x14]
test eax, eax
jmp 0x412081
mov eax, dword [esp + 0x14]
test eax, eax
jmp 0x412081
mov eax, dword [esp + 0x14]
test eax, eax
je 0x412091
lea eax, [0x473b08]
mov dword [esp], eax
call fcn.004530b0
nop
lea eax, [0x4cd0d8]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.0043f4c0
add esp, 0x50
ret
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x3c]
mov eax, dword [eax]
mov dword [esp + 0x1c], eax
call fcn.004309a0
lea eax, [0x46ce2c]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.00431280
mov eax, dword [esp + 0x1c]
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.00431080
lea eax, [0x46c9bb]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.00431280
mov dword [esp + 4], 0
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.00430f20
lea eax, [0x46d1b4]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.00431280
mov dword [esp + 4], 0
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.00430f20
call fcn.00430bc0
call fcn.00430a10
lea eax, [0x46ea7a]
mov dword [esp], eax
mov dword [esp + 4], 0x14
call fcn.0042f370
nop
call fcn.00453220
jmp fcn.00411b50