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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x15c
mov ebp, eax
mov dword [esp + 0xa8], edx
mov dword [esp + 0xac], ecx
mov eax, dword [eax + 0x17ec]
lea edx, [eax + eax*4]
mov edx, dword [ebp + edx*8 + 0x6bac]
mov dword [esp + 0x90], edx
mov esi, dword [ebp + 0x1818]
lea edi, [esp + 0xba]
mov dword [esp + 0x2c], edi
mov ecx, 9
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp + 0x181c]
lea edi, [esp + 0xc3]
mov dword [esp + 0x28], edi
mov cl, 9
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebp + 0x17b4]
mov dword [esp + 0x54], edx
mov ecx, dword [ebp + 0x17a4]
sub edx, ecx
mov ebx, dword [edx + 0x10]
mov dword [edx + ecx*4 + 0x10], ebx
mov ebx, dword [edx + 0x10]
mov dword [edx + ecx*8 + 0x10], ebx
mov ebx, dword [edx + 0x10]
lea ecx, [ecx + ecx*2]
mov dword [edx + ecx*4 + 0x10], ebx
lea ebx, [ebp + 0x7bdc]
mov dword [esp + 0x60], ebx
mov edx, dword [esp + 0x174]
mov dword [esp + 0x98], edx
mov esi, edx
sar esi, 0x1f
mov dword [esp + 0x9c], esi
lea edx, [esp + 0x10e]
and edx, 0xfffffff0
mov dword [esp + 0x50], edx
lea edi, [esp + 0xdb]
and edi, 0xfffffff0
mov dword [esp + 0x68], edi
mov dword [esp + 0xa0], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x64], 0
lea edx, [ebp + 0xc40]
mov dword [esp + 0xa4], edx
mov ebx, dword [ebp + 0x17d8]
mov dword [esp + 0x8c], ebx
mov edx, dword [ebp + 0x17dc]
test eax, eax
jne 0x6a86c874
mov ebx, dword [esp + 0x64]
shr ebx, 2
jne 0x6a86cc3a
lea eax, [edx + edx*8]
lea eax, [edx + eax*2]
shl eax, 2
mov edx, dword [esp + 0x8c]
sub edx, eax
mov eax, edx
mov dl, byte [edx]
cmp dl, 2
je 0x6a86ccef
ja 0x6a86cc4e
dec dl
je 0x6a86cb54
xor edx, edx
test byte [esp + 0x64], 3
jne 0x6a86cb64
mov ebx, dword [esp + 0x8c]
mov al, byte [ebx - 0x4c]
cmp al, 2
je 0x6a86cd03
ja 0x6a86cc6d
dec al
je 0x6a86cb78
xor eax, eax
lea ecx, [eax + eax*4]
lea eax, [edx + edx*4]
lea eax, [eax + eax*4]
shl eax, 4
lea eax, [eax + ecx*8 + 0x6c30]
lea eax, [ebp + eax + 0xc]
mov dword [esp + 0x60], eax
mov edx, dword [esp + 0x64]
movzx eax, byte [edx + 0x6ac5c859]
lea ebx, [esp + 0xc3]
add ebx, eax
mov dword [esp + 0x6c], ebx
movzx eax, byte [edx + 0x6ac5c840]
lea edx, [esp + 0xba]
add edx, eax
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x64]
shl edx, 2
lea eax, [edx*8]
sub eax, edx
mov ebx, dword [esp + 0xa4]
lea eax, [ebx + eax + 0x860]
mov dword [esp + 0x38], eax
mov edx, dword [esp + 0x64]
lea eax, [edx + edx*2]
shl eax, 4
lea eax, [ebp + eax + 0x744]
mov dword [esp + 0x40], eax
mov ebx, dword [ebp + 0x17a4]
mov dword [esp + 0x58], ebx
mov ebx, dword [esp + 0x70]
movsx edx, byte [ebx]
mov ebx, dword [esp + 0x6c]
movsx eax, byte [ebx]
add eax, edx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x4c], 0x7fffffff
mov dword [esp + 0x3c], 0
lea esi, [esi]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x60]
mov edx, dword [ebx + edx*4]
mov dword [esp + 0x48], edx
mov dword [esp + 0x10], 0x10
mov ebx, dword [esp + 0x38]
mov eax, dword [ebx + 8]
mov dword [esp + 0xc], eax
mov edx, dword [esp + 0x3c]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x58]
mov dword [esp + 4], ebx
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x38]
add eax, dword [edx + 0x10]
mov dword [esp], eax
call fcn.6a8328d0
mov dword [esp + 8], 0x10
mov ebx, dword [esp + 0x38]
mov dword [esp + 4], ebx
mov edx, dword [esp + 0x40]
mov dword [esp], edx
call dword [0x6b33a418]
mov dword [esp + 8], 0x20
mov ebx, dword [esp + 0x40]
mov eax, dword [ebx + 4]
mov dword [esp + 4], eax
mov eax, dword [ebx]
mov dword [esp], eax
call dword [ebp + 0x8e40]
mov edx, dword [esp + 0x38]
mov dword [esp + 4], edx
mov dword [esp], ebx
call dword [ebp + 0x8e4c]
mov ebx, dword [esp + 0x38]
mov ebx, dword [ebx]
mov dword [esp + 0x30], ebx
mov edx, dword [esp + 0x38]
mov eax, dword [edx + 0x14]
movsx eax, byte [eax]
test al, al
jle 0x6a86cbf5
mov dword [esp + 0x44], eax
inc eax
mov dword [esp + 0x34], eax
mov edx, dword [esp + 0x5c]
mov eax, 1
xor ebx, ebx
lea esi, [esi]
mov ecx, dword [eax*4 + 0x6ac54bbc]
mov edi, dword [esp + 0x30]
movsx esi, word [edi + ecx*2]
mov edi, dword [0x6ac56644]
movsx ecx, word [edi + esi*4]
movzx edi, byte [eax + 0x6ac54c0f]
lea edx, [edx + edx*2]
lea edi, [edi + edi*8]
add edx, edi
lea edx, [ecx + edx*4 + 0x226c]
add ebx, dword [ebp + edx*4 + 8]
mov edi, dword [0x6ac56640]
movsx edx, word [edi + esi*2]
add ebx, edx
movzx edx, byte [ecx + 0x6ac54c00]
inc eax
cmp eax, dword [esp + 0x34]
jne 0x6a86c9cc
mov eax, dword [esp + 0x44]
cmp eax, 0xf
jg 0x6a86cb84
test eax, eax
setne cl
mov esi, ecx
movzx eax, byte [eax + 0x6ac54c10]
lea edx, [edx + edx*2]
lea eax, [eax + eax*8]
add eax, edx
shl eax, 4
add ebx, dword [ebp + eax + 0x89e4]
mov edx, dword [esp + 0x48]
add edx, ebx
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x38]
mov eax, dword [edx + 4]
mov dword [esp + 4], eax
mov edx, dword [esp + 0x40]
mov eax, dword [edx + 4]
mov dword [esp], eax
call dword [0x6b33a424]
sar eax, 2
mov edx, dword [esp + 0x30]
imul edx, dword [ebp + 0x1b78]
sub edx, 0xffffff80
sar edx, 8
mov ecx, dword [ebp + 0x1b74]
imul ecx, eax
add edx, ecx
cmp edx, dword [esp + 0x4c]
jl 0x6a86cb90
inc dword [esp + 0x3c]
cmp dword [esp + 0x3c], 0xa
jne 0x6a86c908
mov ebx, dword [esp + 0x74]
mov edx, dword [esp + 0x38]
mov dword [edx + 0x18], ebx
mov edx, dword [esp + 0x58]
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x54]
mov ebx, dword [esp + 0x38]
add eax, dword [ebx + 0x10]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x10
mov edx, dword [esp + 0x50]
mov dword [esp + 4], edx
mov edi, dword [esp + 0x68]
mov dword [esp], edi
call dword [0x6b33a528]
mov esi, dword [esp + 0x4c]
mov edi, esi
sar edi, 0x1f
add dword [esp + 0x80], esi
adc dword [esp + 0x84], edi
mov ebx, dword [esp + 0x7c]
add dword [esp + 0x90], ebx
mov ebx, dword [esp + 0x88]
add dword [esp + 0x94], ebx
mov ebx, dword [esp + 0x78]
add dword [esp + 0xa0], ebx
mov esi, dword [esp + 0x74]
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x8c]
mov dword [ebx + edx*4 + 0xc], esi
mov edi, dword [esp + 0x9c]
cmp dword [esp + 0x84], edi
jle 0x6a86cc04
mov eax, 0x7fffffff
add esp, 0x15c
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, 2
test byte [esp + 0x64], 3
je 0x6a86c837
mov ebx, dword [esp + 0x64]
mov esi, dword [esp + 0x8c]
mov eax, dword [esi + ebx*4 + 8]
jmp 0x6a86c859
mov eax, 2
jmp 0x6a86c859
mov esi, 1
jmp 0x6a86ca46
mov ecx, esi
mov edi, dword [esp + 0x70]
mov byte [edi], cl
mov edi, dword [esp + 0x6c]
mov byte [edi], cl
mov esi, dword [esp + 0x38]
mov ecx, dword [esi + 8]
mov esi, dword [ecx]
mov edi, dword [esp + 0x50]
mov dword [edi], esi
mov esi, dword [ecx + 0x10]
mov dword [edi + 0x10], esi
mov esi, dword [ecx + 0x20]
mov dword [edi + 0x20], esi
mov ecx, dword [ecx + 0x30]
mov dword [edi + 0x30], ecx
mov ecx, dword [esp + 0x38]
mov esi, dword [ecx + 4]
mov ecx, 8
mov edi, dword [esp + 0x68]
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x88], eax
mov dword [esp + 0x78], ebx
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x7c], ebx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x74], ebx
mov dword [esp + 0x4c], edx
jmp 0x6a86ca94
mov edx, dword [esp + 0x5c]
xor esi, esi
xor ebx, ebx
xor eax, eax
jmp 0x6a86ca2d
jl 0x6a86cc1a
mov eax, dword [esp + 0x98]
cmp dword [esp + 0x80], eax
jae 0x6a86cb44
inc dword [esp + 0x64]
cmp dword [esp + 0x64], 0x10
je 0x6a86cc8d
mov eax, dword [ebp + 0x17ec]
mov edx, dword [ebp + 0x17b4]
mov dword [esp + 0x54], edx
jmp 0x6a86c7d5
mov ebx, dword [esp + 0x64]
mov esi, dword [esp + 0x8c]
mov edx, dword [esi + ebx*4 - 4]
jmp 0x6a86c82c
cmp dl, 3
je 0x6a86ccf9
cmp dl, 4
jne 0x6a86c82a
mov ebx, dword [esp + 0x64]
mov edx, dword [eax + ebx*4 + 0x3c]
jmp 0x6a86c82c
cmp al, 3
je 0x6a86cce5
cmp al, 4
jne 0x6a86c857
mov ebx, dword [esp + 0x64]
mov esi, dword [esp + 0x8c]
mov eax, dword [esi + ebx*4 - 0x34]
jmp 0x6a86c859
mov ebx, dword [esp + 0x90]
mov edx, dword [esp + 0xa8]
mov dword [edx], ebx
mov ebx, dword [esp + 0xa0]
mov ecx, dword [esp + 0xac]
mov dword [ecx], ebx
mov eax, dword [esp + 0x170]
mov edx, dword [esp + 0x94]
mov dword [eax], edx
mov eax, dword [esp + 0x90]
imul eax, dword [ebp + 0x1b78]
sub eax, 0xffffff80
sar eax, 8
imul edx, dword [ebp + 0x1b74]
add eax, edx
add esp, 0x15c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, 1
jmp 0x6a86c859
mov edx, 3
jmp 0x6a86c82c
mov edx, 1
jmp 0x6a86c82c
mov eax, 3
jmp 0x6a86c859