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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x6a8085f5
sub esp, 0x60
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x6a8080ad
mov edx, dword [esp + 0x74]
test edx, edx
je 0x6a8080c4
nop
mov ebx, dword [esp + 0x70]
mov ebp, ebx
shr ebx, 2
and ebx, 1
xor ecx, ecx
jmp 0x6a8085a9
mov dword [esp + 0x7c], 0xffffffff
mov dword [esp + 0x80], 0
add esp, 0x60
ret
mov ebx, dword [esp + 0x64]
test ebx, ebx
je 0x6a80812d
mov ebp, dword [esp + 0x68]
mov ecx, dword [ebp + 0x2c]
mov esi, dword [ebp + 0x28]
mov edi, dword [ebp + 0x30]
cmp eax, ecx
ja 0x6a80859f
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x5c], esi
mov dword [esp + 0x48], edi
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.6a807ee0
mov eax, dword [esp + 8]
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], 0xffffffff
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x6c]
sub ecx, edx
mov ebx, dword [esp + 0x4c]
sub ebx, edx
mov ebp, ecx
neg ecx
sar ecx, 0x1f
and ecx, edx
mov esi, dword [esp + 0x5c]
add ecx, esi
jmp 0x6a8081c2
movzx eax, byte [esp + 0x78]
test al, al
je 0x6a808140
mov eax, dword [0x6a903268]
test eax, eax
je 0x6a808157
mov dword [esp + 0x7c], 0xffffffff
mov dword [esp + 0x80], 0
add esp, 0x60
ret
mov dword [esp], ebx
mov eax, dword [esp + 0x68]
mov dword [esp + 4], eax
call fcn.6a807ee0
mov eax, dword [esp + 8]
mov dword [esp + 0x44], eax
call fcn.6a7f2bf0
lea eax, [0x6a86b1ce]
mov dword [esp], eax
mov dword [esp + 4], 0x1c
call fcn.6a7f34d0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call fcn.6a7f3350
call fcn.6a7f2e10
call fcn.6a7f2c60
lea eax, [0x6a8677ce]
mov dword [esp], eax
mov dword [esp + 4], 0xe
call fcn.6a7f15a0
mov ebp, ebx
mov ebx, edx
mov dword [esp + 0x38], ebp
mov dword [esp + 0x50], ecx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x2c], eax
mov edx, dword [esp + 0x64]
mov dword [esp], edx
mov esi, dword [esp + 0x68]
mov dword [esp + 4], esi
call fcn.6a807ee0
mov eax, dword [esp + 8]
cmp dword [esp + 0x30], eax
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 8], eax
lea eax, [esp + 0x30]
mov dword [esp + 0xc], eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x10], ecx
sete dl
mov byte [esp + 0x14], dl
call fcn.6a808cb0
movzx eax, byte [esp + 0x24]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
test al, al
je 0x6a8082f8
mov eax, dword [esp + 0x30]
mov ebp, dword [esp + 0x70]
cmp ebp, eax
jae 0x6a8081be
mov eax, dword [esp + 0x74]
test eax, eax
je 0x6a8082e1
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
nop
nop
mov edx, dword [ecx + 0x94]
mov ebx, dword [ecx + 0x98]
mov dword [ecx + 0x94], ebx
mov esi, edx
shl edx, 0x11
xor edx, esi
mov esi, ebx
xor ebx, edx
shr edx, 7
xor edx, ebx
mov ebx, esi
shr esi, 0x10
xor esi, edx
mov dword [ecx + 0x98], esi
shr ebp, 2
and ebp, 1
lea edx, [ebp + ebp*2]
shl edx, 5
lea ebp, [eax + edx]
mov edi, dword [eax + edx]
mov ecx, dword [eax + edx + 4]
mov eax, dword [eax + edx + 8]
add ebx, esi
shr ebx, 0x1d
lea ebx, [ebx + ebx*2]
mov dword [ebp + ebx*4], edi
mov dword [ebp + ebx*4 + 4], ecx
mov dword [ebp + ebx*4 + 8], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x70]
mov ebx, dword [esp + 0x74]
mov dword [ebx + edx], ecx
mov ecx, dword [esp + 0x6c]
mov dword [ebx + edx + 4], ecx
mov dword [ebx + edx + 8], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x80], eax
add esp, 0x60
ret
mov eax, dword [0x6a903268]
test eax, eax
jne 0x6a808473
movzx eax, byte [esp + 0x78]
test al, al
je 0x6a808473
mov dword [esp + 0x40], ebx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x3c], edx
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov ecx, dword [esp + 0x68]
mov dword [esp + 4], ecx
call fcn.6a808600
mov eax, dword [esp + 8]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x4c], ecx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x44], edx
call fcn.6a7f2bf0
lea eax, [0x6a86c6cc]
mov dword [esp], eax
mov dword [esp + 4], 0x24
call fcn.6a7f34d0
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
call fcn.6a7f34d0
lea eax, [0x6a865d6a]
mov dword [esp], eax
mov dword [esp + 4], 4
call fcn.6a7f34d0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call fcn.6a7f3350
lea eax, [0x6a8668f6]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.6a7f34d0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.6a7f3350
lea eax, [0x6a865e9c]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.6a7f34d0
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 8], eax
call fcn.6a7f3550
call fcn.6a7f2e10
call fcn.6a7f2c60
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 0x2c]
mov edx, dword [eax + 0x28]
mov ebx, dword [eax + 0x30]
mov ebp, dword [esp + 0x6c]
cmp ebp, ecx
ja 0x6a808598
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.6a807ee0
mov eax, dword [esp + 8]
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x6c]
sub eax, ecx
mov edx, dword [esp + 0x48]
sub edx, ecx
mov ebx, eax
neg eax
sar eax, 0x1f
and eax, ecx
mov ecx, dword [esp + 0x5c]
add eax, ecx
jmp 0x6a80850e
mov dword [esp + 0x7c], 0xffffffff
mov dword [esp + 0x80], 0
add esp, 0x60
ret
mov dword [esp + 0x50], ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], ebx
mov eax, dword [esp + 0x30]
mov dword [esp + 0x44], eax
call fcn.6a7f2bf0
lea eax, [0x6a86630d]
mov dword [esp], eax
mov dword [esp + 4], 7
call fcn.6a7f34d0
mov eax, dword [esp + 0x28]
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.6a7f32d0
lea eax, [0x6a86690a]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.6a7f34d0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call fcn.6a7f3350
call fcn.6a7f2e10
call fcn.6a7f2c60
mov ebx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x50]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], edx
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x64]
mov dword [esp], ecx
mov ebp, dword [esp + 0x68]
mov dword [esp + 4], ebp
call fcn.6a807ee0
mov eax, dword [esp + 8]
cmp dword [esp + 0x30], eax
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 8], eax
lea eax, [esp + 0x30]
mov dword [esp + 0xc], eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x10], ecx
sete dl
mov byte [esp + 0x14], dl
call fcn.6a808cb0
movzx eax, byte [esp + 0x24]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
test al, al
jne 0x6a80848a
lea eax, [0x6a86b09a]
mov dword [esp], eax
mov dword [esp + 4], 0x1c
call fcn.6a7f15a0
mov eax, ebp
call fcn.6a817520
call fcn.6a817520
inc ecx
mov edx, dword [esp + 0x74]
cmp ecx, 8
jge 0x6a8080c4
lea esi, [ebx + ebx*2]
shl esi, 5
add esi, edx
cmp ecx, 8
jae 0x6a8085e8
lea edi, [ecx + ecx*2]
lea edx, [esi + edi*4 + 4]
cmp dword [edx], eax
jne 0x6a8085a4
lea edx, [esi + edi*4]
cmp dword [edx], ebp
jne 0x6a8085a4
mov eax, dword [esi + edi*4 + 8]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], 0
add esp, 0x60
ret
mov eax, ecx
mov ecx, 8
call fcn.6a8174b0
nop
call fcn.6a816010
jmp fcn.6a808070