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

Disassembly:
push ebp
mov ebp, ecx
push edi
push esi
push ebx
sub esp, 0x5c
mov esi, dword [esp + 0x70]
mov ecx, dword [esp + 0x78]
mov ebx, dword [esp + 0x74]
mov edi, dword [esp + 0x78]
mov eax, dword [esi + 0x58]
movzx edx, byte [esp + 0x7c]
movzx eax, byte [eax]
sub ecx, eax
mov eax, dword [esi + 0x70]
mov dword [esp + 0x2c], ecx
movzx eax, byte [eax + ebx]
mov ebx, dword [0x7046f74c]
cmp ecx, eax
mov ecx, dword [ebp + 0x70]
setne byte [esp + 0x28]
sub ebx, edi
mov byte [esp + 0x4e], al
mov dword [esp + 0x38], eax
mov eax, ebx
sub eax, ecx
cmp dword [ebp + 0x6c], 2
mov dword [esp + 0x30], eax
sete byte [esp + 0x34]
test dl, dl
je 0x6fdd92c0
mov eax, dword [esp + 0x84]
cmp ebx, dword [eax + 4]
jbe 0x6fdd96d4
movzx ecx, byte [esp + 0x30]
mov eax, 1
mov edi, eax
shl edi, cl
cmp byte [esp + 0x34], 0
lea ecx, [edi + edi]
cmove ecx, edi
mov dword [esp + 0x3c], ecx
imul ecx, edi
cmp ecx, 0xf
jbe 0x6fdd94e0
test dl, dl
je 0x6fdd93d0
mov ecx, dword [0x7046f744]
add ecx, ecx
shl eax, cl
mov ecx, dword [esi + 0x58]
movzx ecx, byte [ecx]
add ecx, dword [esp + 0x2c]
add ecx, ecx
shr eax, cl
cmp dword [esp + 0x2c], 0
mov dword [esp + 0x40], eax
je 0x6fdd950c
mov eax, dword [esp + 0x2c]
mov ecx, dword [esi + 0x84]
dec eax
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x74]
movzx eax, byte [ecx + eax]
movzx ecx, byte [esp + 0x44]
sar eax, cl
test al, 1
je 0x6fdd9392
mov byte [esp + 0x48], dl
mov edx, dword [esp + 0x2c]
lea eax, [ebp + 0x1b0]
movzx ecx, byte [esp + 0x28]
mov dword [esp + 0xc], edi
mov dword [esp], esi
mov dword [esp + 0x18], edx
mov edx, 1
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x3c]
xor cl, 1
movzx ecx, cl
mov dword [esp + 0x1c], ecx
mov ecx, eax
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x74]
mov dword [esp + 4], edx
call fcn.6fd5f5f0
sub esp, 0x20
movzx edx, byte [esp + 0x48]
mov ecx, dword [esi + 0x88]
mov eax, dword [esp + 0x74]
movzx eax, byte [ecx + eax]
movzx ecx, byte [esp + 0x44]
sar eax, cl
test al, 1
je 0x6fdd95b6
movzx ecx, byte [esp + 0x28]
lea eax, [ebp + 0x1b0]
mov dword [esp + 0x44], eax
xor cl, 1
movzx eax, cl
jmp 0x6fdd956d
cmp byte [esp + 0x28], 0
jne 0x6fdd95c5
mov eax, dword [esp + 0x74]
lea edi, [ebx - 2]
shl eax, 4
mov dword [esp + 0x28], eax
imul eax, edi, 0xfa0
cmp ebx, 2
mov eax, dword [ebp + eax + 0x1420]
mov dword [esp + 0x2c], eax
je 0x6fdd9820
mov eax, dword [esp + 0x38]
mov dword [esp + 0x3c], eax
mov al, 1
test dl, dl
jne 0x6fdd96a3
mov ecx, dword [esp + 0x80]
test ecx, ecx
jne 0x6fdd9475
mov ecx, dword [esp + 0x74]
mov edx, dword [esi + 0x80]
movzx edx, byte [edx + ecx]
movzx ecx, byte [esp + 0x4e]
sar edx, cl
test dl, 1
je 0x6fdd9475
mov byte [esp + 0x40], al
xor eax, eax
mov edx, dword [esp + 0x28]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x74]
lea ecx, [ebp + 0x1b0]
mov dword [esp + 0xc], ebx
mov dword [esp], esi
mov dword [esp + 8], eax
mov eax, dword [esp + 0x2c]
lea edx, [eax + edx*2]
mov dword [esp + 4], edx
call fcn.6fd62b60
sub esp, 0x14
movzx eax, byte [esp + 0x40]
test al, al
je 0x6fdd94d0
mov eax, dword [ebp + 0x70]
imul edi, edi, 0xfa0
mov ecx, dword [ebp + 0x74]
add edi, ebp
add ecx, eax
mov eax, dword [esp + 0x28]
mov edx, dword [edi + 0x1424]
shr eax, cl
add eax, eax
add edx, eax
mov dword [esp + 0x28], edx
mov edx, dword [edi + 0x1428]
add eax, edx
cmp byte [esp + 0x34], 0
mov edi, eax
jne 0x6fdd9710
cmp dword [esp + 0x80], 1
je 0x6fdd9981
cmp dword [esp + 0x80], 2
je 0x6fdd9860
nop
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret 0x18
test dl, dl
je 0x6fdd93d0
mov ecx, dword [esp + 0x2c]
test ecx, ecx
jne 0x6fdd9670
mov ecx, dword [0x7046f744]
add ecx, ecx
shl eax, cl
mov ecx, dword [esi + 0x58]
movzx ecx, byte [ecx]
add ecx, ecx
shr eax, cl
mov dword [esp + 0x40], eax
movzx eax, byte [esp + 0x28]
mov ecx, 1
mov byte [esp + 0x4f], dl
lea edx, [ebp + 0x1b0]
mov dword [esp + 0x14], ecx
mov ecx, edx
mov dword [esp + 0xc], edi
xor al, 1
movzx eax, al
mov dword [esp + 0x1c], eax
mov dword [esp + 0x48], eax
xor eax, eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x3c]
mov dword [esp], esi
mov dword [esp + 0x44], edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
call fcn.6fd5f5f0
sub esp, 0x20
mov eax, dword [esp + 0x48]
movzx edx, byte [esp + 0x4f]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0xc], edi
mov dword [esp], esi
mov dword [esp + 0x18], eax
mov eax, 2
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x3c]
mov byte [esp + 0x48], dl
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
call fcn.6fd5f5f0
sub esp, 0x20
movzx edx, byte [esp + 0x48]
cmp byte [esp + 0x28], 0
je 0x6fdd93db
test dl, dl
jne 0x6fdd95ea
mov eax, dword [esp + 0x80]
mov ebx, dword [esp + 0x74]
movzx ecx, byte [esp + 0x2c]
mov eax, dword [esi + eax*4 + 0x80]
movzx eax, byte [eax + ebx]
sar eax, cl
test al, 1
je 0x6fdd94d0
mov eax, dword [esp + 0x78]
mov edi, 1
lea ebx, [eax + 1]
mov eax, dword [0x7046f744]
lea ecx, [eax + eax]
movzx eax, dl
shl edi, cl
lea ecx, [ebx + ebx]
shr edi, cl
mov ecx, 4
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x74]
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x84]
mov ecx, ebp
mov dword [esp + 4], edi
mov dword [esp + 8], ebx
mov dword [esp], esi
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0xc], eax
call fcn.6fdd9250
sub esp, 0x18
mov eax, dword [esp + 0x2c]
add edi, eax
dec dword [esp + 0x28]
jne 0x6fdd961d
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret 0x18
cmp byte [esp + 0x28], 0
jne 0x6fdd95ea
mov eax, dword [esp + 0x74]
shl eax, 4
mov dword [esp + 0x28], eax
lea eax, [ebx - 2]
imul eax, eax, 0xfa0
cmp ebx, 2
mov eax, dword [ebp + eax + 0x1420]
mov dword [esp + 0x2c], eax
je 0x6fdd9820
mov eax, dword [esp + 0x38]
xor ebx, ebx
lea ecx, [ebp + 0x1b0]
mov dword [esp + 8], ebx
mov dword [esp], esi
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
call fcn.6fd5cbb0
sub esp, 0x10
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret 0x18
cmp ebx, dword [eax]
jbe 0x6fdd92c0
mov eax, 5
sub eax, ebx
mov dword [esp + 4], eax
movzx eax, byte [esp + 0x28]
lea ecx, [ebp + 0x1b0]
mov byte [esp + 0x3c], dl
mov dword [esp], eax
call fcn.6fd5c990
sub esp, 8
movzx edx, byte [esp + 0x3c]
jmp 0x6fdd92c0
mov eax, dword [0x7046f744]
mov ebx, dword [esp + 0x74]
lea ecx, [eax + eax]
mov eax, 1
mov edx, eax
shl edx, cl
mov ecx, dword [esi + 0x58]
movzx ecx, byte [ecx + ebx]
add ecx, dword [esp + 0x3c]
lea ecx, [ecx + ecx + 1]
shr edx, cl
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x30]
lea ecx, [edx + edx]
shl eax, cl
cmp dword [esp + 0x80], 1
mov dword [esp + 0x34], eax
je 0x6fdd98c1
cmp dword [esp + 0x80], 2
jne 0x6fdd94d0
mov eax, dword [esp + 0x74]
mov ebx, dword [esi + 0x88]
movzx ecx, byte [esp + 0x4e]
movzx edx, byte [ebx + eax]
mov eax, edx
sar eax, cl
test al, 1
je 0x6fdd94d0
mov eax, dword [esp + 0x38]
inc eax
mov cl, al
sar edx, cl
test dl, 1
je 0x6fdd97cc
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x30]
mov ebx, 2
mov dword [esp + 0x10], ebx
lea ecx, [ebp + 0x1b0]
mov dword [esp + 4], edi
mov dword [esp], esi
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 8], eax
call fcn.6fd62b60
mov ebx, dword [esi + 0x88]
sub esp, 0x14
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x2c]
add edx, ecx
mov cl, al
movzx ebx, byte [ebx + edx]
sar ebx, cl
test bl, 1
je 0x6fdd94d0
mov eax, 2
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x30]
lea ecx, [ebp + 0x1b0]
mov dword [esp + 8], edx
mov dword [esp], esi
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x34]
lea eax, [edi + eax*2]
mov dword [esp + 4], eax
call fcn.6fd62b60
sub esp, 0x14
jmp 0x6fdd94d0
cmp dword [ebp + 0x6c], 3
je 0x6fdd98b0
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x78]
inc dword [esp + 0x30]
dec eax
mov dword [esp + 0x3c], eax
mov eax, dword [0x7046f744]
lea ecx, [eax + eax]
mov eax, 1
shl eax, cl
lea ecx, [edi + edi - 2]
shr eax, cl
dec eax
test dword [esp + 0x74], eax
sete al
xor edi, edi
jmp 0x6fdd940d
mov eax, dword [esi + 0x88]
mov edx, dword [esp + 0x74]
movzx ecx, byte [esp + 0x4e]
movzx eax, byte [eax + edx]
sar eax, cl
test al, 1
je 0x6fdd94d0
mov eax, dword [esp + 0x30]
mov ebx, 2
lea ecx, [ebp + 0x1b0]
mov dword [esp + 0x10], ebx
mov dword [esp + 4], edi
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x74]
mov dword [esp], esi
mov dword [esp + 8], eax
call fcn.6fd62b60
sub esp, 0x14
jmp 0x6fdd94d0
mov eax, dword [esp + 0x38]
xor edi, edi
mov dword [esp + 0x3c], eax
mov al, 1
jmp 0x6fdd940d
mov eax, ebx
mov ebx, dword [esi + 0x84]
movzx ecx, byte [esp + 0x4e]
movzx edx, byte [ebx + eax]
mov eax, edx
sar eax, cl
test al, 1
je 0x6fdd94d0
mov eax, dword [esp + 0x38]
inc eax
mov cl, al
sar edx, cl
test dl, 1
je 0x6fdd992c
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x30]
mov ebx, 1
mov dword [esp + 0x10], ebx
lea ecx, [ebp + 0x1b0]
mov dword [esp], esi
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
call fcn.6fd62b60
mov ebx, dword [esi + 0x84]
sub esp, 0x14
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x2c]
add edx, ecx
mov cl, al
movzx ebx, byte [ebx + edx]
sar ebx, cl
test bl, 1
je 0x6fdd94d0
mov eax, dword [esp + 0x30]
mov edi, 1
mov dword [esp + 8], edx
mov edx, dword [esp + 0x34]
lea ecx, [ebp + 0x1b0]
mov dword [esp + 0x10], edi
mov dword [esp], esi
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x28]
lea eax, [eax + edx*2]
mov dword [esp + 4], eax
call fcn.6fd62b60
sub esp, 0x14
jmp 0x6fdd94d0
mov eax, dword [esi + 0x84]
mov edx, dword [esp + 0x74]
movzx ecx, byte [esp + 0x4e]
movzx eax, byte [eax + edx]
sar eax, cl
test al, 1
je 0x6fdd94d0
mov eax, dword [esp + 0x30]
mov edi, 1
lea ecx, [ebp + 0x1b0]
mov dword [esp + 0x10], edi
mov dword [esp], esi
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
call fcn.6fd62b60
sub esp, 0x14
jmp 0x6fdd94d0