Function at 0x580a10
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 0x580c53
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x20]
call fcn.0056f990
mov dword [ebp - 0x10], eax
mov eax, ebx
call fcn.00582a14
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.00438268
call fcn.00433af0
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.00438268
call fcn.00433af0
push eax
call sub.gdi32.dll_BitBlt
mov edx, dword [ebp + 8]
mov eax, ebx
call fcn.00581ce0
mov edi, eax
mov edx, esi
mov eax, ebx
call fcn.00581b30
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.00408088
cmp byte [ebp - 9], 0
jne 0x580ae7
test edi, edi
jle 0x580ae7
lea eax, [ebp - 0x30]
xor ecx, ecx
mov edx, edi
call fcn.00408100
mov eax, dword [ebx + 0x44]
mov edi, dword [eax + 0xa2a8]
mov edx, edi
mov eax, dword [ebx + 0x44]
call fcn.0058c518
test al, al
je 0x580b5b
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.004080a4
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov edx, 0x60
mov eax, dword [ebx + 0x44]
call fcn.00590a18
push eax
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [ebp - 0x5c]
push eax
mov eax, ebx
call fcn.00582a14
inc eax
push eax
mov eax, ebx
call fcn.00582a14
mov edx, eax
inc edx
mov eax, dword [ebp + 0xc]
pop ecx
call fcn.0057bc24
lea edx, [ebp - 0x5c]
mov cl, 1
mov eax, edi
call fcn.00565f80
push 0
push 1
mov eax, dword [ebp - 0x10]
call fcn.00438268
mov edx, eax
mov ecx, esi
mov eax, ebx
call fcn.0058024c
lea eax, [ebp - 8]
push eax
mov eax, dword [esi + 0x30]
call fcn.00405afc
mov ecx, eax
sub ecx, 2
mov edx, 2
mov eax, dword [esi + 0x30]
call fcn.00405d5c
mov esi, 0x100015
mov eax, ebx
call fcn.00582a18
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.00438268
mov eax, dword [eax + 0xc]
call fcn.00432784
push eax
mov eax, dword [ebp - 0x10]
call fcn.00438268
call fcn.00433af0
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.00438268
push eax
mov eax, dword [ebp - 8]
call fcn.00405cfc
mov edx, eax
mov cl, 1
pop eax
call fcn.00569a58
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x10]
call fcn.00438268
call fcn.00433af0
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.00433af0
push eax
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x10]
call fcn.004126f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x580c5a
lea eax, [ebp - 8]
call fcn.00405820
ret