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

Disassembly:
mov ecx, dword [0x53ad04]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x41abbc
sub esp, 0x54
call fcn.0044c740
mov eax, dword [0x53ad04]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov ecx, dword [esp]
cmp dword [ecx], eax
je 0x41a7b2
cmp dword [ecx + 0x7c], 1
jg 0x41a7b2
mov eax, dword [ecx + 0x78]
test eax, eax
jne 0x41a7b2
call fcn.0044c760
jmp 0x41a7c1
call fcn.0044c760
add esp, 0x54
ret
inc dword [0x51512c]
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x5c]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x64]
mov dword [esp + 0xc], ebx
call fcn.0041a600
movzx eax, byte [esp + 0x10]
test al, al
jne 0x41a7f2
xor eax, eax
jmp 0x41a7fe
call fcn.00428110
cmp dword [esp], 0xffffffff
setne al
test al, al
jne 0x41a7bb
lea eax, [0x515438]
mov dword [esp], eax
call fcn.0044cd30
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x5c]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x64]
mov dword [esp + 0xc], ebx
call fcn.0041a600
movzx eax, byte [esp + 0x10]
test al, al
je 0x41a8b7
mov eax, dword [0x53b03c]
cmp eax, 1
jne 0x41a84f
mov eax, 1
jmp 0x41a85d
cmp eax, 2
jne 0x41a85b
mov eax, 2
jmp 0x41a85d
xor eax, eax
mov dword [esp + 0x20], eax
lea ecx, [0x490210]
mov dword [esp], ecx
call fcn.0044cd30
lea eax, [0x49020c]
mov dword [esp], eax
call fcn.0044cd30
mov eax, dword [esp + 0x58]
cmp eax, 2
sete cl
mov byte [0x51544c], cl
call fcn.00458be0
movzx eax, byte [esp]
test al, al
je 0x41a89f
call fcn.00459eb0
mov eax, dword [0x514fa8]
mov dword [esp + 0x48], eax
mov ecx, dword [0x514fac]
mov dword [esp + 0x34], ecx
xor edx, edx
jmp 0x41a8d8
lea eax, [0x515438]
mov dword [esp], eax
call fcn.0044d060
add esp, 0x54
ret
mov ebx, dword [esp + 0x30]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x34]
cmp edx, ecx
jge 0x41a90d
mov dword [esp + 0x30], edx
mov ecx, dword [eax + edx*4]
mov dword [esp + 0x40], ecx
mov ebx, dword [ecx + 0x30]
test byte [ebx], al
add ebx, 0x24c
mov dword [esp], ebx
call fcn.004033d0
mov eax, dword [esp + 4]
mov ecx, dword [0x51ac90]
cmp ecx, eax
je 0x41a8c9
jmp 0x41ab05
call fcn.0041bf70
lea eax, [0x4b502c]
mov dword [esp], eax
call fcn.00465c10
mov eax, dword [0x53acd0]
mov dword [0x515470], eax
mov dword [0x515474], eax
mov ecx, dword [0x53acd4]
cmp ecx, eax
jge 0x41a942
mov dword [0x515470], ecx
lea eax, [0x53b488]
mov dword [esp], eax
call fcn.004034e0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [0x5154ac], eax
mov dword [0x5154a8], ecx
mov dword [0x515498], 0
mov dword [0x51549c], 0
mov eax, dword [esp + 0x20]
mov dword [0x515448], eax
call fcn.00458a50
mov eax, dword [esp + 4]
mov ecx, dword [esp]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], ecx
mov dword [0x51547c], eax
mov dword [0x515478], ecx
mov dword [0x5154a4], eax
mov dword [0x5154a0], ecx
lea eax, [0x4b5034]
mov dword [esp], eax
call fcn.00465c10
lea eax, [0x4b5038]
mov dword [esp], eax
call fcn.00465c10
call fcn.0041cea0
lea eax, [0x51546c]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.004034b0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov edx, dword [0x53acd0]
lea ebx, [0x53b420]
mov dword [esp], ebx
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x58]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x1c], eax
call fcn.00421f30
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
lea edx, [0x53af60]
mov dword [esp], edx
mov byte [esp + 4], 1
mov dword [esp + 0xc], ecx
mov dword [esp + 8], eax
call fcn.0041d3a0
mov eax, dword [esp + 0x20]
test eax, eax
je 0x41aa61
mov byte [esp], 0
call fcn.004497e0
mov dword [esp], 1
call fcn.0041a490
call fcn.0041bfe0
call fcn.0041e2e0
call fcn.00421de0
lea eax, [0x53ac44]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00403a30
call fcn.0044c740
mov eax, dword [esp]
mov dword [esp + 0x44], eax
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
lea ecx, [0x41abd0]
mov dword [esp + 0x4c], ecx
lea ecx, [esp + 0x38]
mov dword [esp + 0x50], ecx
lea ecx, [esp + 0x4c]
mov dword [esp], ecx
call fcn.00465c10
lea eax, [0x49020c]
mov dword [esp], eax
call fcn.0044d060
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call fcn.0044c760
mov eax, dword [esp + 0x20]
test eax, eax
je 0x41aaf3
call fcn.0043df30
lea eax, [0x515438]
mov dword [esp], eax
call fcn.0044d060
add esp, 0x54
ret
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x40]
mov eax, dword [eax]
mov dword [esp + 0x28], eax
call fcn.0043ce60
lea eax, [0x4abc16]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.0043d670
mov eax, dword [esp + 0x28]
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.0043d4c0
lea eax, [0x4ab882]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.0043d670
mov dword [esp + 4], 0
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call fcn.0043d390
lea eax, [0x4ac4be]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.0043d670
mov dword [esp + 4], 0
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.0043d390
call fcn.0043d040
call fcn.0043cec0
lea eax, [0x4ae419]
mov dword [esp], eax
mov dword [esp + 4], 0x14
call fcn.0043b5b0
nop
call fcn.00465d00
jmp fcn.0041a770