Function at 0x514da4
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 0x514fe7
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x20]
call fcn.0052acb0
mov dword [ebp - 0x10], eax
mov eax, ebx
call fcn.00516da8
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.00428ccc
call fcn.00424800
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.00428ccc
call fcn.00424800
push eax
call sub.gdi32.dll_BitBlt
mov edx, dword [ebp + 8]
mov eax, ebx
call fcn.00516074
mov edi, eax
mov edx, esi
mov eax, ebx
call fcn.00515ec4
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.00407340
cmp byte [ebp - 9], 0
jne 0x514e7b
test edi, edi
jle 0x514e7b
lea eax, [ebp - 0x30]
xor ecx, ecx
mov edx, edi
call fcn.004073a0
mov eax, dword [ebx + 0x44]
mov edi, dword [eax + 0xa2a8]
mov edx, edi
mov eax, dword [ebx + 0x44]
call fcn.0053ff18
test al, al
je 0x514eef
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.0040735c
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov edx, 0x60
mov eax, dword [ebx + 0x44]
call fcn.00544418
push eax
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [ebp - 0x5c]
push eax
mov eax, ebx
call fcn.00516da8
inc eax
push eax
mov eax, ebx
call fcn.00516da8
mov edx, eax
inc edx
mov eax, dword [ebp + 0xc]
pop ecx
call fcn.00534608
lea edx, [ebp - 0x5c]
mov cl, 1
mov eax, edi
call fcn.005219d8
push 0
push 1
mov eax, dword [ebp - 0x10]
call fcn.00428ccc
mov edx, eax
mov ecx, esi
mov eax, ebx
call fcn.005145e0
lea eax, [ebp - 8]
push eax
mov eax, dword [esi + 0x30]
call fcn.00404e54
mov ecx, eax
sub ecx, 2
mov edx, 2
mov eax, dword [esi + 0x30]
call fcn.004050b4
mov esi, 0x100015
mov eax, ebx
call fcn.00516dac
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.00428ccc
mov eax, dword [eax + 0xc]
call fcn.004236e4
push eax
mov eax, dword [ebp - 0x10]
call fcn.00428ccc
call fcn.00424800
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.00428ccc
push eax
mov eax, dword [ebp - 8]
call fcn.00405054
mov edx, eax
mov cl, 1
pop eax
call fcn.00525454
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x10]
call fcn.00428ccc
call fcn.00424800
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.00424800
push eax
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x10]
call fcn.0040f0a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x514fee
lea eax, [ebp - 8]
call fcn.00404b94
ret