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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
jne 0x1011b15f
mov eax, 0x14
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x1011b172
mov eax, 6
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [eax + 0x10]
xor ecx, ecx
mov ebx, dword [eax + 0x14]
xor edx, edx
xor eax, eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x30], edx
cmp ax, word [esi]
jge 0x1011b4e3
nop word [eax + eax]
mov eax, dword [esi + 0xc]
movsx edx, word [eax + edx*2]
mov dword [esp + 0x2c], edx
test edx, edx
js 0x1011b153
mov eax, dword [esi + 4]
lea edx, [eax + edx*8]
mov dword [esp + 0x24], edx
lea esi, [eax + ecx*8]
mov ecx, dword [esi]
mov eax, dword [esi + 4]
mov dword [esp + 0x1c], ecx
mov ecx, edi
shl dword [esp + 0x1c], cl
mov ecx, dword [esp + 0x1c]
sub ecx, ebx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x1c], ecx
mov ecx, edi
shl eax, cl
sub eax, ebx
mov dword [esp + 0x3c], eax
mov ecx, dword [edx]
mov dword [esp + 0x14], ecx
mov ecx, dword [edx + 4]
mov dword [esp + 0x10], ecx
mov ecx, edi
shl dword [esp + 0x10], cl
shl dword [esp + 0x14], cl
mov ecx, dword [esp + 0x10]
sub dword [esp + 0x14], ebx
sub ecx, ebx
mov dword [esp + 0x34], eax
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x40], ecx
mov ecx, dword [eax + 8]
add ecx, dword [esp + 0x20]
mov dword [esp + 0x20], ecx
movsx eax, byte [ecx]
and eax, 3
cmp eax, 2
je 0x1011b153
test eax, eax
jne 0x1011b293
mov ebx, dword [ebp + 8]
mov edi, dword [esp + 0x2c]
mov eax, dword [ebx + 8]
mov ebx, dword [esp + 0x18]
mov al, byte [eax + edi]
mov edi, dword [esp + 0x28]
and al, 3
cmp al, 1
jne 0x1011b269
mov eax, dword [esp + 0x14]
sub edx, 8
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x24], edx
jmp 0x1011b287
mov eax, dword [esp + 0x1c]
add eax, dword [esp + 0x14]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x34]
add eax, dword [esp + 0x10]
cdq
sub eax, edx
sar eax, 1
sub esi, 8
mov dword [esp + 0x3c], eax
dec ecx
mov dword [esp + 0x20], ecx
push dword [ebp + 0x10]
lea eax, [esp + 0x3c]
push eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
call eax
add esp, 8
test eax, eax
jne 0x1011b4e5
mov ecx, dword [esp + 0x24]
cmp esi, ecx
jae 0x1011b4a8
nop dword [eax]
mov edx, dword [esp + 0x20]
add esi, 8
inc edx
mov dword [esp + 0x34], esi
mov dword [esp + 0x20], edx
movsx eax, byte [edx]
and eax, 3
sub eax, 0
je 0x1011b3bb
sub eax, 1
je 0x1011b384
lea eax, [esi + 8]
cmp eax, ecx
ja 0x1011b153
mov al, byte [edx + 1]
and al, 3
cmp al, 2
jne 0x1011b153
mov eax, dword [esp + 0x34]
mov ecx, edi
push dword [ebp + 0x10]
add esi, 0x10
add edx, 2
mov dword [esp + 0x24], edx
mov eax, dword [eax]
shl eax, cl
sub eax, ebx
mov dword [esp + 0x5c], eax
mov eax, dword [esi - 0xc]
shl eax, cl
sub eax, ebx
mov dword [esp + 0x60], eax
mov eax, dword [esi - 8]
shl eax, cl
sub eax, ebx
mov dword [esp + 0x54], eax
mov eax, dword [esi - 4]
shl eax, cl
sub eax, ebx
mov dword [esp + 0x58], eax
cmp esi, dword [esp + 0x28]
ja 0x1011b4ec
mov eax, dword [esi]
shl eax, cl
sub eax, ebx
mov dword [esp + 0x64], eax
mov eax, dword [esi + 4]
shl eax, cl
sub eax, ebx
mov dword [esp + 0x68], eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x64]
push eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0xc]
call eax
add esp, 0x10
test eax, eax
jne 0x1011b4e5
jmp 0x1011b49c
mov eax, dword [esi]
mov ecx, edi
push dword [ebp + 0x10]
shl eax, cl
sub eax, ebx
mov dword [esp + 0x6c], eax
mov eax, dword [esi + 4]
shl eax, cl
sub eax, ebx
mov dword [esp + 0x70], eax
lea eax, [esp + 0x6c]
push eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
call eax
add esp, 8
test eax, eax
jne 0x1011b4e5
jmp 0x1011b49c
mov ebx, dword [esi]
mov ecx, edi
shl ebx, cl
sub ebx, dword [esp + 0x18]
mov dword [esp + 0x40], ebx
mov eax, dword [esi + 4]
shl eax, cl
sub eax, dword [esp + 0x18]
mov dword [esp + 0x44], eax
mov dword [esp + 0x1c], eax
nop word [eax + eax]
cmp esi, dword [esp + 0x24]
jae 0x1011b508
mov eax, dword [esi + 8]
add esi, 8
inc edx
mov ecx, edi
shl eax, cl
mov ecx, dword [esp + 0x28]
mov edi, dword [esi + 4]
sub eax, dword [esp + 0x18]
mov dword [esp + 0x20], edx
movsx edx, byte [edx]
shl edi, cl
and edx, 3
sub edi, dword [esp + 0x18]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], edi
cmp edx, 1
je 0x1011b478
test edx, edx
jne 0x1011b153
push dword [ebp + 0x10]
add eax, ebx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x20]
add eax, edi
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x78], eax
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x48]
push eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 8]
call eax
add esp, 0xc
test eax, eax
jne 0x1011b4e5
mov ebx, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x40], ebx
jmp 0x1011b3d2
push dword [ebp + 0x10]
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x48]
push eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 8]
call eax
add esp, 0xc
test eax, eax
jne 0x1011b4e5
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
cmp esi, ecx
jb 0x1011b2c0
push dword [ebp + 0x10]
lea eax, [esp + 0x3c]
push eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
call eax
add esp, 8
test eax, eax
jne 0x1011b4e5
mov esi, dword [ebp + 8]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
inc edx
mov ebx, dword [esp + 0x18]
inc ecx
movsx eax, word [esi]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x30], edx
cmp edx, eax
jl 0x1011b1a0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x64]
push eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0xc]
call eax
add esp, 0x10
jmp 0x1011b4bb
push dword [ebp + 0x10]
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x48]
push eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 8]
call eax
add esp, 0xc
jmp 0x1011b4bb