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

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0x14]
mov ebx, ecx
cmp esi, dword [ebp + 0xc]
jle 0x4b0537
push edi
mov edi, dword [ebp + 0x18]
cmp edi, dword [ebp + 0x10]
jle 0x4b0536
call fcn.0042bb70
push dword [ebp + 0x38]
mov ecx, ebx
mov dword [ebp + 0x14], eax
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push edi
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.004afcb0
lea edi, [ebx + 0x64]
push edi
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x4b01b3
cmp byte [ebp + 0x1c], al
je 0x4b01ad
mov esi, dword [edi]
jmp 0x4b01b3
mov eax, dword [ebx + 0x68]
mov dword [ebp + 0x18], eax
mov eax, dword [ebx + 8]
mov edi, dword [ebp + 8]
cmp eax, 1
jne 0x4b01d1
movzx eax, byte [ebx + 0x76]
push eax
movzx eax, byte [ebx + 0x75]
push eax
movzx eax, byte [ebx + 0x74]
push eax
push 1
jmp 0x4b01e7
cmp eax, 2
jne 0x4b01fc
movzx eax, byte [ebx + 0x76]
push eax
movzx eax, byte [ebx + 0x75]
push eax
movzx eax, byte [ebx + 0x74]
push eax
push 2
mov ecx, dword [ebx + 0x10]
push 2
push dword [ebp + 0x18]
mov edx, dword [ecx]
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [edx + 0x24]
mov esi, dword [sym.imp.USER32.dll_IsRectEmpty]
lea eax, [ebx + 0x14]
push eax
call esi
test eax, eax
jne 0x4b0240
cmp byte [ebp + 0x1c], 0
mov ecx, dword [ebx + 0xc]
push eax
push eax
push 1
mov edx, dword [ecx]
push eax
push 1
mov eax, str.Left
mov dword [ebp + 0x18], 0x5cf534
cmove eax, dword [ebp + 0x18]
push eax
push dword [ebp + 0x2c]
push dword [ebx + 0x20]
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
push dword [ebx + 0x14]
push edi
call dword [edx + 0x24]
lea eax, [ebx + 0x54]
push eax
call esi
test eax, eax
jne 0x4b027b
cmp byte [ebp + 0x1c], 0
mov esi, str.Down
mov ecx, dword [ebx + 0xc]
push eax
push eax
push 1
mov edx, dword [ecx]
push eax
push 1
mov eax, str.Right
cmove eax, esi
push eax
push dword [ebp + 0x34]
push dword [ebx + 0x60]
push dword [ebx + 0x5c]
push dword [ebx + 0x58]
push dword [ebx + 0x54]
push edi
call dword [edx + 0x24]
lea esi, [ebx + 0x34]
push esi
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x4b03d8
cmp byte [ebp + 0x1c], 0
mov ecx, dword [ebx + 0xc]
push eax
push eax
push 1
mov edx, dword [ecx]
push eax
push 1
mov eax, str.ThumbLineV
mov dword [ebp + 0x18], str.ThumbLineH
cmove eax, dword [ebp + 0x18]
push eax
push dword [ebp + 0x30]
push dword [ebx + 0x40]
push dword [ebx + 0x3c]
push dword [ebx + 0x38]
push dword [esi]
push edi
call dword [edx + 0x24]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 8]
sub ecx, dword [esi + 4]
sub eax, dword [esi]
cmp byte [ebp + 0x1c], 0
je 0x4b034e
add ecx, ecx
cmp eax, ecx
jle 0x4b03d8
movzx eax, byte [ebx + 0x76]
mov edi, dword [ebp + 0x14]
push eax
movzx eax, byte [ebx + 0x75]
add edi, edi
mov edx, dword [esi]
push eax
movzx eax, byte [ebx + 0x74]
mov ecx, dword [ebx + 0xc]
push eax
mov eax, dword [ebx + 0x40]
sub eax, edi
mov esi, dword [ecx]
push str.Left
push eax
mov eax, dword [ebx + 0x40]
sub eax, dword [ebx + 0x38]
sub eax, edi
add eax, edx
push eax
mov eax, dword [ebx + 0x38]
add eax, edi
push eax
lea eax, [edx + edi]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [esi + 0x70]
movzx eax, byte [ebx + 0x76]
push eax
movzx eax, byte [ebx + 0x75]
push eax
movzx eax, byte [ebx + 0x74]
push eax
mov eax, dword [ebx + 0x40]
sub eax, edi
push str.Right
push eax
mov eax, dword [ebx + 0x3c]
sub eax, edi
push eax
mov eax, dword [ebx + 0x38]
add eax, edi
push eax
mov eax, dword [ebx + 0x38]
sub eax, dword [ebx + 0x40]
add eax, dword [ebx + 0x3c]
jmp 0x4b03c9
add eax, eax
cmp ecx, eax
jle 0x4b03d8
movzx eax, byte [ebx + 0x76]
mov edi, dword [ebp + 0x14]
mov edx, dword [ebx + 0x38]
add edi, edi
push eax
movzx eax, byte [ebx + 0x75]
push eax
movzx eax, byte [ebx + 0x74]
mov ecx, dword [ebx + 0xc]
push eax
mov eax, dword [ebx + 0x3c]
sub eax, edi
sub eax, dword [ebx + 0x34]
mov esi, dword [ecx]
add eax, edx
push 0x5cf534
push eax
mov eax, dword [ebx + 0x3c]
sub eax, edi
push eax
lea eax, [edx + edi]
push eax
mov eax, dword [ebx + 0x34]
add eax, edi
push eax
mov eax, dword [ebp + 8]
push eax
call dword [esi + 0x70]
movzx eax, byte [ebx + 0x76]
mov edx, dword [ebx + 0x40]
push eax
movzx eax, byte [ebx + 0x75]
push eax
movzx eax, byte [ebx + 0x74]
push eax
mov eax, edx
sub edx, dword [ebx + 0x3c]
sub eax, edi
add edx, edi
push str.Down
push eax
mov eax, dword [ebx + 0x3c]
sub eax, edi
add edx, dword [ebx + 0x34]
push eax
mov eax, dword [ebx + 0x34]
push edx
mov ecx, dword [ebx + 0xc]
add eax, edi
mov edi, dword [ebp + 8]
push eax
push edi
mov esi, dword [ecx]
call dword [esi + 0x70]
lea esi, [ebx + 0x24]
push esi
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x4b0481
cmp byte [ebp + 0x1c], al
je 0x4b0435
cmp byte [ebp + 0x3c], al
je 0x4b0412
mov eax, dword [ebp + 0x48]
movzx ecx, al
mov eax, dword [ebp + 0x44]
shl ecx, 8
movzx eax, al
or ecx, eax
mov eax, dword [ebp + 0x40]
shl ecx, 8
movzx eax, al
or ecx, eax
jmp 0x4b0415
mov ecx, dword [ebx + 0x78]
mov edx, dword [ebp + 0x14]
push ecx
mov ecx, dword [esi + 0xc]
sub ecx, dword [esi + 4]
lea eax, [edx + edx]
sub ecx, eax
mov eax, dword [esi + 8]
sub eax, dword [esi]
push ecx
push eax
mov eax, dword [ebx + 0x28]
add eax, edx
push eax
push dword [esi]
jmp 0x4b047a
cmp byte [ebp + 0x3c], 0
je 0x4b0459
mov eax, dword [ebp + 0x48]
movzx ecx, al
mov eax, dword [ebp + 0x44]
shl ecx, 8
movzx eax, al
or ecx, eax
mov eax, dword [ebp + 0x40]
shl ecx, 8
movzx eax, al
or ecx, eax
jmp 0x4b045c
mov ecx, dword [ebx + 0x78]
mov edx, dword [ebp + 0x14]
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 4]
push ecx
mov ecx, dword [esi + 8]
push eax
lea eax, [edx + edx]
sub ecx, eax
mov eax, dword [esi]
sub ecx, dword [esi]
add eax, edx
push ecx
push dword [ebx + 0x28]
push eax
mov ecx, edi
call fcn.004fd431
lea esi, [ebx + 0x44]
push esi
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x4b0536
cmp byte [ebp + 0x1c], al
je 0x4b04ea
cmp byte [ebp + 0x3c], al
je 0x4b04bb
mov eax, dword [ebp + 0x48]
movzx ecx, al
mov eax, dword [ebp + 0x44]
shl ecx, 8
movzx eax, al
or ecx, eax
mov eax, dword [ebp + 0x40]
shl ecx, 8
movzx eax, al
or ecx, eax
jmp 0x4b04be
mov ecx, dword [ebx + 0x78]
mov edx, dword [esi + 0xc]
sub edx, dword [esi + 4]
push ecx
mov ecx, dword [ebp + 0x14]
lea eax, [ecx + ecx]
sub edx, eax
mov eax, dword [esi + 8]
sub eax, dword [esi]
push edx
push eax
mov eax, dword [ebx + 0x48]
add eax, ecx
mov ecx, edi
push eax
push dword [esi]
call fcn.004fd431
pop edi
pop esi
pop ebx
pop ebp
ret 0x44
cmp byte [ebp + 0x3c], 0
je 0x4b050e
mov eax, dword [ebp + 0x48]
movzx ecx, al
mov eax, dword [ebp + 0x44]
shl ecx, 8
movzx eax, al
or ecx, eax
mov eax, dword [ebp + 0x40]
shl ecx, 8
movzx eax, al
or ecx, eax
jmp 0x4b0511
mov ecx, dword [ebx + 0x78]
mov edx, dword [ebp + 0x14]
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 4]
push ecx
mov ecx, dword [esi + 8]
push eax
lea eax, [edx + edx]
sub ecx, eax
mov eax, dword [esi]
sub ecx, dword [esi]
add eax, edx
push ecx
push dword [ebx + 0x48]
mov ecx, edi
push eax
call fcn.004fd431
pop edi
pop esi
pop ebx
pop ebp
ret 0x44