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

Disassembly:
mov ecx, dword [0x5915c4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 8]
cmp eax, dword [ecx + 8]
jbe 0x41c514
sub esp, 0x88
mov eax, dword [0x591924]
test eax, eax
je 0x41be6f
add esp, 0x88
ret
lea eax, [esp + 0x8c]
mov dword [esp], eax
call fcn.00451150
mov eax, dword [esp + 4]
mov ecx, dword [eax]
test ecx, ecx
je 0x41c4fd
movzx edx, byte [ecx + 0xf]
and edx, 0x1f
cmp dl, 0x16
jne 0x41c495
mov edx, dword [ecx + 0x20]
test edx, edx
je 0x41c47f
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], ecx
mov ecx, dword [eax + 4]
mov dword [esp], ecx
call fcn.004065e0
movzx eax, byte [esp + 4]
test al, al
jne 0x41c469
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.00415730
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x41bf11
mov eax, dword [esp + 0x5c]
mov eax, dword [eax + 4]
mov dword [esp], eax
call fcn.0041bdc0
movzx eax, byte [esp + 4]
test al, al
je 0x41c453
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.0042d500
movzx eax, byte [esp + 4]
test al, al
je 0x41bf36
xor eax, eax
jmp 0x41bf4d
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0x44]
mov dword [esp], ecx
call fcn.00416430
movzx eax, byte [esp + 4]
xor eax, 1
test al, al
jne 0x41bf57
mov eax, dword [esp + 0x3c]
jmp 0x41bf7d
mov eax, dword [esp + 0x34]
movzx eax, byte [eax + 0x3e]
mov byte [esp], al
call fcn.0042d4f0
movzx eax, byte [esp + 4]
test al, al
je 0x41bf79
mov ecx, dword [esp + 0x3c]
lea eax, [ecx + 8]
jmp 0x41bf7d
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x5c]
mov edx, dword [ecx + 4]
cmp edx, eax
je 0x41bfab
mov eax, dword [esp + 0x58]
mov edx, dword [eax + 0x20]
test edx, edx
je 0x41c43d
mov ebx, dword [edx + 4]
test ebx, ebx
jne 0x41c43d
cmp dword [edx], 0x10
jae 0x41c43d
lea eax, [esp + 0x94]
mov dword [esp], eax
call fcn.00451150
mov eax, dword [esp + 4]
mov ecx, dword [eax]
test ecx, ecx
jne 0x41c008
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea eax, [0x41c590]
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.0046c280
add esp, 0x88
ret
movzx edx, byte [ecx + 0xf]
and edx, 0x1f
cmp dl, 0x13
jne 0x41c3d5
mov dword [esp + 0x54], eax
mov dword [esp + 0x4c], ecx
mov dword [esp], ecx
call fcn.00401b00
movzx eax, byte [esp + 4]
test al, al
jne 0x41c31f
mov eax, dword [esp + 0x4c]
cmp word [eax + 0x20], 1
jne 0x41c27b
mov dword [esp], eax
call fcn.00401990
mov eax, dword [esp + 4]
mov eax, dword [eax]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x58]
cmp eax, ecx
je 0x41c0fb
movzx edx, byte [eax + 0xf]
and edx, 0x1f
cmp dl, 0x16
je 0x41c0b0
cmp dl, 0x14
jne 0x41c274
mov edx, dword [eax + 0x28]
test edx, edx
je 0x41c0fb
lea eax, [esp + 0x8c]
mov dword [esp], eax
call fcn.00451150
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.0040bd80
mov eax, dword [esp + 8]
test eax, eax
jne 0x41c0fb
jmp 0x41c26b
mov dword [esp], eax
call fcn.00401510
mov eax, dword [esp + 4]
test eax, eax
jne 0x41c0c7
mov eax, 1
jmp 0x41c0df
mov eax, dword [esp + 0x58]
mov dword [esp], eax
call fcn.00401510
mov eax, dword [esp + 4]
test eax, eax
setne al
xor eax, 1
test al, al
je 0x41c262
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 0x58]
cmp dword [edx + 0x20], ecx
jne 0x41c1c2
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
call fcn.00401a30
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 0x41c151
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.00458090
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 0x41c11d
mov dword [esp], ebx
mov dword [esp + 4], 4
call fcn.00458090
mov eax, dword [esp + 8]
mov dword [esp + 0x38], eax
call fcn.0041b910
lea edi, [esp + 0x68]
xor eax, eax
call fcn.0046d86a
lea eax, [0x41c520]
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.0046c280
add esp, 0x88
ret
mov dword [esp], edx
call fcn.00466010
mov eax, dword [esp + 4]
mov dword [esp], eax
call fcn.00465030
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.00466010
mov eax, dword [esp + 4]
mov dword [esp], eax
call fcn.00465030
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x4d0301]
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, [0x4caad4]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 0xe
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
call fcn.00457240
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0043e340
mov edx, dword [esp + 0x58]
jmp 0x41c1c2
mov edx, dword [esp + 0x58]
jmp 0x41c1c2
mov edx, ecx
jmp 0x41c1c2
mov eax, dword [esp + 0x58]
mov dword [esp], eax
call fcn.00466010
mov eax, dword [esp + 4]
mov dword [esp], eax
call fcn.00465030
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.00466010
mov eax, dword [esp + 4]
mov dword [esp], eax
call fcn.00465030
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x4d0301]
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, [0x4caad4]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 0xe
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
call fcn.00457240
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0043e340
mov eax, dword [esp + 0x58]
mov dword [esp], eax
call fcn.00466010
mov eax, dword [esp + 4]
mov dword [esp], eax
call fcn.00465030
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.00466010
mov eax, dword [esp + 4]
mov dword [esp], eax
call fcn.00465030
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x4d0301]
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, [0x4caad4]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 0xe
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
lea eax, [0x4cb9a1]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], 0x12
call fcn.004572f0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0043e340
mov dword [esp], ecx
call fcn.00466010
mov eax, dword [esp + 4]
mov dword [esp], eax
call fcn.00465030
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x4d163e]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x29
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
lea eax, [0x4cb1b4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0x10
call fcn.004571b0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0043e340
lea eax, [0x4d34e6]
mov dword [esp], eax
mov dword [esp + 4], 0x41
call fcn.0043e340
lea eax, [0x4d2ac2]
mov dword [esp], eax
mov dword [esp + 4], 0x34
call fcn.0043e340
lea eax, [0x4d33e4]
mov dword [esp], eax
mov dword [esp + 4], 0x40
call fcn.0043e340
lea eax, [0x4caac6]
mov dword [esp], eax
mov dword [esp + 4], 0xe
call fcn.0043e340
mov dword [esp], ecx
call fcn.00466010
mov eax, dword [esp + 4]
mov dword [esp], eax
call fcn.00465030
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x4d13b7]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x28
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
lea eax, [0x4ca6b2]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0xd
call fcn.004571b0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0043e340
lea eax, [0x4d1ad2]
mov dword [esp], eax
mov dword [esp + 4], 0x2b
call fcn.0043e340
nop
call fcn.0046c370
jmp fcn.0041be40