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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x28
mov eax, dword [esp + 0x48]
mov dword [esp + 0x24], ecx
mov edi, dword [esp + 0x3c]
mov ecx, dword [eax + 0xc]
mov ebp, dword [eax]
mov eax, 1
add ecx, ecx
shl eax, cl
dec eax
mov dword [esp], eax
js 0x6fdf60e2
mov eax, dword [esp]
mov byte [esp + 8], 1
lea esi, [esi]
lea edi, [edi]
shl eax, 4
mov dword [esp + 4], eax
lea eax, [eax + eax + 0x1e]
movzx edx, word [ebp + eax]
movsx esi, word [edi + edx*2]
test esi, esi
mov dword [esp + 0x18], esi
jne 0x6fdf60f0
movzx edx, word [ebp + eax - 2]
cmp word [edi + edx*2], 0
jne 0x6fdf633b
movzx edx, word [ebp + eax - 4]
cmp word [edi + edx*2], 0
jne 0x6fdf6345
movzx edx, word [ebp + eax - 6]
cmp word [edi + edx*2], 0
jne 0x6fdf634f
movzx edx, word [ebp + eax - 8]
cmp word [edi + edx*2], 0
jne 0x6fdf6359
movzx edx, word [ebp + eax - 0xa]
cmp word [edi + edx*2], 0
jne 0x6fdf6363
movzx edx, word [ebp + eax - 0xc]
cmp word [edi + edx*2], 0
jne 0x6fdf636d
movzx edx, word [ebp + eax - 0xe]
cmp word [edi + edx*2], 0
jne 0x6fdf6377
movzx edx, word [ebp + eax - 0x10]
cmp word [edi + edx*2], 0
jne 0x6fdf6388
movzx edx, word [ebp + eax - 0x12]
cmp word [edi + edx*2], 0
jne 0x6fdf6392
movzx edx, word [ebp + eax - 0x14]
cmp word [edi + edx*2], 0
jne 0x6fdf639c
movzx edx, word [ebp + eax - 0x16]
cmp word [edi + edx*2], 0
jne 0x6fdf63a6
movzx edx, word [ebp + eax - 0x18]
cmp word [edi + edx*2], 0
jne 0x6fdf63b0
movzx edx, word [ebp + eax - 0x1a]
cmp word [edi + edx*2], 0
jne 0x6fdf63ba
movzx edx, word [ebp + eax - 0x1c]
cmp word [edi + edx*2], 0
jne 0x6fdf63c4
movzx eax, word [ebp + eax - 0x1e]
cmp word [edi + eax*2], 0
sete al
neg al
and byte [esp + 8], al
dec dword [esp]
mov eax, dword [esp]
cmp eax, 0xffffffff
jne 0x6fdf5fc0
mov eax, dword [esp + 0x44]
add esp, 0x28
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov edx, 0xf
lea esi, [esi]
lea edi, [edi]
lea ebx, [ebp + eax - 0x1e]
movzx eax, word [ebx]
movsx ecx, word [edi + eax*2]
xor eax, eax
test ecx, ecx
jne 0x6fdf626c
lea esi, [esi]
lea edi, [edi]
inc eax
movzx ecx, word [ebx + eax*2]
movsx ecx, word [edi + ecx*2]
test ecx, ecx
je 0x6fdf6120
mov ebx, edx
sub ebx, eax
cmp ebx, 3
jle 0x6fdf6280
test ecx, ecx
setle cl
cmp eax, edx
movzx esi, cl
mov dword [esp + 0x14], esi
jg 0x6fdf6381
mov esi, dword [esp + 4]
mov dword [esp + 0xc], ebp
lea ebx, [esi + edx + 1]
lea ecx, [esi + eax]
lea esi, [ebp + ebx*2]
xor ebx, ebx
lea ecx, [ebp + ecx*2]
mov ebp, esi
lea esi, [esi]
movzx esi, word [ecx]
add ecx, 2
movsx esi, word [edi + esi*2]
add ebx, esi
cmp ecx, ebp
jne 0x6fdf6170
mov ebp, dword [esp + 0xc]
and ebx, 1
cmp dword [esp + 0x14], ebx
je 0x6fdf6280
cmp byte [esp + 8], 0
je 0x6fdf6300
mov ebx, dword [esp + 4]
lea ecx, [ebx + edx]
movzx ecx, word [ebp + ecx*2]
movsx ebx, word [edi + ecx*2]
mov dword [esp + 0x18], ebx
mov esi, dword [esp + 0x24]
xor ecx, ecx
mov dword [esp + 0x10], ecx
mov ecx, 0x7fffffff
mov dword [esp + 0x20], ebp
mov dword [esp + 8], eax
mov ebx, dword [esi + 0x78]
mov esi, dword [esp + 4]
mov dword [esp + 4], ecx
mov dword [esp + 0x1c], ebx
mov ebx, 0xffffffff
mov dword [esp + 0xc], ebx
lea esi, [ebp + esi*2]
mov ebx, dword [esp + 0x18]
jmp 0x6fdf622a
mov eax, dword [esp + 0x40]
mov eax, dword [eax + ecx*4]
test eax, eax
jle 0x6fdf6290
neg eax
mov ebx, 1
cmp eax, dword [esp + 4]
jge 0x6fdf6218
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 4], eax
dec edx
cmp edx, 0xffffffff
je 0x6fdf62a4
movzx eax, word [esi + edx*2]
movsx ebx, word [edi + eax*2]
test ebx, ebx
movzx ecx, word [esi + edx*2]
jne 0x6fdf61f0
cmp dword [esp + 8], edx
jle 0x6fdf6263
mov eax, dword [esp + 0x1c]
lea ebx, [ecx*4]
mov eax, dword [eax + ebx]
mov dword [esp + 0x18], eax
shr eax, 0x1f
cmp eax, dword [esp + 0x14]
jne 0x6fdf6218
mov eax, dword [esp + 0x40]
mov eax, dword [eax + ebx]
mov ebx, 1
neg eax
jmp 0x6fdf6206
mov eax, dword [esp + 0x40]
mov eax, dword [eax + ecx*4]
jmp 0x6fdf61ff
cmp edx, 3
jg 0x6fdf63ce
lea esi, [esi]
lea edi, [edi]
mov byte [esp + 8], 0
jmp 0x6fdf60d3
cmp dword [esp + 8], edx
je 0x6fdf63df
mov ebx, 0xffffffff
jmp 0x6fdf6206
mov eax, dword [esp + 0xc]
mov ebp, dword [esp + 0x20]
lea ecx, [edi + eax*2]
lea esi, [eax*4]
movsx eax, word [ecx]
movzx edx, ax
lea ebx, [edx + 0x7fff]
cmp bx, 0xfffd
jbe 0x6fdf6310
mov ebx, eax
sar ebx, 0x1f
xor eax, ebx
sub eax, ebx
mov ebx, 0xffff
dec eax
sete al
movzx eax, al
sub dword [esp + 0x44], eax
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + esi]
test eax, eax
js 0x6fdf632c
add edx, ebx
mov word [ecx], dx
mov byte [esp + 8], 0
jmp 0x6fdf60d3
mov edx, 0xf
jmp 0x6fdf61b0
test eax, eax
jne 0x6fdf63f4
mov eax, dword [esp + 0x1c]
inc dword [esp + 0x44]
movzx ebx, word [esp + 0x10]
mov eax, dword [eax + esi]
test eax, eax
jns 0x6fdf62ec
sub edx, ebx
mov word [ecx], dx
mov byte [esp + 8], 0
jmp 0x6fdf60d3
mov edx, 0xe
jmp 0x6fdf6100
mov edx, 0xd
jmp 0x6fdf6100
mov edx, 0xc
jmp 0x6fdf6100
mov edx, 0xb
jmp 0x6fdf6100
mov edx, 0xa
jmp 0x6fdf6100
mov edx, 9
jmp 0x6fdf6100
mov edx, 8
jmp 0x6fdf6100
xor ebx, ebx
jmp 0x6fdf6187
mov edx, 7
jmp 0x6fdf6100
mov edx, 6
jmp 0x6fdf6100
mov edx, 5
jmp 0x6fdf6100
mov edx, 4
jmp 0x6fdf6100
mov edx, 3
jmp 0x6fdf6100
mov edx, 2
jmp 0x6fdf6100
mov edx, 1
jmp 0x6fdf6100
test ecx, ecx
setle cl
movzx esi, cl
mov dword [esp + 0x14], esi
jmp 0x6fdf614e
mov ebp, ebx
sar ebp, 0x1f
xor ebx, ebp
sub ebx, ebp
dec ebx
jne 0x6fdf629a
jmp 0x6fdf6218
mov ebx, dword [esp + 0x10]
cmp ebx, 0xffffffff
je 0x6fdf62c8
movzx ebx, bx
jmp 0x6fdf62e1