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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff7c
mov byte [esp], dl
mov ebx, eax
lea eax, [esp + 0x24]
push eax
mov eax, ebx
call fcn.004b7904
push eax
call sub.user32.dll_GetWindowRect
cmp dword [0x601304], 0
jne 0x582b9a
mov edx, dword [ebx + 0x4c]
mov eax, dword [ebx + 0x48]
call fcn.0057dfdc
mov dword [0x601304], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0xcc0020
mov eax, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x2c]
push eax
push esi
mov eax, dword [ebx + 0x4c]
push eax
mov eax, dword [ebx + 0x48]
push eax
push 0
push 0
mov eax, dword [0x601304]
call fcn.0045cbac
call fcn.00457314
push eax
call sub.gdi32.dll_BitBlt
push esi
push 0
call sub.user32.dll_ReleaseDC
cmp byte [esp], 2
jne 0x582efb
mov ebp, ebx
mov eax, ebx
call fcn.004b33b8
dec eax
test eax, eax
jl 0x582c45
inc eax
mov dword [esp + 0x20], eax
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.004b337c
mov edx, dword [0x4a63f8]
call fcn.00405288
test al, al
je 0x582c3e
mov edx, esi
mov eax, ebx
call fcn.004b337c
cmp byte [eax + 0x59], 0
je 0x582c3e
mov edx, esi
mov eax, ebx
call fcn.004b337c
cmp byte [eax + 0x5d], 5
jne 0x582c3e
mov edx, esi
mov eax, ebx
call fcn.004b337c
mov ebp, eax
jmp 0x582c45
inc esi
dec dword [esp + 0x20]
jne 0x582bfb
xor eax, eax
mov dword [esp + 4], eax
push 0
mov eax, 0x608b38
mov ecx, 1
mov edx, dword [0x50b48c]
call fcn.00408bb0
add esp, 4
mov eax, ebp
call fcn.004b33b8
dec eax
test eax, eax
jl 0x582d62
inc eax
mov dword [esp + 0x20], eax
xor esi, esi
mov edx, esi
mov eax, ebp
call fcn.004b337c
cmp byte [eax + 0x59], 0
je 0x582d57
inc dword [esp + 4]
mov eax, dword [esp + 4]
push eax
mov eax, 0x608b38
mov ecx, 1
mov edx, dword [0x50b48c]
call fcn.00408bb0
add esp, 4
mov edx, dword [esp + 4]
dec edx
mov eax, ebp
call fcn.004b337c
lea edx, [esp + 0x6c]
call fcn.004ae1c4
mov edi, dword [esp + 4]
add edi, edi
mov eax, dword [0x608b38]
push esi
push edi
lea esi, [esp + 0x74]
lea edi, [eax + edi*8 - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
push 4
push 4
mov eax, dword [0x608b38]
lea eax, [eax + edi*8 - 0x10]
push eax
call sub.user32.dll_InflateRect
mov eax, dword [0x608b38]
cmp dword [eax + edi*8 - 0x10], 0
jge 0x582d0a
mov eax, dword [0x608b38]
xor edx, edx
mov dword [eax + edi*8 - 0x10], edx
mov eax, dword [0x608b38]
cmp dword [eax + edi*8 - 0xc], 0
jge 0x582d21
mov eax, dword [0x608b38]
xor edx, edx
mov dword [eax + edi*8 - 0xc], edx
mov edx, dword [0x608b38]
mov edx, dword [edx + edi*8 - 8]
mov eax, dword [ebp + 0x48]
cmp edx, eax
jle 0x582d3c
mov edx, dword [0x608b38]
mov dword [edx + edi*8 - 8], eax
mov edx, dword [0x608b38]
mov edx, dword [edx + edi*8 - 4]
mov eax, dword [ebp + 0x4c]
cmp edx, eax
jle 0x582d57
mov edx, dword [0x608b38]
mov dword [edx + edi*8 - 4], eax
inc esi
dec dword [esp + 0x20]
jne 0x582c7c
cmp dword [0x601308], 0
jne 0x582d7a
mov eax, dword [0x601304]
call fcn.0057de6c
mov dword [0x601308], eax
mov eax, dword [0x601308]
call fcn.0045cbac
call fcn.00457314
push eax
call sub.gdi32.dll_SaveDC
mov esi, eax
mov eax, dword [0x601308]
call fcn.0045cbac
call fcn.00456324
mov eax, dword [0x601308]
call fcn.0045cbac
call fcn.00457314
mov dword [esp + 0x68], eax
mov eax, dword [ebx + 0x4c]
push eax
lea eax, [esp + 0x70]
push eax
mov ecx, dword [ebx + 0x48]
xor edx, edx
xor eax, eax
call fcn.0040b00c
push esi
lea esi, [esp + 0x70]
lea edi, [esp + 0x48]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
lea ecx, [esp + 0x7c]
xor edx, edx
xor eax, eax
call fcn.0040b03c
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x40], eax
mov byte [esp + 0x64], 0
mov eax, ebx
call fcn.004b7904
mov edx, eax
lea eax, [esp + 0x34]
mov cl, 1
call fcn.0057500c
mov eax, dword [0x601308]
call fcn.0045cbac
call fcn.00456428
push esi
mov eax, dword [0x601308]
call fcn.0045cbac
call fcn.00457314
push eax
call sub.gdi32.dll_RestoreDC
lea ecx, [esp + 0x18]
lea edx, [esp + 8]
mov eax, dword [0x601308]
call fcn.0057436c
test al, al
je 0x582efb
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x10]
mov eax, dword [0x601304]
call fcn.0057436c
test al, al
je 0x582efb
mov eax, dword [0x601308]
mov edx, dword [eax]
call dword [edx + 0x24]
dec eax
test eax, eax
jl 0x582efb
inc eax
mov dword [esp + 0x20], eax
mov dword [esp + 4], 0
mov eax, dword [esp + 0x1c]
imul dword [esp + 4]
add eax, dword [esp + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
imul dword [esp + 4]
add eax, dword [esp + 8]
mov dword [esp + 0xc], eax
mov eax, dword [0x601308]
mov edx, dword [eax]
call dword [edx + 0x30]
mov edi, eax
dec edi
test edi, edi
jl 0x582ef1
inc edi
xor esi, esi
mov eax, dword [esp + 0xc]
lea edx, [eax + esi*4]
mov eax, dword [esp + 0x14]
lea eax, [eax + esi*4]
movzx ecx, byte [edx + 2]
cmp cl, byte [eax + 2]
jne 0x582ee9
movzx ecx, byte [edx + 1]
cmp cl, byte [eax + 1]
jne 0x582ee9
movzx edx, byte [edx]
cmp dl, byte [eax]
jne 0x582ee9
xor edx, edx
mov dword [eax], edx
jmp 0x582eed
mov byte [eax + 3], 0xff
inc esi
dec edi
jne 0x582ebc
inc dword [esp + 4]
dec dword [esp + 0x20]
jne 0x582e88
cmp dword [0x6012f0], 0
jne 0x582f1d
mov ecx, dword [0x60234c]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x57fe88]
call fcn.0058552c
mov dword [0x6012f0], eax
mov eax, dword [ebx + 0x34]
test eax, eax
je 0x582f64
mov edx, eax
mov eax, dword [0x6012f0]
mov ecx, dword [eax]
call dword [ecx + 0x78]
cmp dword [0x6012f0], 0
je 0x582fbf
mov edx, ebx
mov eax, dword [0x6012f0]
call fcn.005808f0
lea edx, [esp + 0x6c]
mov eax, ebx
call fcn.004ae1c4
lea edx, [esp + 0x6c]
mov eax, dword [0x6012f0]
call fcn.004ae1e4
jmp 0x582f72
lea edx, [esp + 0x24]
mov eax, dword [0x6012f0]
call fcn.004ae1e4
mov eax, dword [0x6012f0]
cmp dword [eax + 0x34], 0
jne 0x582fad
mov esi, 0x57
push esi
push 0
push 0
push 0
push 0
push 3
mov eax, ebx
call fcn.004b7904
push eax
call sub.user32.dll_GetWindow
push eax
mov eax, dword [0x6012f0]
call fcn.004b7904
push eax
call sub.user32.dll_SetWindowPos
jmp 0x582fbf
push 8
mov eax, dword [0x6012f0]
call fcn.004b7904
push eax
call sub.user32.dll_ShowWindow
add esp, 0x84
pop ebp
pop edi
pop esi
pop ebx
ret