Function at 0x4b3518
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
push edi
mov dword [ebp - 0xc], eax
xor ebx, ebx
xor esi, esi
xor eax, eax
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x38], eax
xor eax, eax
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 0x34], eax
xor edi, edi
call sub.user32.dll_GetScrollRange
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_RegisterClassA
test eax, eax
jne 0x4b3668
mov eax, dword [ebp - 0xc]
mov edi, eax
lea esi, [ebp - 0x4c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp 0x4b377a
inc dword [ebp - 0x38]
mov dword [ebp - 0x2c], esi
mov esi, ebx
lea eax, [ebp - 0x18]
push eax
call sub.user32.dll_RedrawWindow
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x3c]
push eax
call sub.user32.dll_IsRectEmpty
mov ebx, eax
cmp ebx, 0x7fffffff
je 0x4b35b7
push 0xf
mov eax, dword [ebp - 0x3c]
push eax
call sub.user32.dll_SendMessageA
jmp 0x4b35b7
lea eax, [ebp - 0x20]
push eax
call sub.user32.dll_RedrawWindow
push eax
push edx
rdtsc
mov dword [ebp - 4], eax
pop edx
pop eax
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x18]
cmp eax, 0x32
jb 0x4b35a5
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
jmp 0x4b35e2
lea eax, [ebp - 0x20]
push eax
call sub.user32.dll_RedrawWindow
push eax
push edx
rdtsc
mov dword [ebp - 8], eax
pop edx
pop eax
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x18]
cmp eax, 0x3e8
jb 0x4b35d0
cmp ebx, 0x7fffffff
je 0x4b3601
push ebx
mov eax, dword [ebp - 0x3c]
push eax
call sub.user32.dll_SendMessageA
mov edi, dword [ebp - 8]
sub edi, dword [ebp - 4]
mov ebx, dword [ebp - 0x20]
sub ebx, dword [ebp - 0x18]
imul eax, ebx, 0x186a0
mov ebx, eax
mov dword [ebp - 0x54], ebx
xor eax, eax
mov dword [ebp - 0x50], eax
fild qword [ebp - 0x54]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x5c], eax
xor eax, eax
mov dword [ebp - 0x58], eax
fild qword [ebp - 0x5c]
fdiv dword [0x4b3784]
fdivp st(1)
call fcn.00402b24
mov ebx, eax
add dword [ebp - 0x34], ebx
add dword [ebp - 0x30], edi
mov dword [ebp - 0x54], edi
xor eax, eax
mov dword [ebp - 0x50], eax
fild qword [ebp - 0x54]
mov dword [ebp - 0x5c], ebx
xor eax, eax
mov dword [ebp - 0x58], eax
fild qword [ebp - 0x5c]
fdivp st(1)
call fcn.00402b24
mov ebx, eax
lea edi, [esi + ebx]
add edi, dword [ebp - 0x2c]
cmp dword [ebp - 0x38], 3
jl 0x4b3568
cmp dword [ebp - 0x38], 0x14
jge 0x4b36b4
lea eax, [ebx + ebx*2]
sub eax, edi
cdq
xor eax, edx
sub eax, edx
cmp eax, 3
jg 0x4b3568
lea eax, [esi + esi*2]
sub eax, edi
cdq
xor eax, edx
sub eax, edx
cmp eax, 3
jg 0x4b3568
mov eax, dword [ebp - 0x2c]
lea eax, [eax + eax*2]
sub eax, edi
cdq
xor eax, edx
sub eax, edx
cmp eax, 3
jg 0x4b3568
mov eax, dword [ebp - 0x30]
add eax, eax
lea eax, [eax + eax*4]
mov dword [ebp - 0x54], eax
xor eax, eax
mov dword [ebp - 0x50], eax
fild qword [ebp - 0x54]
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x5c], eax
xor eax, eax
mov dword [ebp - 0x58], eax
fild qword [ebp - 0x5c]
fdivp st(1)
call fcn.00402b24
mov dword [ebp - 0x2c], eax
imul eax, dword [ebp - 0x30], 0x64
mov dword [ebp - 0x54], eax
xor eax, eax
mov dword [ebp - 0x50], eax
fild qword [ebp - 0x54]
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x5c], eax
xor eax, eax
mov dword [ebp - 0x58], eax
fild qword [ebp - 0x5c]
fdivp st(1)
call fcn.00402b24
mov esi, eax
mov eax, dword [ebp - 0x2c]
add eax, eax
lea eax, [eax + eax*4]
sub esi, eax
cmp esi, 6
jl 0x4b3717
inc dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x54], eax
xor eax, eax
mov dword [ebp - 0x50], eax
fild qword [ebp - 0x54]
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x5c], eax
xor eax, eax
mov dword [ebp - 0x58], eax
fild qword [ebp - 0x5c]
fdivp st(1)
call fcn.00402b24
mov ebx, eax
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov ebx, dword [ebp - 0x4c]
add ebx, ebx
lea ebx, [ebx + ebx*4]
mov eax, dword [ebp - 0x2c]
sub eax, ebx
cmp eax, 6
jl 0x4b3757
inc dword [ebp - 0x48]
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x48]
call fcn.004b34a0
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0xc]
mov edi, eax
lea esi, [ebp - 0x4c]
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
pop ebx
mov esp, ebp
pop ebp
ret