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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x3c]
cmp eax, dword [ecx + 8]
jbe 0x411c8d
sub esp, 0xbc
call fcn.00434e10
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
lea eax, [0x7739a0]
mov dword [esp + 0x4c], eax
lea ecx, [0x835fc8]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], 0
lea ecx, [0x7736a0]
mov dword [esp + 0x54], ecx
lea edx, [esp + 0x34]
mov dword [esp + 0x58], edx
lea edx, [esp + 0x4c]
mov dword [esp], edx
mov dword [esp + 4], 2
mov dword [esp + 8], 2
call fcn.00408350
mov eax, dword [esp + 0xc0]
test byte [eax], al
lea ecx, [eax + 0x3b]
mov dword [esp], ecx
call fcn.00401e90
movzx eax, byte [esp + 4]
mov byte [esp + 0x13], al
cmp al, 1
je 0x411b50
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
lea eax, [0x7739a0]
mov dword [esp + 0x44], eax
lea ecx, [0x835ff0]
mov dword [esp + 0x48], ecx
lea ecx, [esp + 0x44]
mov dword [esp], ecx
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.00408350
mov ecx, dword [esp + 0xc0]
mov edx, dword [ecx + 0xc]
lea edi, [esp + 0x84]
xor eax, eax
call fcn.0045ff82
lea ecx, [0x7739a0]
mov dword [esp + 0x84], ecx
lea ebx, [0x836000]
mov dword [esp + 0x88], ebx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], 0
lea edx, [0x7736a0]
mov dword [esp + 0x8c], edx
lea ebx, [esp + 0x2c]
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ecx
lea ebx, [0x836008]
mov dword [esp + 0x98], ebx
mov ebx, dword [esp + 0xc0]
mov ebx, dword [ebx + 0x44]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], 0
mov dword [esp + 0x9c], edx
lea ebx, [esp + 0x24]
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], ecx
lea ebx, [0x836010]
mov dword [esp + 0xa8], ebx
lea ebx, [0x7736e0]
mov dword [esp + 0xac], ebx
movzx ebx, byte [esp + 0x13]
movzx ebx, bl
lea ebp, [0x9e25c0]
lea ebx, [ebp + ebx*8]
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xb4], ecx
lea ebx, [0x836018]
mov dword [esp + 0xb8], ebx
lea ebx, [esp + 0x84]
mov dword [esp], ebx
mov dword [esp + 4], 7
mov dword [esp + 8], 7
call fcn.00408350
mov ecx, dword [esp + 0xc8]
test ecx, ecx
je 0x411c5f
jmp 0x411b95
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
lea eax, [0x7739a0]
mov dword [esp + 0x3c], eax
lea ecx, [0x835ff8]
mov dword [esp + 0x40], ecx
lea ecx, [esp + 0x3c]
mov dword [esp], ecx
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.00408350
jmp 0x411a40
lea edi, [esp + 0x5c]
xor eax, eax
call fcn.0045ff86
lea ecx, [0x7739a0]
mov dword [esp + 0x5c], ecx
lea edx, [0x836020]
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0xc8]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], 0
lea ebx, [0x7736a0]
mov dword [esp + 0x64], ebx
lea ebp, [esp + 0x1c]
mov dword [esp + 0x68], ebp
mov dword [esp + 0x6c], ecx
lea ebp, [0x8347c8]
mov dword [esp + 0x70], ebp
mov ebp, dword [esp + 0xcc]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], 0
mov dword [esp + 0x74], ebx
lea ebx, [esp + 0x14]
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ecx
lea ecx, [0x8347d0]
mov dword [esp + 0x80], ecx
lea ecx, [esp + 0x5c]
mov dword [esp], ecx
mov dword [esp + 4], 5
mov dword [esp + 8], 5
call fcn.00408350
lea ecx, [0x7c76cc]
mov dword [esp], ecx
mov dword [esp + 4], 6
mov ecx, dword [esp + 0xc8]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0xcc]
mov dword [esp + 0xc], ecx
call fcn.0041e580
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov byte [eax + 0x99], 2
lea eax, [0x7dbe2e]
mov dword [esp], eax
mov dword [esp + 4], 0x3e
call fcn.004333f0
nop
call fcn.0045e790
jmp fcn.00411940