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

Disassembly:
mov eax, dword [esp + 8]
push esi
mov esi, ecx
mov ecx, dword [esp + 0x14]
cmp ecx, eax
jle 0x47e308
mov edx, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x1c]
cmp edi, edx
jle 0x47e307
push ebx
mov ebx, dword [esp + 0x40]
push ebp
push ebx
mov ebx, dword [esp + 0x38]
push ebx
mov ebx, dword [esp + 0x38]
push ebx
mov ebx, dword [esp + 0x38]
push ebx
mov bl, byte [esp + 0x38]
push edi
push ecx
push edx
call fcn.0047dac0
mov ebx, dword [sym.imp.USER32.dll_IsRectEmpty]
lea ebp, [esi + 0x64]
push ebp
call ebx
test eax, eax
jne 0x47df88
cmp byte [esp + 0x28], al
je 0x47df85
mov eax, dword [ebp]
mov dword [esp + 0x20], eax
jmp 0x47df88
mov edi, dword [esi + 0x68]
mov eax, dword [esi + 8]
cmp eax, 1
mov ebp, dword [esp + 0x14]
jne 0x47dfc4
movzx eax, byte [esi + 0x76]
push eax
movzx eax, byte [esi + 0x75]
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx]
push eax
movzx eax, byte [esi + 0x74]
mov edx, dword [edx + 0x24]
push eax
mov eax, dword [esp + 0x2c]
push 1
push 2
push edi
push eax
mov eax, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x38]
push eax
push ebp
call edx
jmp 0x47dff7
cmp eax, 2
jne 0x47dff7
movzx edx, byte [esi + 0x76]
push edx
movzx edx, byte [esi + 0x75]
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
push edx
movzx edx, byte [esi + 0x74]
mov eax, dword [eax + 0x24]
push edx
mov edx, dword [esp + 0x2c]
push 2
push 2
push edi
push edx
mov edx, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x38]
push edx
push ebp
call eax
lea edi, [esi + 0x14]
push edi
call ebx
test eax, eax
jne 0x47e039
cmp byte [esp + 0x28], al
mov eax, str.Left
jne 0x47e011
mov eax, 0x5306d0
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx]
push 0
push 1
mov edx, dword [edx + 0x24]
push 0
push 1
push eax
mov eax, dword [esp + 0x4c]
push eax
mov eax, dword [esi + 0x20]
push eax
mov eax, dword [esi + 0x1c]
push eax
mov eax, dword [esi + 0x18]
push eax
mov eax, dword [edi]
push eax
push ebp
call edx
lea edi, [esi + 0x54]
push edi
call ebx
test eax, eax
jne 0x47e07b
cmp byte [esp + 0x28], al
mov eax, str.Right
jne 0x47e053
mov eax, str.Down
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx]
push 0
push 1
mov edx, dword [edx + 0x24]
push 0
push 1
push eax
mov eax, dword [esp + 0x54]
push eax
mov eax, dword [esi + 0x60]
push eax
mov eax, dword [esi + 0x5c]
push eax
mov eax, dword [esi + 0x58]
push eax
mov eax, dword [edi]
push eax
push ebp
call edx
lea edi, [esi + 0x34]
push edi
call ebx
test eax, eax
jne 0x47e1da
cmp byte [esp + 0x28], al
mov eax, str.ThumbLineV
jne 0x47e099
mov eax, str.ThumbLineH
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx]
push 0
push 1
mov edx, dword [edx + 0x24]
push 0
push 1
push eax
mov eax, dword [esp + 0x50]
push eax
mov eax, dword [esi + 0x40]
push eax
mov eax, dword [esi + 0x3c]
push eax
mov eax, dword [esi + 0x38]
push eax
mov eax, dword [edi]
push eax
push ebp
call edx
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 8]
sub eax, dword [edi + 4]
sub ecx, dword [edi]
cmp byte [esp + 0x28], 0
je 0x47e150
add eax, eax
cmp ecx, eax
jle 0x47e1da
movzx ebx, byte [esi + 0x76]
push ebx
movzx ebx, byte [esi + 0x75]
mov eax, dword [edi]
push ebx
movzx ebx, byte [esi + 0x74]
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx]
push ebx
mov ebx, dword [esi + 0x40]
push str.Left
sub ebx, 2
push ebx
mov ebx, dword [edi + 0xc]
sub ebx, dword [edi + 4]
lea ebx, [ebx + eax - 2]
push ebx
mov ebx, dword [esi + 0x38]
add ebx, 2
push ebx
add eax, 2
push eax
mov eax, dword [edx + 0x4c]
push ebp
call eax
movzx ebx, byte [esi + 0x76]
mov eax, dword [esi + 0x3c]
push ebx
movzx ebx, byte [esi + 0x75]
push ebx
movzx ebx, byte [esi + 0x74]
push ebx
mov ebx, dword [esi + 0x40]
sub ebx, 2
push str.Right
push ebx
lea ebx, [eax - 2]
push ebx
mov ebx, dword [esi + 0x38]
add ebx, 2
push ebx
mov ebx, dword [edi + 4]
sub ebx, dword [edi + 0xc]
lea eax, [ebx + eax + 2]
jmp 0x47e1c8
add ecx, ecx
cmp eax, ecx
jle 0x47e1da
movzx ebx, byte [esi + 0x76]
mov eax, dword [esi + 0x38]
push ebx
movzx ebx, byte [esi + 0x75]
push ebx
movzx ebx, byte [esi + 0x74]
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx]
push ebx
mov ebx, dword [edi + 8]
sub ebx, dword [edi]
mov edx, dword [edx + 0x4c]
lea ebx, [ebx + eax - 2]
push 0x5306d0
push ebx
mov ebx, dword [esi + 0x3c]
add eax, 2
sub ebx, 2
push ebx
push eax
mov eax, dword [edi]
add eax, 2
push eax
push ebp
call edx
movzx ebx, byte [esi + 0x76]
mov eax, dword [esi + 0x40]
push ebx
movzx ebx, byte [esi + 0x75]
push ebx
movzx ebx, byte [esi + 0x74]
push ebx
lea ebx, [eax - 2]
sub eax, dword [edi + 8]
push str.Down
push ebx
mov ebx, dword [esi + 0x3c]
sub ebx, 2
push ebx
mov ebx, dword [edi]
lea eax, [eax + ebx + 2]
push eax
mov eax, ebx
add eax, 2
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx]
mov edx, dword [edx + 0x4c]
push eax
push ebp
call edx
mov ebx, dword [sym.imp.USER32.dll_IsRectEmpty]
lea edi, [esi + 0x24]
push edi
call ebx
test eax, eax
mov bl, byte [esp + 0x54]
jne 0x47e267
cmp byte [esp + 0x28], 0
je 0x47e227
cmp byte [esp + 0x48], 0
je 0x47e20a
movzx ecx, byte [esp + 0x4c]
xor eax, eax
mov ah, bl
mov al, byte [esp + 0x50]
shl eax, 8
or eax, ecx
jmp 0x47e20d
mov eax, dword [esi + 0x78]
mov edx, dword [edi + 0xc]
sub edx, dword [edi + 4]
mov ecx, dword [esi + 0x28]
push eax
mov eax, dword [edi + 8]
sub eax, dword [edi]
sub edx, 2
push edx
mov edx, dword [edi]
add ecx, 1
jmp 0x47e25d
cmp byte [esp + 0x48], 0
je 0x47e242
movzx ecx, byte [esp + 0x4c]
xor eax, eax
mov ah, bl
mov al, byte [esp + 0x50]
shl eax, 8
or eax, ecx
jmp 0x47e245
mov eax, dword [esi + 0x78]
mov edx, dword [edi + 0xc]
sub edx, dword [edi + 4]
mov ecx, dword [esi + 0x28]
push eax
mov eax, dword [edi + 8]
sub eax, dword [edi]
push edx
mov edx, dword [edi]
sub eax, 2
add edx, 1
push eax
push ecx
push edx
mov ecx, ebp
call fcn.004a6d9b
lea edi, [esi + 0x44]
push edi
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x47e305
cmp byte [esp + 0x28], al
je 0x47e2c5
cmp byte [esp + 0x48], al
je 0x47e299
movzx ecx, byte [esp + 0x4c]
xor eax, eax
mov ah, bl
mov al, byte [esp + 0x50]
shl eax, 8
or eax, ecx
jmp 0x47e29c
mov eax, dword [esi + 0x78]
mov edx, dword [edi + 0xc]
sub edx, dword [edi + 4]
mov ecx, dword [esi + 0x48]
push eax
mov eax, dword [edi + 8]
sub eax, dword [edi]
sub edx, 2
push edx
mov edx, dword [edi]
add ecx, 1
push eax
push ecx
push edx
mov ecx, ebp
call fcn.004a6d9b
pop ebp
pop ebx
pop edi
pop esi
ret 0x44
cmp byte [esp + 0x48], 0
je 0x47e2e0
movzx ecx, byte [esp + 0x4c]
xor eax, eax
mov ah, bl
mov al, byte [esp + 0x50]
shl eax, 8
or eax, ecx
jmp 0x47e2e3
mov eax, dword [esi + 0x78]
mov edx, dword [edi + 0xc]
sub edx, dword [edi + 4]
mov ecx, dword [esi + 0x48]
push eax
mov eax, dword [edi + 8]
sub eax, dword [edi]
push edx
mov edx, dword [edi]
sub eax, 2
push eax
push ecx
add edx, 1
push edx
mov ecx, ebp
call fcn.004a6d9b
pop ebp
pop ebx
pop edi
pop esi
ret 0x44