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

Disassembly:
mov ecx, dword [0x6cb24420]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x6c90ba1c
sub esp, 0x5c
mov eax, dword [esp + 0x68]
cmp eax, 0xc
jl 0x6c90b859
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov ecx, dword [ecx + 0x20]
mov dword [esp], edx
mov edx, dword [esp + 0x6c]
lea ebx, [edx - 2]
mov ebp, dword [esp + 0x64]
lea esi, [ebp + 2]
mov dword [esp + 4], esi
mov dword [esp + 8], 2
mov dword [esp + 0xc], ebx
call ecx
movzx eax, word [esp + 0x10]
movzx ecx, ax
lea edx, [ecx - 1]
cmp edx, 5
jae 0x6c90b826
mov word [esp + 0x2e], ax
mov dword [esp + 0x40], ecx
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov ecx, dword [ecx + 0x24]
mov dword [esp], edx
mov edx, dword [esp + 0x6c]
lea ebx, [edx - 4]
mov ebp, dword [esp + 0x64]
lea esi, [ebp + 4]
mov dword [esp + 4], esi
mov dword [esp + 8], 4
mov dword [esp + 0xc], ebx
call ecx
mov eax, dword [esp + 0x40]
lea ecx, [0x6c946e40]
mov eax, dword [ecx + eax*4]
test eax, eax
je 0x6c90ba16
mov edx, dword [esp + 0x10]
mov dword [esp + 0x48], edx
mov ecx, eax
mov eax, 0x7fffffff
xor edx, edx
div ecx
mov edx, dword [esp + 0x48]
cmp edx, eax
ja 0x6c90b7f3
imul ecx, edx
cmp ecx, 4
ja 0x6c90b688
lea ebx, [ecx + 8]
mov ebp, dword [esp + 0x6c]
cmp ebp, ebx
jb 0x6c90ba0d
cmp ebx, 8
jb 0x6c90ba01
lea eax, [ebp - 8]
mov ebx, dword [esp + 0x64]
add ebx, 8
xor ebp, ebp
xor esi, esi
jmp 0x6c90b70f
mov dword [esp + 0x44], ecx
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov ecx, dword [ecx + 0x24]
mov dword [esp], edx
mov edx, dword [esp + 0x6c]
add edx, 0xfffffff8
mov ebx, dword [esp + 0x64]
add ebx, 8
mov dword [esp + 4], ebx
mov dword [esp + 8], 4
mov dword [esp + 0xc], edx
call ecx
mov eax, dword [esp + 0x60]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov ebx, dword [esp + 0x10]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov ecx, dword [esp + 0x44]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], 0
call fcn.6c90b190
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebp, dword [esp + 0x28]
mov esi, ebp
mov ebp, eax
mov eax, edx
mov edx, dword [esp + 0x48]
test ebp, ebp
jne 0x6c90b7cc
mov dword [esp + 0x54], ebx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], eax
lea eax, [0x6c98c7c0]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], edx
call fcn.6c8104b0
mov eax, dword [esp + 0xc]
movzx ecx, word [esp + 0x2e]
cmp cx, 1
jne 0x6c90b75b
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x30]
xor ebp, ebp
jmp 0x6c90b9d8
mov dword [esp + 0x58], eax
cmp cx, 3
jne 0x6c90b77c
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0x54]
xor ecx, ecx
jmp 0x6c90b969
cmp cx, 4
jne 0x6c90b799
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0x54]
xor ecx, ecx
jmp 0x6c90b8b1
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
lea eax, [0x6c9fc1f8]
mov dword [esp + 0x7c], eax
lea eax, [0x6c9fb948]
mov dword [esp + 0x80], eax
add esp, 0x5c
ret
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x80], esi
add esp, 0x5c
ret
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
lea eax, [0x6c9fc1bc]
mov dword [esp + 0x7c], eax
lea eax, [0x6c9fb940]
mov dword [esp + 0x80], eax
add esp, 0x5c
ret
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
lea eax, [0x6c9fc1f8]
mov dword [esp + 0x7c], eax
lea eax, [0x6c9fb938]
mov dword [esp + 0x80], eax
add esp, 0x5c
ret
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
lea eax, [0x6c9fc1bc]
mov dword [esp + 0x7c], eax
lea eax, [0x6c9fb930]
mov dword [esp + 0x80], eax
add esp, 0x5c
ret
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x58]
mov dword [edx + eax*4], edi
mov edi, dword [esp + 0x34]
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
mov eax, edx
mov edx, edi
mov ebx, ecx
mov ecx, dword [esp + 0x50]
cmp ecx, ebx
jae 0x6c90b90b
lea edi, [ecx + 1]
mov dword [esp + 0x50], edi
shl edi, 2
cmp edx, edi
jb 0x6c90b93c
mov dword [esp + 0x38], ecx
shl ecx, 2
cmp edi, ecx
jb 0x6c90b933
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov eax, dword [eax + 0x24]
mov dword [esp], ebx
sub edx, ecx
mov dword [esp + 0x4c], edx
sub edi, ecx
neg edx
sar edx, 0x1f
and ecx, edx
add ecx, esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edi
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0xc], ecx
call eax
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x48]
cmp eax, ecx
jb 0x6c90b88c
jmp 0x6c90b92e
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
add esp, 0x5c
ret
call fcn.6c82c0f0
mov eax, ecx
mov ecx, edi
call fcn.6c82c150
mov ecx, edi
call fcn.6c82c130
movzx edi, word [esp + 0x10]
mov edx, dword [esp + 0x58]
mov dword [edx + eax*4], edi
mov edi, dword [esp + 0x34]
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
mov eax, edx
mov edx, edi
mov ebx, ecx
mov ecx, dword [esp + 0x50]
cmp ecx, ebx
jae 0x6c90b90b
lea edi, [ecx + 1]
mov dword [esp + 0x50], edi
shl edi, 1
cmp edx, edi
jb 0x6c90b9cd
mov dword [esp + 0x3c], ecx
shl ecx, 1
cmp edi, ecx
jb 0x6c90b9c4
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov eax, dword [eax + 0x20]
mov dword [esp], ebx
sub edx, ecx
mov dword [esp + 0x4c], edx
sub edi, ecx
neg edx
sar edx, 0x1f
and ecx, edx
add ecx, esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edi
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0xc], ecx
call eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x48]
cmp eax, ecx
jb 0x6c90b943
call fcn.6c82c0f0
mov eax, ecx
mov ecx, edi
call fcn.6c82c150
mov ecx, edi
call fcn.6c82c130
mov dword [eax + ebp*4], esi
inc ebp
cmp ebp, ecx
jae 0x6c90b9ea
cmp ebx, ebp
jbe 0x6c90b9f8
movzx esi, byte [edx + ebp]
cmp ebp, ecx
jb 0x6c90b9d4
jmp 0x6c90b9f1
mov ebx, ecx
jmp 0x6c90b90b
mov eax, ebp
call fcn.6c82c0f0
mov eax, ebp
mov ecx, ebx
call fcn.6c82c0f0
mov eax, 8
mov ecx, ebx
call fcn.6c82c140
mov ecx, ebx
mov edx, ebp
call fcn.6c82c130
call fcn.6c7f8b40
nop
call fcn.6c82ac40
jmp fcn.6c90b580