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

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffff98
mov esi, edx
lea edi, [esp]
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 ebx, eax
lea eax, [ebx + 0x2c]
push eax
lea eax, [ebx + 0x1c]
push eax
lea eax, [ebx + 0x24]
push eax
mov eax, dword [ebx + 8]
push eax
lea ecx, [ebx + 0xc]
lea edx, [ebx + 0x3c]
mov eax, dword [ebx + 0x4c]
call fcn.0051b130
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x14]
test al, al
je 0x52b4d3
lea eax, [esp + 0x50]
call fcn.004e9b38
lea edx, [esp + 0x50]
lea eax, [ebx + 0xc]
call fcn.00407c14
test al, al
jne 0x52b3bf
xor eax, eax
mov dword [ebx + 0x78], eax
xor eax, eax
mov dword [ebx + 0x7c], eax
jmp 0x52b41a
mov eax, dword [ebx + 0x20]
sar eax, 1
jns 0x52b3c9
adc eax, 0
mov edx, dword [ebx + 0x18]
sub edx, eax
push edx
lea eax, [esp + 0x5c]
push eax
mov ecx, dword [ebx + 0x14]
mov edx, dword [ebx + 0x10]
mov eax, dword [ebx + 0xc]
call fcn.00407bd8
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x54]
call fcn.004e9b38
lea edx, [esp + 0x54]
pop eax
call fcn.00407c14
test al, al
je 0x52b40d
movzx eax, byte [ebx + 0x74]
inc eax
mov dword [ebx + 0x78], eax
xor eax, eax
mov dword [ebx + 0x7c], eax
jmp 0x52b41a
xor eax, eax
mov dword [ebx + 0x78], eax
movzx eax, byte [ebx + 0x74]
inc eax
mov dword [ebx + 0x7c], eax
lea eax, [esp + 0x10]
push eax
mov eax, dword [ebx + 0x4c]
push eax
call sub.user32.dll_BeginPaint
mov esi, dword [ebx + 0x54]
mov eax, esi
call fcn.0053f6a8
mov edx, eax
mov eax, esi
call fcn.0053fdb4
mov eax, dword [ebx + 0x54]
call fcn.0053f6a8
test al, al
jne 0x52b4c0
mov eax, dword [esp + 4]
test eax, eax
jne 0x52b45c
mov eax, dword [ebx + 0x4c]
push eax
call sub.user32.dll_GetDC
mov esi, eax
jmp 0x52b45e
mov esi, eax
mov eax, dword [ebx + 0x54]
mov byte [eax + 0x2d], 1
mov eax, ebx
call fcn.0052b728
push 0xcc0020
push 0
mov eax, dword [ebx + 0x70]
push eax
mov eax, dword [ebx + 0x54]
mov eax, dword [eax + 0x38]
call fcn.00434af4
call fcn.0042fee8
push eax
mov eax, dword [ebx + 0x54]
mov eax, dword [eax + 0x38]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
mov eax, dword [ebx + 0x54]
mov eax, dword [eax + 0x38]
mov edx, dword [eax]
call dword [edx + 0x2c]
sub eax, dword [ebx + 0x70]
push eax
push 0
mov eax, dword [ebx + 0x70]
push eax
push esi
call sub.gdi32.dll_BitBlt
cmp dword [esp + 4], 0
je 0x52b4c0
push esi
mov eax, dword [ebx + 0x4c]
push eax
call sub.user32.dll_ReleaseDC
lea eax, [esp + 0x10]
push eax
mov eax, dword [ebx + 0x4c]
push eax
call sub.user32.dll_EndPaint
jmp 0x52b600
lea eax, [esp + 0x50]
call fcn.004e9b38
lea edx, [esp + 0x50]
lea eax, [ebx + 0xc]
call fcn.00407c14
test al, al
jne 0x52b4f8
xor eax, eax
mov dword [ebx + 0x78], eax
xor eax, eax
mov dword [ebx + 0x7c], eax
jmp 0x52b553
mov eax, dword [ebx + 0x18]
push eax
lea eax, [esp + 0x5c]
push eax
mov eax, dword [ebx + 0x1c]
sar eax, 1
jns 0x52b50b
adc eax, 0
mov ecx, dword [ebx + 0x14]
sub ecx, eax
mov edx, dword [ebx + 0x10]
mov eax, dword [ebx + 0xc]
call fcn.00407bd8
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x54]
call fcn.004e9b38
lea edx, [esp + 0x54]
pop eax
call fcn.00407c14
test al, al
je 0x52b546
movzx eax, byte [ebx + 0x74]
inc eax
mov dword [ebx + 0x78], eax
xor eax, eax
mov dword [ebx + 0x7c], eax
jmp 0x52b553
xor eax, eax
mov dword [ebx + 0x78], eax
movzx eax, byte [ebx + 0x74]
inc eax
mov dword [ebx + 0x7c], eax
lea eax, [esp + 0x10]
push eax
mov eax, dword [ebx + 0x4c]
push eax
call sub.user32.dll_BeginPaint
mov esi, dword [ebx + 0x54]
mov eax, esi
call fcn.0053f6a8
mov edx, eax
mov eax, esi
call fcn.0053fdb4
mov eax, dword [ebx + 0x54]
call fcn.0053f6a8
test al, al
jne 0x52b5f2
mov eax, dword [esp + 4]
test eax, eax
jne 0x52b595
mov eax, dword [ebx + 0x4c]
push eax
call sub.user32.dll_GetDC
mov esi, eax
jmp 0x52b597
mov esi, eax
mov eax, dword [ebx + 0x54]
mov byte [eax + 0x2d], 1
mov eax, ebx
call fcn.0052b728
push 0xcc0020
push 0
push 0
mov eax, dword [ebx + 0x54]
mov eax, dword [eax + 0x38]
call fcn.00434af4
call fcn.0042fee8
push eax
mov eax, dword [ebx + 0x54]
mov eax, dword [eax + 0x38]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
mov eax, dword [ebx + 0x54]
mov eax, dword [eax + 0x38]
mov edx, dword [eax]
call dword [edx + 0x2c]
push eax
push 0
push 0
push esi
call sub.gdi32.dll_BitBlt
cmp dword [esp + 4], 0
je 0x52b5f2
push esi
mov eax, dword [ebx + 0x4c]
push eax
call sub.user32.dll_ReleaseDC
lea eax, [esp + 0x10]
push eax
mov eax, dword [ebx + 0x4c]
push eax
call sub.user32.dll_EndPaint
add esp, 0x68
pop edi
pop esi
pop ebx
ret