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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x20]
cmp eax, dword [ecx + 8]
jbe 0x6d5a75
sub esp, 0xa0
mov eax, dword [esp + 0xa8]
mov dword [esp], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 4], eax
call fcn.006d7450
mov eax, dword [esp + 8]
mov dword [esp + 0x5c], eax
movzx ecx, byte [esp + 0x10]
mov byte [esp + 0x23], cl
mov edx, dword [esp + 0xc]
mov dword [esp + 0x30], edx
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov ebx, dword [esp + 0xa4]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.006d4c20
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], ebx
test ebp, ebp
jne 0x6d5a60
mov dword [esp + 0x50], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov edx, dword [esp + 0xa4]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.006d4d60
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], edx
test ebx, ebx
jne 0x6d5a4b
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0xa4]
test byte [eax], al
lea ecx, [eax + 0x14]
mov dword [esp + 0x58], ecx
mov dword [esp], ecx
call fcn.0046dc50
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax + 0x1c]
mov edx, dword [esp + 0x48]
mov ebx, dword [edx + 4]
lea ebp, [0x784ae0]
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.0040e780
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
test eax, eax
jne 0x6d55be
xor eax, eax
jmp 0x6d55e8
mov ecx, dword [esp + 0x48]
mov edx, dword [ecx + 8]
mov ebx, dword [ecx + 0xc]
lea ebp, [0x767180]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 8], edx
call fcn.0040f6d0
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x58]
mov dword [esp], ecx
call fcn.0046dfd0
movzx eax, byte [esp + 0x23]
test al, al
je 0x6d569e
mov eax, dword [esp + 0x40]
movzx ecx, byte [eax + 0x18]
test cl, cl
jne 0x6d569e
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
call fcn.00409600
mov eax, dword [esp + 8]
lea ecx, [0x758c80]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
lea eax, [0x7d0489]
mov dword [esp], eax
mov dword [esp + 4], 0x2a
lea eax, [esp + 0x60]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004d7070
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], ecx
add esp, 0xa0
ret
mov eax, dword [esp + 0x48]
mov eax, dword [eax]
mov dword [esp], eax
call fcn.00528b80
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
test eax, eax
je 0x6d57a7
mov dword [esp + 0x54], edx
mov dword [esp + 0x4c], ecx
lea eax, [0x774e20]
mov dword [esp], eax
call fcn.0040bcc0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0xb
lea ecx, [0x7b8dbb]
mov dword [eax], ecx
mov ecx, dword [esp + 0x54]
mov dword [eax + 8], ecx
mov ecx, dword [0xaab020]
test ecx, ecx
jne 0x6d5703
mov ecx, dword [esp + 0x4c]
mov dword [eax + 0xc], ecx
jmp 0x6d5713
lea edi, [eax + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x4c]
call fcn.004643b0
mov eax, ecx
mov ecx, dword [esp + 0xa4]
mov edx, dword [ecx + 4]
lea ebx, [0x844444]
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], eax
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x80], edx
lea edx, [esp + 0x68]
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], eax
lea eax, [esp + 0x80]
mov dword [esp], eax
lea eax, [esp + 0x34]
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
mov byte [esp + 0x14], 1
call fcn.00447d90
mov eax, dword [esp + 0x40]
test eax, eax
je 0x6d597c
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
cmp ecx, edx
jne 0x6d57e8
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov ecx, dword [esp + 0x50]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00402a70
movzx eax, byte [esp + 0xc]
test al, al
jne 0x6d58fc
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.004edcd0
mov eax, dword [esp + 8]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov edx, dword [esp + 0x40]
mov ebx, dword [edx + 0x1c]
mov ebp, dword [edx + 0x20]
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebp
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
lea ebx, [esp + 0x70]
mov dword [esp], ebx
mov dword [esp + 4], 2
mov dword [esp + 8], 2
call fcn.004ee6f0
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 0x2c]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x3c], edx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x24], ebx
lea ebp, [0x75d9e0]
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 8], ecx
mov esi, dword [esp + 0x28]
mov dword [esp + 0xc], esi
call fcn.00410370
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov ecx, dword [esp + 0xa4]
mov dword [esp], ecx
mov edx, dword [esp + 0x3c]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 8], edx
mov dword [esp + 0x10], 0
and eax, 0x8000
mov dword [esp + 0xc], eax
call fcn.006d4520
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 0x2c]
lea edx, [0x75d9e0]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0xc], ecx
call fcn.00410d90
mov eax, dword [esp + 0x40]
jmp 0x6d5944
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 0x1c]
mov edx, dword [eax + 0x20]
mov ebx, dword [eax + 0x24]
mov ebp, dword [esp + 0xa4]
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0x10], 0
and ebx, 0x8000
mov dword [esp + 0xc], ebx
call fcn.006d4520
mov eax, dword [esp + 0x40]
mov dword [eax + 0x24], 0
mov dword [eax + 0x28], 0
mov ecx, dword [esp + 0xa4]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.006d5c40
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], ecx
add esp, 0xa0
ret
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov eax, dword [0xa840b0]
mov ecx, dword [0xa840b4]
test eax, eax
je 0x6d59bb
mov eax, dword [eax + 4]
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], ecx
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
call fcn.00409600
mov eax, dword [esp + 8]
lea ecx, [0x758c80]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], eax
lea eax, [0x7b66ef]
mov dword [esp], eax
mov dword [esp + 4], 6
lea eax, [esp + 0x90]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004d7070
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], ecx
add esp, 0xa0
ret
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb4], edx
add esp, 0xa0
ret
mov dword [esp + 0xb0], edx
mov dword [esp + 0xb4], ebx
add esp, 0xa0
ret
call fcn.00462fa0
jmp fcn.006d5480