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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x44]
cmp eax, dword [ecx + 8]
jbe 0x6d61b1
sub esp, 0xc4
mov eax, dword [esp + 0xcc]
mov ecx, dword [eax + 0x14]
mov ecx, dword [ecx]
mov dword [esp], ecx
call fcn.00528a90
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
test eax, eax
je 0x6d5d89
mov dword [esp + 0x68], edx
mov dword [esp + 0x58], ecx
lea eax, [0x774e20]
mov dword [esp], eax
call fcn.0040bcc0
mov eax, dword [esp + 4]
mov dword [eax + 4], 8
lea ecx, [0x7b75df]
mov dword [eax], ecx
mov ecx, dword [esp + 0x68]
mov dword [eax + 8], ecx
mov ecx, dword [0xaab020]
test ecx, ecx
jne 0x6d5ccb
mov ecx, dword [esp + 0x58]
mov dword [eax + 0xc], ecx
jmp 0x6d5cdb
lea edi, [eax + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x58]
call fcn.004643b0
mov eax, ecx
mov ecx, dword [esp + 0xc8]
mov edx, dword [ecx + 4]
lea ebx, [0x844444]
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], eax
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x84], edx
lea edx, [esp + 0x6c]
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x84]
mov dword [esp], eax
lea eax, [esp + 0x40]
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 + 0xc8]
mov dword [esp], eax
mov ecx, dword [esp + 0xcc]
mov dword [esp + 4], ecx
call fcn.006d5a80
mov ecx, dword [esp + 0xcc]
mov edx, dword [ecx + 0x24]
test edx, 2
je 0x6d5da2
mov eax, 0x10
jmp 0x6d5da4
xor eax, eax
test edx, 0x3c0
je 0x6d5daf
or eax, 3
mov dword [esp + 0x30], eax
mov edx, dword [ecx + 0x2c]
lea edi, [esp + 0x94]
xor eax, eax
call fcn.00464654
lea ecx, [0x75d9e0]
mov dword [esp], ecx
mov dword [esp + 4], edx
lea ecx, [esp + 0x94]
mov dword [esp + 8], ecx
call fcn.0040d940
mov eax, dword [esp + 0x30]
jmp 0x6d5e04
mov dword [esp + 0x2c], edx
lea eax, [esp + 0x94]
mov dword [esp], eax
call fcn.0040db70
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
or eax, ecx
mov ecx, dword [esp + 0x94]
test ecx, ecx
je 0x6d5e3a
mov ecx, dword [esp + 0x98]
mov ecx, dword [ecx]
test ecx, 2
je 0x6d5e27
mov edx, 0x10
jmp 0x6d5e29
xor edx, edx
mov dword [esp + 0x28], eax
test ecx, 0x3c0
je 0x6d5de7
or edx, 3
jmp 0x6d5de7
test eax, eax
jne 0x6d5fda
mov eax, dword [esp + 0xcc]
mov ecx, dword [eax + 0x14]
mov ecx, dword [ecx]
mov dword [esp], ecx
call fcn.00528b80
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
test eax, eax
je 0x6d5f3c
mov dword [esp + 0x68], edx
mov dword [esp + 0x54], 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 + 0x68]
mov dword [eax + 8], ecx
mov ecx, dword [0xaab020]
test ecx, ecx
jne 0x6d5ead
mov ecx, dword [esp + 0x54]
mov dword [eax + 0xc], ecx
jmp 0x6d5ebd
lea edi, [eax + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x54]
call fcn.004643b0
mov eax, ecx
mov ecx, dword [esp + 0xc8]
mov edx, dword [ecx + 4]
lea ebx, [0x844444]
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], eax
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x74], edx
lea edx, [esp + 0x6c]
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x74]
mov dword [esp], eax
lea eax, [esp + 0x38]
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 + 0xc8]
test byte [eax], al
lea ecx, [eax + 0x14]
mov dword [esp + 0x64], ecx
mov dword [esp], ecx
call fcn.0046dc50
mov eax, dword [esp + 0xcc]
mov ecx, dword [eax + 0x14]
mov edx, dword [esp + 0xc8]
mov edx, dword [edx + 0x1c]
mov ecx, dword [ecx + 4]
lea ebx, [0x784ae0]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.0040e780
mov eax, dword [esp + 0xcc]
mov eax, dword [eax + 0x14]
mov ecx, dword [esp + 0xc]
mov ecx, dword [ecx]
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
lea ebx, [0x767180]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 8], edx
call fcn.0040fcb0
mov eax, dword [esp + 0x64]
mov dword [esp], eax
call fcn.0046dfd0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
add esp, 0xc4
ret
mov ecx, dword [esp + 0xcc]
mov edx, dword [ecx + 0x14]
mov edx, dword [edx]
mov ebx, dword [ecx + 0x38]
mov ebp, dword [ecx + 0x3c]
movzx esi, byte [ecx + 0x18]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
xchg esi, eax
mov byte [esp + 0xc], al
xchg esi, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], 0
call fcn.005298d0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
test eax, eax
je 0x6d6194
mov dword [esp + 0x68], ebp
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], edx
mov dword [esp + 0x60], ecx
lea eax, [0x774e20]
mov dword [esp], eax
call fcn.0040bcc0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x14
lea ecx, [0x7bfc8f]
mov dword [eax], ecx
mov ecx, dword [esp + 0x68]
mov dword [eax + 8], ecx
mov ecx, dword [0xaab020]
test ecx, ecx
jne 0x6d6085
mov ecx, dword [esp + 0x4c]
mov dword [eax + 0xc], ecx
jmp 0x6d6095
lea edi, [eax + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x4c]
call fcn.004643b0
mov eax, ecx
mov ecx, dword [esp + 0x60]
lea edx, [0x844994]
cmp ecx, edx
je 0x6d60a7
xor ecx, ecx
jmp 0x6d60d0
mov dword [esp + 0x5c], eax
mov dword [esp], ecx
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
lea eax, [0x843174]
mov dword [esp + 8], eax
call fcn.00403870
movzx eax, byte [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x5c]
test cl, cl
je 0x6d6135
mov ecx, dword [esp + 0xcc]
mov edx, dword [ecx + 0x28]
test edx, 1
sete dl
mov ebx, dword [ecx + 0x24]
and edx, 1
test dl, dl
jne 0x6d60f9
lea edx, [0x844444]
jmp 0x6d6142
mov eax, dword [ecx + 0x1c]
mov edx, dword [ecx + 0x20]
mov ebp, dword [esp + 0xc8]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0x10], 0
and ebx, 0x400
mov dword [esp + 0xc], ebx
call fcn.006d4520
mov ecx, dword [esp + 0xcc]
xor edx, edx
xor eax, eax
jmp 0x6d6142
mov ecx, dword [esp + 0xcc]
lea edx, [0x844444]
mov dword [esp + 0x50], eax
mov dword [esp + 0x34], edx
mov ebx, dword [esp + 0xc8]
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.006d5a80
mov eax, dword [esp + 0xc8]
mov dword [esp], eax
mov eax, dword [esp + 0xcc]
mov dword [esp + 4], eax
call fcn.006d5c40
mov eax, dword [esp + 0x34]
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0xd4], eax
add esp, 0xc4
ret
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
add esp, 0xc4
ret
call fcn.00462fa0
jmp fcn.006d5c40