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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x6a5190
sub esp, 0x64
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
lea eax, [0x981d37]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0xffffffff
call fcn.004db020
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
cmp eax, 2
je 0x6a4e3b
mov edx, dword [0xdc26f0]
mov ebx, dword [0xdc26f4]
mov dword [esp + 0x40], ebx
test edx, edx
je 0x6a4d9b
mov edx, dword [edx + 4]
mov dword [esp + 0x3c], edx
mov dword [esp], edi
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00408720
mov eax, dword [esp + 0xc]
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x58], ecx
lea ecx, [0x8c6980]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], eax
lea eax, [0x986439]
mov dword [esp], eax
mov dword [esp + 4], 9
lea eax, [esp + 0x54]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004c6610
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
add esp, 0x64
ret
mov dword [esp + 0x38], edi
mov edx, dword [edi]
cmp dword [edi + 4], 2
jge 0x6a515d
xor eax, eax
mov byte [esp + 0x27], al
test al, al
je 0x6a5055
mov ecx, dword [edi + 4]
mov edx, dword [edi]
cmp ecx, 2
jge 0x6a5018
xor ebx, ebx
test bl, bl
je 0x6a500f
cmp ecx, 2
jb 0x6a5185
add ecx, 0xfffffffe
mov ebx, ecx
neg ecx
sar ecx, 0x1f
and ecx, 2
add ecx, edx
mov dword [edi + 4], ebx
mov edx, dword [0xdd7ec0]
test edx, edx
jne 0x6a4fff
mov dword [edi], ecx
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 8]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0xa
mov dword [esp + 0xc], 0x40
call fcn.00466110
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
test edx, edx
je 0x6a4f8f
mov eax, dword [0xdc26dc]
mov dword [esp + 0x40], eax
mov ecx, dword [0xdc26d8]
test ecx, ecx
je 0x6a4ee9
mov ecx, dword [ecx + 4]
mov dword [esp + 0x3c], ecx
mov eax, dword [esp + 0x38]
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 8]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.004086a0
mov eax, dword [esp + 8]
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x58], ecx
lea ecx, [0x8eba40]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], eax
lea eax, [0x9846ae]
mov dword [esp], eax
mov dword [esp + 4], 7
lea eax, [esp + 0x54]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004c6610
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
add esp, 0x64
ret
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
lea eax, [0x93b660]
mov dword [esp], eax
call fcn.0040ae10
mov eax, dword [esp + 4]
movzx ecx, byte [esp + 0x27]
mov byte [eax], cl
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [eax + 8], ecx
mov ecx, dword [0xdd7ec0]
test ecx, ecx
jne 0x6a4fef
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 0x10], ecx
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x64
ret
lea edi, [eax + 4]
mov ecx, eax
mov eax, edx
call fcn.00456fe0
mov eax, ecx
jmp 0x6a4fc9
mov edx, eax
mov eax, ecx
call fcn.00456fe0
mov eax, edx
jmp 0x6a4e9c
mov ebx, ecx
mov ecx, edx
jmp 0x6a4e89
mov dword [esp + 0x28], ecx
mov dword [esp + 0x34], edx
mov dword [esp], edx
lea eax, [0x981e2b]
mov dword [esp + 4], eax
mov dword [esp + 8], 2
call fcn.00402300
movzx ebx, byte [esp + 0xc]
movzx eax, byte [esp + 0x27]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x34]
mov edi, dword [esp + 0x38]
jmp 0x6a4e69
mov eax, edi
lea edi, [esp + 0x44]
lea esi, [0xa4bbf0]
call fcn.00457798
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp], ecx
mov dword [esp + 4], edx
lea ecx, [esp + 0x44]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.0069d040
movzx eax, byte [esp + 0x14]
test al, al
je 0x6a50a1
mov edi, dword [esp + 0x38]
jmp 0x6a4e9c
mov eax, dword [0xdc26f0]
mov ecx, dword [0xdc26f4]
mov dword [esp + 0x40], ecx
test eax, eax
je 0x6a50b8
mov eax, dword [eax + 4]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.004086a0
mov eax, dword [esp + 8]
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x58], ecx
lea ecx, [0x8eba40]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], eax
lea eax, [0x9846ae]
mov dword [esp], eax
mov dword [esp + 4], 7
lea eax, [esp + 0x54]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004c6610
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
add esp, 0x64
ret
mov dword [esp], edx
lea eax, [0x981e2b]
mov dword [esp + 4], eax
mov dword [esp + 8], 2
call fcn.00402300
movzx eax, byte [esp + 0xc]
mov edi, dword [esp + 0x38]
jmp 0x6a4e4d
mov eax, 2
call fcn.004570c0
nop
call fcn.004557a0
jmp fcn.006a4d20