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

Disassembly:
mov eax, 0x5d7f0f
call fcn.00576f1c
sub esp, 0x1c
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
push edi
push 0x3c
mov dword [esi + 0x70], eax
call fcn.0058ecf8
pop ecx
mov dword [ebp + 8], eax
and dword [ebp - 4], 0
test eax, eax
je 0x5b3b59
mov ecx, eax
call fcn.005b3673
jmp 0x5b3b5b
xor eax, eax
mov dword [esi + 0x114], eax
mov eax, dword [eax]
or dword [ebp - 4], 0xffffffff
push 1
mov dword [eax + 0x3c], 0x7009
mov eax, dword [esi + 0x114]
pop edi
mov eax, dword [eax]
push 0x40
mov eax, dword [eax + 0x5c]
or dword [eax + 0x14], 0x40
mov eax, dword [esi + 0x114]
mov eax, dword [eax]
mov eax, dword [eax + 0x5c]
and byte [eax + 0x15], 0xfe
mov eax, dword [esi + 0x114]
mov dword [eax + 8], edi
call fcn.0058ecf8
pop ecx
mov dword [ebp + 8], eax
test eax, eax
mov dword [ebp - 4], edi
je 0x5b3bb3
mov ecx, eax
call fcn.005b51ca
jmp 0x5b3bb5
xor eax, eax
mov ecx, dword [esi + 0x70]
push dword [esi + 0x114]
or dword [ebp - 4], 0xffffffff
mov dword [esi + 0x74], eax
mov eax, dword [ecx]
call dword [eax + 0xf4]
test eax, eax
je 0x5b3d59
mov eax, dword [esi + 0x114]
push ebx
lea ebx, [esi + 0x78]
mov eax, dword [eax]
mov ecx, ebx
mov eax, dword [eax + 0x5c]
push dword [eax + 0x10]
call fcn.0059699d
mov edx, dword [esi + 0x114]
mov ecx, dword [esi + 0x74]
mov edx, dword [edx]
mov eax, dword [ecx]
mov edx, dword [edx + 0x5c]
push dword [edx + 0x10]
call dword [eax + 0xc]
mov eax, dword [esi + 0x74]
mov ecx, ebx
mov dword [eax + 0xc], edi
mov eax, dword [ebx]
mov dword [esi + 0x84], edi
call dword [eax + 0x1c]
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [esi + 0x74]
push eax
mov dword [ebp + 8], eax
mov edx, dword [ecx]
call dword [edx + 0x10]
mov ecx, dword [esi + 0x70]
push dword [esi + 0x114]
mov eax, dword [ecx]
push dword [esi + 0x74]
call dword [eax + 0xf8]
mov ecx, dword [esi + 0x74]
mov eax, dword [ecx]
call dword [eax + 0x18]
push dword [ebp + 8]
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [ebx]
push 0xffffffffffffffff
mov ecx, ebx
call dword [eax + 0x20]
lea ebx, [esi + 0x80]
push 0x58
push dword [ebx]
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x5a
mov dword [esi + 0x104], eax
push dword [ebx]
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [esi + 0x108], eax
mov eax, dword [esi + 0x114]
xor ebx, ebx
mov eax, dword [eax + 0x18]
cmp eax, ebx
mov dword [esi + 0xf8], eax
jne 0x5b3ca0
mov dword [esi + 0xf8], edi
jmp 0x5b3cb0
mov ecx, dword [esi + 0xf0]
cmp eax, ecx
jbe 0x5b3cb0
mov dword [esi + 0xf8], ecx
mov eax, dword [esi + 0xf8]
mov ecx, edi
mov dword [esi + 0xe8], eax
mov eax, 0x5f5b28
push eax
push eax
push edi
push ecx
push edi
mov ecx, esi
call fcn.0059a2d8
mov eax, dword [esi + 0x114]
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x5c]
mov dx, word [ecx + 0x1e]
cmp dx, 0x8000
jae 0x5b3d3a
movzx ecx, word [ecx + 0x1c]
movzx edx, dx
sub edx, ecx
cmp edx, 0x7fff
ja 0x5b3d3a
mov dword [ebp - 0x24], 3
mov ecx, dword [eax]
push ebx
mov ecx, dword [ecx + 0x5c]
movzx ecx, word [ecx + 0x1c]
mov dword [ebp - 0x20], ecx
mov eax, dword [eax]
mov ecx, esi
mov eax, dword [eax + 0x5c]
movzx eax, word [eax + 0x1e]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x28]
push eax
push edi
mov dword [ebp - 0x18], edi
call fcn.005915cf
test eax, eax
jne 0x5b3d45
push ebx
mov ecx, esi
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push edi
call fcn.00591529
jmp 0x5b3d45
push ebx
push edi
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_ShowScrollBar]
mov eax, dword [esi + 0x114]
push edi
mov ecx, esi
push dword [eax + 0x14]
call fcn.005b49fb
mov eax, edi
pop ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4