Function at 0x4ab850
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x525ef4
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x557b14]
xor eax, esp
mov dword [esp + 0x108], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x557b14]
xor eax, esp
push eax
lea eax, [esp + 0x124]
mov dword fs:[0], eax
mov bl, byte [esp + 0x138]
mov eax, dword [esp + 0x134]
xor ebp, ebp
push ebp
mov dword [esp + 0x48], eax
mov esi, edx
mov dword [esp + 0x54], ecx
call dword [0x57649c]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov edx, dword [esp + 0x13c]
mov al, bl
mov dword [esp + 0x12c], 1
and al, 0x10
cmp al, 0x10
sete cl
and bl, 4
cmp bl, 4
mov dword [esp + 0x38], edx
sete dl
mov ebx, 7
mov eax, esi
mov byte [esp + 0x18], cl
mov byte [esp + 0x40], 0
mov byte [esp + 0x3d], 0
mov byte [esp + 0x3f], 0
mov byte [esp + 0x3e], 0
mov byte [esp + 0x3c], dl
mov dword [esp + 0xd8], ebx
mov dword [esp + 0xd4], ebp
mov word [esp + 0xc4], bp
lea ecx, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, bp
jne 0x4ab920
sub eax, ecx
sar eax, 1
push eax
push esi
lea ecx, [esp + 0xc8]
call fcn.004a7a90
push 1
push ebp
push 0x5437ac
lea ecx, [esp + 0xcc]
mov byte [esp + 0x138], 2
call fcn.004ac170
mov edi, eax
cmp edi, 0xffffffff
je 0x4aba52
push edi
push ebp
lea eax, [esp + 0xac]
push eax
lea ecx, [esp + 0xcc]
call fcn.004aa930
push eax
lea esi, [esp + 0x2c]
mov byte [esp + 0x130], 3
call fcn.004abfa0
mov esi, 8
mov byte [esp + 0x12c], 2
cmp dword [esp + 0xbc], esi
jb 0x4ab9b2
mov ecx, dword [esp + 0xa8]
push ecx
call fcn.004e001f
add esp, 4
mov edx, dword [esp + 0xd4]
sub edx, edi
sub edx, 1
push edx
add edi, 1
push edi
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0xcc]
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xc4], ebp
mov word [esp + 0xb4], bp
call fcn.004aa930
push 0xffffffffffffffff
push ebp
push eax
lea ecx, [esp + 0xcc]
mov byte [esp + 0x138], 4
call fcn.004a79a0
mov byte [esp + 0x12c], 2
cmp dword [esp + 0x84], esi
jb 0x4aba20
mov ecx, dword [esp + 0x70]
push ecx
call fcn.004e001f
add esp, 4
push 1
push ebp
push 0x5437ac
lea ecx, [esp + 0xcc]
mov dword [esp + 0x90], ebx
mov dword [esp + 0x8c], ebp
mov word [esp + 0x7c], bp
call fcn.004ac170
mov edi, eax
cmp edi, 0xffffffff
jne 0x4ab964
cmp dword [esp + 0xd4], ebp
jbe 0x4aba6c
lea edx, [esp + 0xc0]
push edx
lea esi, [esp + 0x2c]
call fcn.004abfa0
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0xdc]
push eax
push ecx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], 0xf
call dword [sym.imp.USER32.dll_BeginPaint]
mov edx, dword [0x577b78]
mov eax, dword [esp + 0xdc]
push edx
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
cmp esi, eax
jbe 0x4abab5
call fcn.004e0f8f
mov eax, dword [esp + 0x30]
mov ebx, dword [0x576444]
jmp 0x4abac0
cmp dword [esp + 0x2c], eax
mov edi, eax
jbe 0x4abad1
call fcn.004e0f8f
mov eax, dword [esp + 0x30]
cmp esi, edi
je 0x4abb3e
cmp esi, eax
jb 0x4abae2
call fcn.004e0f8f
mov eax, dword [esp + 0x30]
cmp esi, eax
mov edi, dword [esi + 0x14]
jb 0x4abaee
call fcn.004e0f8f
cmp dword [esi + 0x18], 8
jb 0x4abaf9
mov eax, dword [esi + 4]
jmp 0x4abafc
lea eax, [esi + 4]
mov edx, dword [esp + 0xdc]
lea ecx, [esp + 0x64]
push ecx
push edi
push eax
push edx
call ebx
test eax, eax
je 0x4abb23
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x64]
cmp eax, ecx
jg 0x4abb1f
mov eax, ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x30]
add dword [esp + 0x20], 0xf
cmp esi, eax
jb 0x4abb39
call fcn.004e0f8f
mov eax, dword [esp + 0x30]
add esi, 0x1c
jmp 0x4abac0
cmp byte [esp + 0x18], 0
mov ecx, dword [esp + 0x1c]
je 0x4abb62
add ecx, 0x39
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x20]
cmp eax, 0x39
jge 0x4abb5e
mov eax, 0x39
mov dword [esp + 0x20], eax
add ecx, 0x14
mov dword [esp + 0x1c], ecx
cmp byte [esp + 0x3c], 0
mov eax, ecx
je 0x4abb81
cmp ecx, 0xad
jg 0x4abb8b
mov eax, 0xad
jmp 0x4abb8b
cmp ecx, 0x55
jg 0x4abb8b
mov eax, 0x55
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x20]
add eax, 0x4e
mov dword [esp + 0x20], eax
add eax, 0xffffffd5
mov dword [esp + 0x24], eax
lea eax, [esp + 0xdc]
push eax
push ecx
call dword [sym.imp.USER32.dll_EndPaint]
mov dword [esp + 0x48], ebp
call dword [sym.imp.USER32.dll_GetDialogBaseUnits]
push 0x400
push 0x40
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
cmp ebx, ebp
jne 0x4abc58
mov byte [esp + 0x12c], 1
cmp dword [esp + 0xd8], 8
jb 0x4abbf9
mov edx, dword [esp + 0xc4]
push edx
call fcn.004e001f
add esp, 4
mov dword [esp + 0xd8], 7
mov dword [esp + 0xd4], ebp
mov word [esp + 0xc4], bp
mov dword [esp + 0x12c], 0xffffffff
mov eax, dword [esp + 0x2c]
cmp eax, ebp
je 0x4abc44
mov ecx, dword [esp + 0x48]
mov edi, dword [esp + 0x30]
push ecx
call fcn.004ac7a0
mov edx, dword [esp + 0x30]
add esp, 4
push edx
call fcn.004e001f
add esp, 4
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
or eax, 0xffffffff
jmp 0x4abed4
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [esp + 0x44]
mov esi, eax
lea eax, [esp + 0x54]
push eax
push ecx
mov dword [esi], 0x90c80080
mov word [esi + 8], bp
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x54]
movzx ecx, di
cdq
sub eax, edx
mov ebp, eax
mov eax, dword [esp + 0x1c]
cdq
sub eax, edx
sar eax, 1
sar ebp, 1
sub ebp, eax
add ebp, ebp
add ebp, ebp
mov eax, ebp
cdq
idiv ecx
shr edi, 0x10
push ebx
mov word [esi + 0xa], ax
mov eax, dword [esp + 0x64]
sub eax, dword [esp + 0x5c]
cdq
sub eax, edx
mov ebp, eax
mov eax, dword [esp + 0x24]
cdq
sub eax, edx
sar eax, 1
sar ebp, 1
sub ebp, eax
add ebp, ebp
add ebp, ebp
add ebp, ebp
mov eax, ebp
cdq
idiv edi
mov word [esi + 0xc], ax
mov eax, dword [esp + 0x20]
add eax, eax
add eax, eax
cdq
idiv ecx
mov word [esi + 0xe], ax
mov eax, dword [esp + 0x24]
add eax, eax
add eax, eax
add eax, eax
cdq
idiv edi
xor edi, edi
mov word [esi + 0x10], ax
lea eax, [esi + 0x12]
mov word [eax], di
add eax, 2
mov word [eax], di
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ebp, dword [esp + 0x44]
mov edx, dword [esp + 0x4c]
push edi
push 0x4ab060
push ebp
push ebx
push edx
mov byte [esp + 0x2b], 1
call dword [0x5764e8]
mov esi, eax
cmp esi, edi
je 0x4abd56
lea eax, [esp + 0x18]
push eax
push 0xffffffffffffffeb
push esi
call dword [0x576534]
mov eax, dword [esp + 0x50]
cmp eax, edi
je 0x4abd46
push eax
push esi
call dword [0x576538]
push edi
push edi
push esi
call dword [sym.imp.USER32.dll_InvalidateRect]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
cmp ebp, edi
je 0x4abd62
push edi
push ebp
call dword [0x5764fc]
cmp esi, edi
je 0x4abe07
mov edi, dword [0x576520]
cmp byte [esp + 0x17], 0
je 0x4abe05
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
push 0
push 0
push 0
lea ecx, [esp + 0x98]
push ecx
call edi
test eax, eax
je 0x4abd70
lea esp, [esp]
cmp dword [esp + 0x8c], 0x12
je 0x4abdfb
cmp byte [esp + 0x40], 0
jne 0x4abdfb
lea edx, [esp + 0x88]
push edx
push esi
call dword [0x576510]
test eax, eax
jne 0x4abde0
lea eax, [esp + 0x88]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea ecx, [esp + 0x88]
push ecx
call dword [0x5764f8]
push 1
push 0
push 0
push 0
lea edx, [esp + 0x98]
push edx
call edi
test eax, eax
jne 0x4abda0
jmp 0x4abd70
mov byte [esp + 0x17], 0
jmp 0x4abd70
xor edi, edi
cmp ebp, edi
je 0x4abe14
push 1
push ebp
call dword [0x5764fc]
cmp esi, edi
je 0x4abe3c
push esi
call dword [sym.imp.USER32.dll_DestroyWindow]
cmp byte [esp + 0x3c], 0
je 0x4abe35
mov al, byte [esp + 0x3d]
neg al
sbb eax, eax
add eax, 7
mov esi, eax
jmp 0x4abe40
mov esi, 1
jmp 0x4abe40
mov esi, dword [esp + 0x48]
push edi
push edi
push ebp
call dword [sym.imp.USER32.dll_InvalidateRect]
push ebp
call dword [sym.imp.USER32.dll_UpdateWindow]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov byte [esp + 0x12c], 1
cmp dword [esp + 0xd8], 8
jb 0x4abe79
mov ecx, dword [esp + 0xc4]
push ecx
call fcn.004e001f
add esp, 4
mov dword [esp + 0xd8], 7
mov dword [esp + 0xd4], edi
mov word [esp + 0xc4], di
mov dword [esp + 0x12c], 0xffffffff
mov eax, dword [esp + 0x2c]
cmp eax, edi
je 0x4abec6
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x30]
push edx
call fcn.004ac7a0
mov eax, dword [esp + 0x30]
add esp, 4
push eax
call fcn.004e001f
add esp, 4
xor edi, edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov eax, esi
mov ecx, dword [esp + 0x124]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.004e0010
add esp, 0x11c
ret