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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
push ebx
push esi
push edi
mov edi, ecx
mov eax, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x38], edi
test edi, edi
jne 0x10236e88
mov eax, 0x14
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test eax, eax
jne 0x10236e98
mov eax, 6
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [eax + 0x10]
xor ecx, ecx
mov edx, dword [eax + 0x14]
xor esi, esi
xor eax, eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], edx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], esi
cmp ax, word [edi]
jge 0x102371cd
lea ecx, [ecx]
mov eax, dword [edi + 0xc]
movsx esi, word [eax + esi*2]
mov dword [esp + 0x2c], esi
test esi, esi
js 0x10236e7c
mov eax, dword [edi + 4]
lea edi, [eax + esi*8]
lea esi, [eax + ecx*8]
mov dword [esp + 0x14], edi
mov eax, dword [esi]
mov dword [esp + 0x40], eax
mov ecx, dword [esi + 4]
mov dword [esp + 0x1c], ecx
mov ecx, ebx
shl eax, cl
sub eax, edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x1c]
shl eax, cl
sub eax, edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x1c], eax
mov eax, dword [edi]
mov edi, dword [edi + 4]
shl eax, cl
sub eax, edx
shl edi, cl
mov ecx, dword [esp + 0x3c]
sub edi, edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x28], edi
mov edi, dword [esp + 0x30]
mov dword [esp + 0x24], eax
mov edx, dword [edx + 8]
mov eax, dword [esp + 0x1c]
add edi, edx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], ecx
movsx eax, byte [edi]
and eax, 3
cmp eax, 2
je 0x10236e7c
test eax, eax
jne 0x10236f8c
mov eax, dword [esp + 0x2c]
mov al, byte [edx + eax]
and al, 3
cmp al, 1
mov eax, dword [esp + 0x24]
jne 0x10236f6c
sub dword [esp + 0x14], 8
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x28]
jmp 0x10236f84
add eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x28]
add eax, dword [esp + 0x1c]
cdq
sub eax, edx
sar eax, 1
sub esi, 8
mov dword [esp + 0x44], eax
dec edi
push dword [ebp + 8]
lea eax, [esp + 0x44]
push eax
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
call eax
add esp, 8
test eax, eax
jne 0x102371cf
mov ecx, dword [esp + 0x14]
cmp esi, ecx
jae 0x1023718c
movsx eax, byte [edi + 1]
inc edi
and eax, 3
add esi, 8
sub eax, 0
je 0x102370a3
dec eax
je 0x10237067
lea eax, [esi + 8]
cmp eax, ecx
ja 0x10236e7c
mov al, byte [edi + 1]
and al, 3
cmp al, 2
jne 0x10236e7c
mov eax, dword [esi]
add esi, 0x10
mov edx, dword [esp + 0x18]
mov ecx, ebx
shl eax, cl
add edi, 2
sub eax, edx
push dword [ebp + 8]
mov dword [esp + 0x64], eax
mov eax, dword [esi - 0xc]
shl eax, cl
sub eax, edx
mov dword [esp + 0x68], eax
mov eax, dword [esi - 8]
shl eax, cl
sub eax, edx
mov dword [esp + 0x5c], eax
mov eax, dword [esi - 4]
shl eax, cl
sub eax, edx
mov dword [esp + 0x60], eax
cmp esi, dword [esp + 0x18]
ja 0x102371d6
mov eax, dword [esi]
shl eax, cl
sub eax, edx
mov dword [esp + 0x6c], eax
mov eax, dword [esi + 4]
shl eax, cl
sub eax, edx
mov dword [esp + 0x70], eax
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x6c]
push eax
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0xc]
call eax
add esp, 0x10
test eax, eax
jne 0x102371cf
jmp 0x10237180
mov eax, dword [esi]
mov ecx, ebx
push dword [ebp + 8]
shl eax, cl
sub eax, dword [esp + 0x1c]
mov dword [esp + 0x74], eax
mov eax, dword [esi + 4]
shl eax, cl
sub eax, dword [esp + 0x1c]
mov dword [esp + 0x78], eax
lea eax, [esp + 0x74]
push eax
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 4]
call eax
add esp, 8
test eax, eax
jne 0x102371cf
jmp 0x10237180
mov ebx, dword [esi]
mov ecx, dword [esp + 0x20]
shl ebx, cl
sub ebx, dword [esp + 0x18]
mov dword [esp + 0x48], ebx
mov eax, dword [esi + 4]
shl eax, cl
sub eax, dword [esp + 0x18]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x28], eax
cmp esi, dword [esp + 0x14]
jae 0x102371f3
movsx edx, byte [edi + 1]
inc edi
mov eax, dword [esi + 8]
add esi, 8
mov dword [esp + 0x24], edi
and edx, 3
shl eax, cl
sub eax, dword [esp + 0x18]
mov edi, dword [esi + 4]
shl edi, cl
sub edi, dword [esp + 0x18]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], edi
cmp edx, 1
je 0x1023715b
test edx, edx
jne 0x10236e7c
push dword [ebp + 8]
add eax, ebx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x2c]
add eax, edi
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x80], eax
lea eax, [esp + 0x7c]
push eax
lea eax, [esp + 0x50]
push eax
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 8]
call eax
add esp, 0xc
test eax, eax
jne 0x102371cf
mov ebx, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x48], ebx
jmp 0x102370bc
push dword [ebp + 8]
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x50]
push eax
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 8]
call eax
add esp, 0xc
test eax, eax
jne 0x102371cf
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
cmp esi, ecx
jb 0x10236fb3
push dword [ebp + 8]
lea eax, [esp + 0x44]
push eax
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 4]
call eax
add esp, 8
test eax, eax
jne 0x102371cf
mov edi, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
inc esi
mov ebx, dword [esp + 0x20]
inc ecx
movsx eax, word [edi]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], esi
cmp esi, eax
jl 0x10236ec0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x6c]
push eax
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0xc]
call eax
add esp, 0x10
jmp 0x102371a0
push dword [ebp + 8]
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x50]
push eax
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 8]
call eax
add esp, 0xc
jmp 0x102371a0