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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov edi, ecx
mov eax, dword [0x754040]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp word [ecx + 0x14], 0
je 0x6a2e84
lea eax, [edi + 0x68]
mov dword [ebp - 0x28], eax
lea eax, [edi + 0x74]
mov dword [ebp - 0x24], eax
xor ebx, ebx
xor ecx, ecx
mov dword [ebp - 0x2c], edi
jmp 0x6a2f98
mov eax, dword [edi + 0x68]
mov ecx, dword [edi + 0x6c]
mov edx, ecx
sub edx, eax
sar edx, 2
imul edx, edx, 0xaaaaaaab
bsr edx, edx
xor edx, 0x1f
add edx, edx
xor edx, 0x3e
xor esi, esi
cmp ecx, eax
cmove edx, esi
xor esi, esi
inc esi
lea ebx, [ebp - 0x18]
push esi
push edx
push ebx
push ecx
push eax
call fcn.006a1120
add esp, 0x14
mov eax, dword [edi + 0x74]
mov ecx, dword [edi + 0x78]
mov edx, ecx
sub edx, eax
sar edx, 2
bsr edx, edx
xor edx, 0x1f
add edx, edx
xor edx, 0x3e
cmp ecx, eax
mov esi, 0
cmove edx, esi
lea esi, [ebp - 0x14]
xor edi, edi
inc edi
push edi
push edx
push esi
push ecx
push eax
call fcn.006a3420
add esp, 0x14
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00550b46
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [ebp - 0x28]
push esi
call fcn.006a3310
jmp 0x6a2f82
mov eax, esi
shr eax, 0xe
mov ecx, esi
shr ecx, 0x13
mov ecx, dword [ecx*4 + 0x75cc90]
bt ecx, eax
jae 0x6a2fcd
jmp 0x6a3098
mov eax, dword [edx + ebx + 0x38]
xor eax, 0x18
or eax, dword [edx + ebx + 0x3c]
jne 0x6a2f88
mov eax, dword [edi + 0x6c]
cmp eax, dword [edi + 0x70]
jae 0x6a2f03
test eax, eax
je 0x6a307e
cmp dword [edx + ebx + 0x1c], 0
jne 0x6a3080
mov ecx, dword [edx + ebx + 0x18]
mov dword [eax], ecx
cmp dword [edx + ebx + 0x24], 0
jne 0x6a3088
mov ecx, dword [edx + ebx + 0x20]
mov dword [eax + 4], ecx
cmp dword [edx + ebx + 0x3c], 0
jne 0x6a3090
mov ecx, dword [edx + ebx + 0x38]
mov dword [eax + 8], ecx
add eax, 0xc
mov dword [edi + 0x6c], eax
mov ecx, dword [ebp - 0x20]
inc ecx
movzx eax, word [edi + 0x14]
add ebx, 0x40
cmp ecx, eax
jae 0x6a2e84
mov dword [ebp - 0x20], ecx
mov edx, dword [edi + 0x18]
mov eax, edx
shr eax, 0xe
mov ecx, edx
shr ecx, 0x13
mov ecx, dword [ecx*4 + 0x75cc90]
bt ecx, eax
lea esi, [edx + ebx]
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], edx
jae 0x6a2f0e
push 0x40
push esi
push edx
call fcn.004953d0
add esp, 0xc
mov ebx, esi
shr ebx, 0xe
mov edi, esi
shr edi, 0x13
mov eax, dword [edi*4 + 0x75cc90]
bt eax, ebx
jae 0x6a3049
push esi
call fcn.00494f50
add esp, 4
mov eax, dword [edi*4 + 0x75cc90]
bt eax, ebx
jae 0x6a3001
push esi
call fcn.00495070
add esp, 4
mov dword [ebp - 0x1c], esi
mov edi, dword [ebp - 0x2c]
mov eax, dword [edi + 0x24]
mov ecx, dword [edi + 0x28]
sub ecx, eax
sar ecx, 2
mov edx, dword [ebp - 0x20]
cmp ecx, edx
mov ebx, dword [ebp - 0x34]
jbe 0x6a307e
mov ecx, edx
test byte [eax + edx*4], 8
mov edx, dword [ebp - 0x30]
je 0x6a2f88
mov eax, dword [edx + ebx + 4]
cmp eax, 4
je 0x6a2f2d
cmp eax, 9
jne 0x6a3057
mov eax, dword [edx + ebx + 0x38]
xor eax, 0x10
jmp 0x6a2f34
mov eax, esi
shr eax, 0x15
mov byte [eax + 0x764c90], 1
jmp 0x6a2fec
cmp eax, 1
jne 0x6a2f88
mov eax, dword [edx + ebx + 8]
and eax, 4
je 0x6a2f88
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x1c]
push eax
call fcn.00640670
jmp 0x6a2f85
ud2
int3
int3
int3
int3