Function at 0x588734
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov esi, ecx
lea edi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], edx
mov ebx, eax
mov esi, dword [ebp + 0x10]
xor eax, eax
push ebp
push 0x588977
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x20]
call fcn.0056226c
mov dword [ebp - 0x10], eax
mov eax, ebx
call fcn.0058a5d4
mov edi, eax
push 0xcc0020
mov eax, dword [ebp - 0x1c]
add eax, edi
push eax
add edi, dword [ebp - 0x20]
push edi
mov eax, dword [ebp + 0xc]
call fcn.0042e7d8
call fcn.00429ca0
push eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x2c]
push eax
push 0
push 0
mov eax, dword [ebp - 0x10]
call fcn.0042e7d8
call fcn.00429ca0
push eax
call sub.gdi32.dll_BitBlt
mov edx, dword [ebp + 8]
mov eax, ebx
call fcn.0058999c
mov edi, eax
mov edx, esi
mov eax, ebx
call fcn.00589800
mov byte [ebp - 9], al
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, eax
sub ecx, edi
xor edx, edx
xor eax, eax
call fcn.00406d88
cmp byte [ebp - 9], 0
jne 0x58880b
test edi, edi
jle 0x58880b
lea eax, [ebp - 0x30]
xor ecx, ecx
mov edx, edi
call fcn.00406de8
mov eax, dword [ebx + 0x40]
mov edi, dword [eax + 0x7ac8]
mov edx, edi
mov eax, dword [ebx + 0x40]
call fcn.005931f0
test al, al
je 0x58887f
push 0
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x38]
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x1c]
call fcn.00406da4
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov edx, 0x60
mov eax, dword [ebx + 0x40]
call fcn.0059742c
push eax
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [ebp - 0x5c]
push eax
mov eax, ebx
call fcn.0058a5d4
inc eax
push eax
mov eax, ebx
call fcn.0058a5d4
mov edx, eax
inc edx
mov eax, dword [ebp + 0xc]
pop ecx
call fcn.005ccba4
lea edx, [ebp - 0x5c]
mov cl, 1
mov eax, edi
call fcn.0055a5c8
push 0
push 1
mov eax, dword [ebp - 0x10]
call fcn.0042e7d8
mov edx, eax
mov ecx, esi
mov eax, ebx
call fcn.00587f6c
lea eax, [ebp - 8]
push eax
mov eax, dword [esi + 0x30]
call fcn.00404ab0
mov ecx, eax
sub ecx, 2
mov edx, 2
mov eax, dword [esi + 0x30]
call fcn.00404d10
mov esi, 0x100015
mov eax, ebx
call fcn.0058a5d8
neg eax
sub eax, 2
push eax
push 0
lea eax, [ebp - 0x30]
push eax
call sub.user32.dll_InflateRect
mov eax, dword [ebp - 0x10]
call fcn.0042e7d8
mov eax, dword [eax + 0xc]
call fcn.0042887c
push eax
mov eax, dword [ebp - 0x10]
call fcn.0042e7d8
call fcn.00429ca0
push eax
call sub.gdi32.dll_SelectObject
lea eax, [ebp - 0x30]
push eax
push esi
push edi
push 0
push 0
mov eax, dword [ebp - 0x10]
call fcn.0042e7d8
push eax
mov eax, dword [ebp - 8]
call fcn.00404cb0
mov edx, eax
mov cl, 1
pop eax
call fcn.0055d57c
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x10]
call fcn.0042e7d8
call fcn.00429ca0
push eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x2c]
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 4]
call fcn.00429ca0
push eax
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x10]
call fcn.0040f124
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x58897e
lea eax, [ebp - 8]
call fcn.004047f0
ret