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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb8
mov edi, ecx
mov byte [esp], dl
mov ebx, eax
cmp byte [ebx + 0x341], 0
je 0x60d17b
movzx eax, byte [ebx + 0x342]
cmp al, byte [esp]
je 0x60d17f
xor eax, eax
jmp 0x60d181
mov al, 1
mov byte [esp + 1], al
mov eax, ebx
call fcn.0054235c
mov esi, eax
call sub.user32.dll_GetFocus
cmp esi, eax
jne 0x60d1a3
movzx eax, byte [ebx + 0x378]
cmp al, byte [esp]
je 0x60d1a7
xor eax, eax
jmp 0x60d1a9
mov al, 1
mov byte [esp + 2], al
mov byte [esp + 4], 0
mov esi, dword [ebx + 0x2a0]
call fcn.00593d28
mov ebp, eax
mov eax, ebp
mov edx, dword [eax]
call dword [edx + 0x4c]
test al, al
je 0x60d409
mov eax, dword [ebx + 0x5c]
push eax
lea eax, [esp + 0x24]
push eax
mov ecx, dword [ebx + 0x354]
add ecx, edi
xor edx, edx
mov eax, edi
call fcn.00412f90
cmp byte [esp + 1], 0
je 0x60d209
call fcn.00593d28
mov dword [esp + 8], eax
lea ecx, [esp + 0x30]
mov dl, 4
mov eax, dword [esp + 8]
mov ebp, dword [eax]
call dword [ebp + 0x64]
jmp 0x60d267
cmp byte [esp + 2], 0
je 0x60d22a
call fcn.00593d28
mov dword [esp + 0xc], eax
lea ecx, [esp + 0x30]
mov dl, 6
mov eax, dword [esp + 0xc]
mov ebp, dword [eax]
call dword [ebp + 0x64]
jmp 0x60d267
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x78]
test al, al
je 0x60d24f
call fcn.00593d28
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x30]
mov dl, 2
mov eax, dword [esp + 0x10]
mov ebp, dword [eax]
call dword [ebp + 0x64]
jmp 0x60d267
call fcn.00593d28
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x30]
mov dl, 5
mov eax, dword [esp + 0x14]
mov ebp, dword [eax]
call dword [ebp + 0x64]
mov eax, dword [esi + 0x48]
xor edx, edx
call fcn.0050e648
call fcn.00593d28
mov ebp, eax
mov edx, 0xff00000f
mov eax, ebp
call fcn.0058e3d8
mov edx, eax
mov eax, dword [esi + 0x48]
call fcn.0050e4d8
lea edx, [esp + 0x20]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x54]
call fcn.00593d44
test al, al
je 0x60d2b1
lea eax, [esp + 0x20]
or ecx, 0xffffffff
or edx, 0xffffffff
call fcn.004130cc
call fcn.00593d28
mov ebp, eax
lea eax, [esp + 0x20]
push eax
push 0
push 0
mov eax, esi
call fcn.0050f6ec
mov edx, eax
lea ecx, [esp + 0x3c]
mov eax, ebp
call fcn.0058e060
call fcn.00593d44
test al, al
je 0x60d52c
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x78]
test al, al
je 0x60d3a5
cmp byte [ebx + 0x3b4], 0
je 0x60d351
movzx eax, byte [esp]
mov edx, eax
add edx, edx
cmp byte [ebx + edx*8 + 0x2ab], 0
je 0x60d344
cmp byte [esp + 1], 0
je 0x60d323
movzx eax, byte [eax + 0x630bfa]
mov byte [esp + 3], al
jmp 0x60d3b4
cmp byte [esp + 2], 0
je 0x60d337
movzx eax, byte [eax + 0x630bf1]
mov byte [esp + 3], al
jmp 0x60d3b4
movzx eax, byte [eax + 0x630be8]
mov byte [esp + 3], al
jmp 0x60d3b4
movzx eax, byte [eax + 0x630c03]
mov byte [esp + 3], al
jmp 0x60d3b4
movzx eax, byte [esp]
mov edx, eax
add edx, edx
cmp byte [ebx + edx*8 + 0x2a9], 0
je 0x60d398
cmp byte [esp + 1], 0
je 0x60d377
movzx eax, byte [eax + 0x630bfa]
mov byte [esp + 3], al
jmp 0x60d3b4
cmp byte [esp + 2], 0
je 0x60d38b
movzx eax, byte [eax + 0x630bf1]
mov byte [esp + 3], al
jmp 0x60d3b4
movzx eax, byte [eax + 0x630be8]
mov byte [esp + 3], al
jmp 0x60d3b4
movzx eax, byte [eax + 0x630c03]
mov byte [esp + 3], al
jmp 0x60d3b4
movzx eax, byte [esp]
movzx eax, byte [eax + 0x630c03]
mov byte [esp + 3], al
call fcn.00593d28
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x2a0]
call fcn.0050f6ec
mov esi, eax
call fcn.00593d28
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x20]
push eax
push 0
push 0
movzx edx, byte [esp + 0xf]
lea ecx, [esp + 0x48]
mov eax, dword [esp + 0x28]
mov ebp, dword [eax]
call dword [ebp + 0x84]
lea ecx, [esp + 0x48]
mov edx, esi
mov eax, dword [esp + 0x24]
call fcn.0058e060
mov byte [esp + 4], al
jmp 0x60d52c
mov eax, dword [esi + 0x48]
xor edx, edx
call fcn.0050e648
mov eax, dword [esi + 0x48]
mov edx, 0xff00000f
call fcn.0050e4d8
mov eax, dword [esi + 0x44]
mov edx, 0xff000006
call fcn.0050e104
mov eax, dword [esi + 0x44]
mov edx, 1
call fcn.0050e258
mov eax, dword [ebx + 0x354]
add eax, edi
push eax
mov eax, dword [ebx + 0x5c]
push eax
xor ecx, ecx
mov edx, edi
mov eax, esi
mov ebp, dword [eax]
call dword [ebp + 0x7c]
cmp byte [esp + 1], 0
je 0x60d49f
mov eax, dword [esi + 0x44]
mov edx, 0xff000010
call fcn.0050e104
mov ecx, dword [ebx + 0x5c]
sub ecx, 2
lea edx, [edi + 1]
mov eax, esi
mov ebp, dword [eax]
call dword [ebp + 0x64]
lea edx, [edi + 1]
mov ecx, 1
mov eax, esi
mov ebp, dword [eax]
call dword [ebp + 0x60]
mov edx, dword [ebx + 0x354]
add edx, edi
dec edx
mov ecx, 1
mov eax, esi
mov esi, dword [eax]
call dword [esi + 0x60]
jmp 0x60d52c
mov eax, dword [esi + 0x44]
mov edx, 0xff000014
call fcn.0050e104
mov ecx, dword [ebx + 0x5c]
sub ecx, 2
lea edx, [edi + 1]
mov eax, esi
mov ebp, dword [eax]
call dword [ebp + 0x64]
lea edx, [edi + 1]
mov ecx, 1
mov eax, esi
mov ebp, dword [eax]
call dword [ebp + 0x60]
mov edx, dword [ebx + 0x354]
add edx, edi
dec edx
mov ecx, 1
mov eax, esi
mov ebp, dword [eax]
call dword [ebp + 0x60]
mov eax, dword [esi + 0x44]
mov edx, 0xff000010
call fcn.0050e104
mov ecx, dword [ebx + 0x5c]
sub ecx, 2
lea edx, [edi + 2]
mov eax, esi
mov ebp, dword [eax]
call dword [ebp + 0x64]
mov ecx, dword [ebx + 0x5c]
sub ecx, 2
mov edx, dword [ebx + 0x354]
add edx, edi
sub edx, 2
mov eax, esi
mov ebp, dword [eax]
call dword [ebp + 0x60]
mov edx, dword [ebx + 0x354]
add edx, edi
sub edx, 2
mov ecx, 1
mov eax, esi
mov esi, dword [eax]
call dword [esi + 0x60]
cmp byte [esp + 4], 0
jne 0x60d60b
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x78]
test al, al
jne 0x60d548
test byte [ebx + 0x1c], 0x10
je 0x60d5a3
cmp byte [ebx + 0x3b4], 0
je 0x60d57d
test byte [ebx + 0x1c], 0x10
jne 0x60d57d
movzx eax, byte [esp]
mov edx, eax
add edx, edx
cmp byte [ebx + edx*8 + 0x2ab], 0
je 0x60d579
xor eax, eax
cmp byte [ebx + edx*8 + 0x2aa], 0
je 0x60d5a5
mov al, 2
jmp 0x60d5a5
mov al, 1
jmp 0x60d5a5
movzx eax, byte [esp]
mov edx, eax
add edx, edx
cmp byte [ebx + edx*8 + 0x2a9], 0
je 0x60d59f
xor eax, eax
cmp byte [ebx + edx*8 + 0x2aa], 0
je 0x60d5a5
mov al, 2
jmp 0x60d5a5
mov al, 1
jmp 0x60d5a5
mov al, 1
movzx edx, byte [esp]
add edx, edx
lea edx, [ebx + edx*8]
and eax, 0x7f
mov esi, dword [edx + eax*4 + 0x2ac]
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x30]
sar eax, 1
jns 0x60d5c6
adc eax, 0
mov ebp, dword [ebx + 0x354]
sar ebp, 1
jns 0x60d5d3
adc ebp, 0
sub ebp, eax
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x24]
sar eax, 1
jns 0x60d5e3
adc eax, 0
push eax
mov eax, dword [ebx + 0x5c]
sar eax, 1
jns 0x60d5ee
adc eax, 0
pop edx
sub eax, edx
cmp byte [esp + 1], 0
je 0x60d5fa
inc ebp
inc eax
push esi
lea edx, [ebp + edi]
mov ecx, dword [ebx + 0x2a0]
xchg ecx, eax
mov esi, dword [eax]
call dword [esi + 0x44]
call fcn.00593d44
xor al, 1
and al, byte [esp + 2]
je 0x60d673
mov eax, dword [ebx + 0x5c]
push eax
lea eax, [esp + 0x24]
push eax
mov ecx, dword [ebx + 0x354]
xor edx, edx
mov eax, edi
call fcn.00413108
lea eax, [esp + 0x20]
mov ecx, 0xfffffffd
mov edx, 0xfffffffd
call fcn.004130cc
cmp byte [esp + 1], 0
je 0x60d65d
lea eax, [esp + 0x20]
mov ecx, 1
mov edx, 1
call fcn.004130f0
lea eax, [esp + 0x20]
push eax
mov eax, dword [ebx + 0x2a0]
call fcn.0050f6ec
push eax
call sub.user32.dll_DrawFocusRect
add esp, 0x48
pop ebp
pop edi
pop esi
pop ebx
ret