Function at 0x52d6d8
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 0x52d91b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x20]
call fcn.004d8130
mov dword [ebp - 0x10], eax
mov eax, ebx
call fcn.0052f564
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.004289e8
call fcn.0042451c
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.004289e8
call fcn.0042451c
push eax
call sub.gdi32.dll_BitBlt
mov edx, dword [ebp + 8]
mov eax, ebx
call fcn.0052e930
mov edi, eax
mov edx, esi
mov eax, ebx
call fcn.0052e794
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.00406fc8
cmp byte [ebp - 9], 0
jne 0x52d7af
test edi, edi
jle 0x52d7af
lea eax, [ebp - 0x30]
xor ecx, ecx
mov edx, edi
call fcn.00407028
mov eax, dword [ebx + 0x40]
mov edi, dword [eax + 0x7ac8]
mov edx, edi
mov eax, dword [ebx + 0x40]
call fcn.00537fec
test al, al
je 0x52d823
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.00406fe4
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov edx, 0x60
mov eax, dword [ebx + 0x40]
call fcn.0053c180
push eax
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [ebp - 0x5c]
push eax
mov eax, ebx
call fcn.0052f564
inc eax
push eax
mov eax, ebx
call fcn.0052f564
mov edx, eax
inc edx
mov eax, dword [ebp + 0xc]
pop ecx
call fcn.00529624
lea edx, [ebp - 0x5c]
mov cl, 1
mov eax, edi
call fcn.004d05f8
push 0
push 1
mov eax, dword [ebp - 0x10]
call fcn.004289e8
mov edx, eax
mov ecx, esi
mov eax, ebx
call fcn.0052cf14
lea eax, [ebp - 8]
push eax
mov eax, dword [esi + 0x30]
call fcn.00404dfc
mov ecx, eax
sub ecx, 2
mov edx, 2
mov eax, dword [esi + 0x30]
call fcn.0040505c
mov esi, 0x100015
mov eax, ebx
call fcn.0052f568
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.004289e8
mov eax, dword [eax + 0xc]
call fcn.00423438
push eax
mov eax, dword [ebp - 0x10]
call fcn.004289e8
call fcn.0042451c
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.004289e8
push eax
mov eax, dword [ebp - 8]
call fcn.00404ffc
mov edx, eax
mov cl, 1
pop eax
call fcn.004d320c
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x10]
call fcn.004289e8
call fcn.0042451c
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.0042451c
push eax
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x10]
call fcn.0040ec2c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52d922
lea eax, [ebp - 8]
call fcn.00404b3c
ret