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

Disassembly:
mov ecx, dword [0x5915c4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x41d1eb
sub esp, 0x74
call fcn.00451100
mov eax, dword [esp]
mov ecx, dword [0x5915c4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp dword [eax], ecx
je 0x41cd62
cmp dword [eax + 0x7c], 1
jg 0x41cd62
mov eax, dword [eax + 0x78]
test eax, eax
jne 0x41cd62
call fcn.00451120
jmp 0x41cd6b
call fcn.00451120
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.0041cbb0
movzx eax, byte [esp + 0x10]
test al, al
jne 0x41cda2
xor eax, eax
jmp 0x41cdae
call fcn.0042ac70
cmp dword [esp], 0xffffffff
setne al
test al, al
jne 0x41cd6b
lea eax, [0x552418]
mov dword [esp], eax
call fcn.004516d0
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.0041cbb0
movzx eax, byte [esp + 0x10]
test al, al
je 0x41cea9
mov eax, dword [0x5918e0]
cmp eax, 1
jne 0x41ce09
mov eax, 1
jmp 0x41ce17
cmp eax, 2
jne 0x41ce15
mov eax, 2
jmp 0x41ce17
xor eax, eax
mov dword [esp + 0x34], eax
lea ecx, [0x54a210]
mov dword [esp], ecx
call fcn.004516d0
lea eax, [0x54a20c]
mov dword [esp], eax
call fcn.004516d0
mov eax, dword [esp + 0x78]
cmp eax, 2
sete cl
mov byte [0x55242c], cl
call fcn.0045eb60
mov eax, dword [esp]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x4c], ecx
call fcn.0045ec30
movzx eax, byte [esp + 8]
test al, al
je 0x41ce91
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov ecx, dword [esp + 0x4c]
mov dword [esp + 4], ecx
call fcn.0045ef70
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
call fcn.0045ec40
mov eax, dword [0x551e88]
mov dword [esp + 0x58], eax
mov ecx, dword [0x551e8c]
mov dword [esp + 0x48], ecx
xor edx, edx
jmp 0x41ceca
lea eax, [0x552418]
mov dword [esp], eax
call fcn.00451a00
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 0x41ceff
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.004037a0
mov eax, dword [esp + 4]
mov ecx, dword [0x559370]
cmp ecx, eax
je 0x41cebb
jmp 0x41d136
call fcn.0041e9e0
lea eax, [0x4d3b00]
mov dword [esp], eax
call fcn.0046c280
mov eax, dword [0x59158c]
mov dword [0x552450], eax
mov dword [0x552454], eax
mov ecx, dword [0x591590]
cmp ecx, eax
jge 0x41cf34
mov dword [0x552450], ecx
lea eax, [0x591ea8]
mov dword [esp], eax
call fcn.004038b0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [0x552480], eax
mov dword [0x552484], ecx
mov dword [0x552478], 0
mov dword [0x55247c], 0
mov eax, dword [esp + 0x34]
mov dword [0x552428], eax
call fcn.0045d570
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
mov dword [0x552458], eax
mov dword [0x55245c], ecx
mov byte [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
lea eax, [0x41d340]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x20]
mov dword [esp + 0x70], eax
lea ecx, [esp + 0x6c]
mov dword [esp], ecx
call fcn.0046c280
lea eax, [0x4d3b08]
mov dword [esp], eax
call fcn.0046c280
call fcn.0041f940
lea eax, [0x55244c]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00403880
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov edx, dword [0x59158c]
lea ebx, [0x591e40]
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.00424cb0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
lea edx, [0x591860]
mov dword [esp], edx
mov byte [esp + 4], 1
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.0041fe40
mov eax, dword [esp + 0x34]
test eax, eax
je 0x41d082
mov byte [esp], 0
call fcn.0044db20
mov dword [esp], 1
call fcn.0041ca50
call fcn.0041ea50
call fcn.00420d60
call fcn.00424b60
lea eax, [0x591504]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00403e50
call fcn.00451100
mov eax, dword [esp]
mov dword [esp + 0x54], eax
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
lea ecx, [0x41d200]
mov dword [esp + 0x60], ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x64], ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0x68], ecx
lea ecx, [esp + 0x60]
mov dword [esp], ecx
call fcn.0046c280
lea eax, [0x54a20c]
mov dword [esp], eax
call fcn.00451a00
mov eax, dword [esp + 0x54]
mov dword [esp], eax
call fcn.00451120
mov eax, dword [esp + 0x34]
test eax, eax
je 0x41d124
call fcn.00440dc0
lea eax, [0x552418]
mov dword [esp], eax
call fcn.00451a00
add esp, 0x74
ret
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], ecx
mov eax, dword [esp + 0x50]
mov eax, dword [eax]
mov dword [esp + 0x3c], eax
call fcn.0043fd10
lea eax, [0x4c9f3c]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.00440520
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call fcn.00440370
lea eax, [0x4c9b91]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.00440520
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00440240
lea eax, [0x4ca6bf]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.00440520
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00440240
call fcn.0043fef0
call fcn.0043fd70
lea eax, [0x4cc3ee]
mov dword [esp], eax
mov dword [esp + 4], 0x14
call fcn.0043e340
nop
call fcn.0046c370
jmp fcn.0041cd20