Function at 0x4bf238
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff50
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov edi, edx
mov esi, eax
mov byte [0x525f5c], 1
mov eax, esi
mov edx, dword [0x45f2fc]
call fcn.00403654
test al, al
je 0x4bf287
push 0
mov dx, 4
xor eax, eax
call fcn.00407394
push eax
push 0xa100
mov eax, esi
call fcn.00450248
push eax
call sub.user32.dll_SendMessageA
mov ebx, eax
jmp 0x4bf289
xor ebx, ebx
test ebx, ebx
je 0x4bf2a5
cmp dword [ebx + 0x278], 0
je 0x4bf2a5
call fcn.004c2be0
test al, al
je 0x4bf2a5
mov byte [ebp - 0x71], 1
jmp 0x4bf2a9
mov byte [ebp - 0x71], 0
call fcn.004c2be0
test al, al
je 0x4bfb36
mov eax, esi
mov edx, dword [0x45f2fc]
call fcn.00403654
test al, al
je 0x4bfb36
cmp dword [ebx + 0x278], 0
je 0x4bf30e
mov eax, dword [ebx + 0xdc]
test eax, eax
je 0x4bf2ee
mov dword [ebp - 0x90], eax
xor eax, eax
mov dword [ebx + 0xdc], eax
jmp 0x4bf30e
xor edx, edx
xor eax, eax
call fcn.004cbc84
mov dword [ebp - 0x90], eax
mov eax, dword [ebx + 0x50]
mov edx, dword [eax + 0x44]
mov eax, dword [ebp - 0x90]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, ebx
call fcn.004ea5c0
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0x44]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0x44]
mov edx, dword [eax]
call dword [edx + 0x2c]
pop edx
call fcn.004cbc84
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
call fcn.0042842c
call fcn.00423aec
push 0
push ebx
xor ecx, ecx
mov edx, esi
mov eax, dword [ebp - 0x1c]
call fcn.004bcb8c
cmp dword [ebp - 0x1c], 0
je 0x4bfe04
cmp dword [ebx + 0x278], 0
jne 0x4bf39c
push 0x1fffffff
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
lea eax, [ebp - 0xb0]
push eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.00406610
lea edx, [ebp - 0xb0]
mov cl, 0xff
mov eax, dword [ebp - 0x1c]
call fcn.004ad580
mov eax, dword [ebp - 0x1c]
call fcn.0042842c
call fcn.00423e94
movzx eax, di
mov ecx, 0xc
xor edx, edx
div ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x78], 0x11b
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0x20]
mov dword [ebp - 0x7c], eax
lea ecx, [ebp - 0x88]
xor edx, edx
xor eax, eax
call fcn.0040662c
cmp dword [ebp - 0x10], 0
jle 0x4bf3f0
mov byte [ebp - 0x52], 0
jmp 0x4bf3f6
mov al, byte [ebp - 0xc]
mov byte [ebp - 0x52], al
mov byte [ebp - 0x54], 0
mov byte [ebp - 0x53], 0
mov byte [ebp - 0x51], 1
mov eax, dword [ebx + 0x278]
test eax, eax
je 0x4bf89f
cmp dword [eax + 0x18], 0
jne 0x4bf41b
call fcn.004f8694
mov eax, dword [ebx + 0x278]
mov edx, dword [eax + 0x18]
mov ecx, dword [eax + 0x20]
mov dword [edx + 0x38], ecx
mov ecx, dword [eax + 0x24]
mov dword [edx + 0x3c], ecx
cmp dword [eax + 0x30], 0
je 0x4bf456
mov eax, dword [ebx + 0x278]
mov eax, dword [eax + 0x30]
push eax
push 0xfffffffffffffff8
mov eax, dword [ebx + 0x278]
mov eax, dword [eax + 0x18]
call fcn.00450248
push eax
call sub.user32.dll_SetWindowLongA
mov eax, dword [ebx + 0x278]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebx + 0x278]
call fcn.004f8694
cmp byte [ebx + 0x218], 0
je 0x4bf494
lea edx, [ebp - 0xb0]
mov eax, ebx
call fcn.004efd9c
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x6c], eax
jmp 0x4bf56b
mov eax, dword [ebx + 0x50]
call fcn.0050bd80
mov edi, dword [eax + 0xd4]
mov eax, dword [ebx + 0x25c]
call fcn.00450248
push eax
call sub.user32.dll_IsZoomed
test eax, eax
je 0x4bf51f
mov ax, word [edi + 0x2e]
cmp ax, word [edi + 0x2c]
je 0x4bf51f
mov eax, dword [ebx + 0x25c]
call fcn.00450248
xor ecx, ecx
mov edx, dword [ebx + 0x278]
call fcn.004dd55c
push eax
lea edx, [ebp - 0xb0]
mov eax, ebx
call fcn.004efd9c
mov eax, dword [ebp - 0xac]
push eax
mov eax, dword [ebx + 0x278]
call fcn.004dd63c
pop edx
add edx, eax
push edx
mov eax, dword [ebx + 0x25c]
call fcn.004dd5c4
pop edx
sub edx, eax
pop eax
sub edx, eax
movsx eax, word [edi + 0x2c]
add edx, eax
movsx eax, word [edi + 0x2e]
sub edx, eax
mov dword [ebp - 0x6c], edx
jmp 0x4bf56b
mov eax, dword [ebx + 0x25c]
call fcn.00450248
xor ecx, ecx
mov edx, dword [ebx + 0x278]
call fcn.004dd55c
push eax
lea edx, [ebp - 0xb0]
mov eax, ebx
call fcn.004efd9c
mov edi, dword [ebp - 0xac]
mov eax, dword [ebx + 0x278]
call fcn.004dd63c
add edi, eax
mov eax, dword [ebx + 0x25c]
call fcn.004dd5c4
sub edi, eax
pop eax
sub edi, eax
mov dword [ebp - 0x6c], edi
mov eax, dword [ebx + 0x25c]
call fcn.00450248
xor ecx, ecx
mov edx, dword [ebx + 0x278]
call fcn.004dd55c
push eax
mov eax, dword [ebx + 0x278]
call fcn.004dd65c
mov edi, eax
pop eax
sub edi, eax
lea edx, [ebp - 0xb0]
mov eax, ebx
call fcn.004efd9c
add edi, dword [ebp - 0xb0]
mov dword [ebp - 0x70], edi
lea eax, [ebp - 0xa0]
push eax
mov eax, esi
call fcn.00450248
push eax
call sub.user32.dll_GetWindowRect
mov edx, dword [ebp - 0xa0]
sub edx, dword [ebp - 0x70]
mov eax, dword [ebx + 0x278]
mov eax, dword [eax + 0x18]
call fcn.004490a4
mov edx, dword [ebp - 0x9c]
sub edx, dword [ebp - 0x6c]
mov eax, dword [ebx + 0x278]
mov eax, dword [eax + 0x18]
call fcn.004490c8
mov eax, dword [ebx + 0x278]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp - 0x80]
call fcn.004490f0
mov eax, dword [ebx + 0x278]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp - 0x7c]
call fcn.00449114
push 3
mov eax, dword [ebx + 0x25c]
call fcn.00450248
push eax
call sub.user32.dll_GetWindow
mov edi, eax
mov eax, dword [ebp - 0x78]
push eax
mov eax, dword [ebp - 0x7c]
push eax
mov eax, dword [ebp - 0x80]
push eax
mov eax, dword [ebp - 0x9c]
sub eax, dword [ebp - 0x6c]
push eax
mov eax, dword [ebp - 0xa0]
sub eax, dword [ebp - 0x70]
push eax
push edi
mov eax, dword [ebx + 0x278]
mov eax, dword [eax + 0x18]
call fcn.00450248
push eax
call sub.user32.dll_SetWindowPos
push 0
call sub.user32.dll_GetDC
mov dword [ebp - 0x64], eax
push 2
lea eax, [ebp - 0x54]
push eax
push 0x1fffffff
lea eax, [ebp - 0x88]
push eax
mov eax, dword [ebp - 0x1c]
call fcn.0042842c
call fcn.00423f9c
push eax
lea eax, [ebp - 0x80]
push eax
push 0
mov eax, dword [ebp - 0x64]
push eax
mov eax, dword [ebx + 0x278]
mov eax, dword [eax + 0x18]
call fcn.00450248
push eax
call dword [0x528f10]
push 4
mov eax, dword [ebx + 0x278]
mov eax, dword [eax + 0x18]
call fcn.00450248
push eax
call sub.user32.dll_ShowWindow
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x80]
call fcn.004cbc84
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
lea eax, [ebp - 0xb0]
push eax
mov eax, dword [ebp - 0x58]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.00406610
lea eax, [ebp - 0xb0]
push eax
mov eax, dword [ebp - 0x58]
call fcn.0042842c
call fcn.00423f9c
xor ecx, ecx
pop edx
call fcn.004c6f38
cmp dword [ebp - 0x10], 0
jle 0x4bf7c4
push ebp
call fcn.004beec0
pop ecx
xor edi, edi
cmp edi, dword [ebp - 0x10]
jg 0x4bf7be
push ebp
call fcn.004bf020
pop ecx
push 2
lea eax, [ebp - 0x54]
push eax
push 0x1fffffff
lea eax, [ebp - 0x88]
push eax
mov eax, dword [ebp - 0x58]
call fcn.0042842c
call fcn.00423f9c
push eax
lea eax, [ebp - 0x80]
push eax
push 0
mov eax, dword [ebp - 0x64]
push eax
mov eax, dword [ebx + 0x278]
mov eax, dword [eax + 0x18]
call fcn.00450248
push eax
call dword [0x528f10]
push 0
xor eax, eax
mov al, byte [ebp - 0x52]
mov edx, dword [ebp - 0xc]
sub edx, eax
lea edx, [edx + edx*2]
xor eax, eax
call fcn.0042a6b4
mov edx, eax
mov eax, 0xff
call fcn.0042a5f0
push eax
mov eax, dword [ebp - 0x8c]
call fcn.00450248
mov edx, dword [ebp - 0x90]
pop ecx
call fcn.004dc4ec
push ebp
call fcn.004bf1dc
pop ecx
inc edi
cmp dword [ebp - 0x10], 0
jle 0x4bf7b5
push 0xc
call sub.KERNEL32.DLL_Sleep_1
cmp edi, dword [ebp - 0x10]
jle 0x4bf720
mov al, byte [ebp - 0xc]
mov byte [ebp - 0x52], al
mov eax, dword [ebp - 0x64]
push eax
push 0
call sub.user32.dll_ReleaseDC
mov byte [0x525f5c], 0
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x2e0], 0
je 0x4bf7ed
mov dl, byte [ebp - 0xc]
call fcn.00466ce8
push 0
push 1
push 0xb
mov eax, esi
call fcn.00450248
push eax
call sub.user32.dll_SendMessageA
push 0x585
push 0
push 0
mov eax, esi
call fcn.00450248
push eax
call sub.user32.dll_RedrawWindow
push 0
xor ecx, ecx
xor edx, edx
mov eax, dword [ebx + 0x278]
call fcn.004f852c
push eax
mov eax, dword [ebx + 0x278]
mov eax, dword [eax + 0x18]
call fcn.00450248
push eax
call sub.user32.dll_SetWindowRgn
mov eax, dword [ebp - 0x78]
or eax, 4
push eax
mov eax, dword [ebp - 0x7c]
push eax
mov eax, dword [ebp - 0x80]
push eax
mov eax, dword [ebp - 0x9c]
sub eax, dword [ebp - 0x6c]
push eax
mov eax, dword [ebp - 0xa0]
sub eax, dword [ebp - 0x70]
push eax
push 0
mov eax, dword [ebx + 0x278]
mov eax, dword [eax + 0x18]
call fcn.00450248
push eax
call sub.user32.dll_SetWindowPos
mov cl, 0xff
xor edx, edx
mov eax, dword [ebx + 0x278]
call fcn.004f74a0
lea eax, [ebp - 0x90]
call fcn.0040e538
lea eax, [ebp - 0x8c]
call fcn.0040e538
jmp 0x4bfb21
lea eax, [ebp - 0xa0]
push eax
mov eax, esi
call fcn.00450248
push eax
call sub.user32.dll_GetWindowRect
xor ecx, ecx
mov dl, 1
mov eax, dword [0x45f600]
call fcn.004620b0
mov edi, eax
mov dword [0x525f58], edi
mov dword [edi + 0xc], 0xffffff9e
xor edx, edx
mov eax, edi
call fcn.00463874
mov edx, dword [esi + 0x40]
mov eax, dword [0x525f58]
call fcn.004490a4
mov edx, dword [esi + 0x44]
mov eax, dword [0x525f58]
call fcn.004490c8
mov edx, dword [esi + 0x48]
mov eax, dword [0x525f58]
call fcn.004490f0
mov edx, dword [esi + 0x4c]
mov eax, dword [0x525f58]
call fcn.00449114
push 0xffffffffffffffec
mov eax, esi
call fcn.00450248
push eax
call sub.user32.dll_GetWindowLongA
and eax, 8
cmp eax, 8
jne 0x4bf935
mov dl, 3
mov eax, dword [0x525f58]
call fcn.00463b70
or edi, 0xffffffff
jmp 0x4bf94a
push 3
mov eax, dword [ebx + 0x25c]
call fcn.00450248
push eax
call sub.user32.dll_GetWindow
mov edi, eax
mov eax, dword [ebp - 0x78]
and eax, 0xfffffffd
push eax
mov eax, dword [ebp - 0x7c]
push eax
mov eax, dword [ebp - 0x80]
push eax
mov eax, dword [0x525f58]
mov eax, dword [eax + 0x44]
push eax
mov eax, dword [0x525f58]
mov eax, dword [eax + 0x40]
push eax
push edi
mov eax, dword [0x525f58]
call fcn.00450248
push eax
call sub.user32.dll_SetWindowPos
push 0
call sub.user32.dll_GetDC
mov dword [ebp - 0x64], eax
push 0xffffffffffffffec
mov eax, dword [0x525f58]
call fcn.00450248
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
or eax, 0x8000000
push eax
push 0xffffffffffffffec
mov eax, dword [0x525f58]
call fcn.00450248
push eax
call sub.user32.dll_SetWindowLongA
push 2
lea eax, [ebp - 0x54]
push eax
push 0x1fffffff
lea eax, [ebp - 0x88]
push eax
mov eax, dword [ebp - 0x1c]
call fcn.0042842c
call fcn.00423f9c
push eax
lea eax, [ebp - 0x80]
push eax
push 0
mov eax, dword [ebp - 0x64]
push eax
mov eax, dword [0x525f58]
call fcn.00450248
push eax
call dword [0x528f10]
push 4
mov eax, dword [0x525f58]
call fcn.00450248
push eax
call sub.user32.dll_ShowWindow
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x80]
call fcn.004cbc84
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
lea eax, [ebp - 0xb0]
push eax
mov eax, dword [ebp - 0x58]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.00406610
lea eax, [ebp - 0xb0]
push eax
mov eax, dword [ebp - 0x58]
call fcn.0042842c
call fcn.00423f9c
xor ecx, ecx
pop edx
call fcn.004c6f38
cmp dword [ebp - 0x10], 0
jle 0x4bfac5
push ebp
call fcn.004beec0
pop ecx
xor edi, edi
cmp edi, dword [ebp - 0x10]
jg 0x4bfabf
push ebp
call fcn.004bf020
pop ecx
push 2
lea eax, [ebp - 0x54]
push eax
push 0x1fffffff
lea eax, [ebp - 0x88]
push eax
mov eax, dword [ebp - 0x58]
call fcn.0042842c
call fcn.00423f9c
push eax
lea eax, [ebp - 0x80]
push eax
push 0
mov eax, dword [ebp - 0x64]
push eax
mov eax, dword [0x525f58]
call fcn.00450248
push eax
call dword [0x528f10]
push ebp
call fcn.004bf1dc
pop ecx
inc edi
cmp dword [ebp - 0x10], 0
jle 0x4bfaba
push 0xc
call sub.KERNEL32.DLL_Sleep_1
cmp edi, dword [ebp - 0x10]
jle 0x4bfa63
mov al, byte [ebp - 0xc]
mov byte [ebp - 0x52], al
mov eax, dword [ebp - 0x64]
push eax
push 0
call sub.user32.dll_ReleaseDC
mov byte [0x525f5c], 0
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x2e0], 0
je 0x4bfaee
mov dl, byte [ebp - 0xc]
call fcn.00466ce8
push 0
push 1
push 0xb
mov eax, esi
call fcn.00450248
push eax
call sub.user32.dll_SendMessageA
push 0x585
push 0
push 0
mov eax, esi
call fcn.00450248
push eax
call sub.user32.dll_RedrawWindow
mov eax, 0x525f58
call fcn.0040e538
lea eax, [ebp - 0x58]
call fcn.0040e538
lea eax, [ebp - 0x1c]
call fcn.0040e538
jmp 0x4bfe04
cmp dword [0x525f58], 0
jne 0x4bfb46
mov eax, esi
call fcn.004beda8
cmp dword [0x525f58], 0
je 0x4bfe04
mov edx, dword [esi + 0x4c]
mov eax, dword [esi + 0x48]
call fcn.004cbc84
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
call fcn.0042842c
call fcn.00423aec
mov eax, dword [ebp - 0x1c]
call fcn.0042842c
call fcn.00423f9c
push eax
call sub.gdi32.dll_SaveDC
mov dword [ebp - 0x60], eax
push 0
push 0
xor ecx, ecx
mov edx, esi
mov eax, dword [ebp - 0x1c]
call fcn.004bcb8c
cmp dword [ebp - 0x1c], 0
je 0x4bfe04
mov eax, dword [ebp - 0x60]
push eax
mov eax, dword [ebp - 0x1c]
call fcn.0042842c
call fcn.00423f9c
push eax
call sub.gdi32.dll_RestoreDC
mov eax, dword [ebp - 0x1c]
call fcn.0042842c
call fcn.00423e94
mov edx, dword [esi + 0x4c]
mov eax, dword [esi + 0x48]
call fcn.004cbc84
mov dword [ebp - 0x5c], eax
movzx eax, di
mov ecx, 0xc
xor edx, edx
div ecx
mov dword [ebp - 0x10], eax
cmp byte [ebp - 0x71], 0
jne 0x4bfc1d
test ebx, ebx
je 0x4bfc1d
mov edi, ebx
mov eax, edi
call fcn.004de00c
cmp dword [0x525f58], 0
je 0x4bfe04
push 0
xor ecx, ecx
xor edx, edx
mov eax, edi
call fcn.004de448
push eax
mov eax, dword [0x525f58]
call fcn.00450248
push eax
call sub.user32.dll_SetWindowRgn
mov eax, dword [0x525f58]
call fcn.00450248
push eax
call sub.user32.dll_GetWindowDC
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x10], 0
jle 0x4bfce9
mov eax, 0xff
cdq
idiv dword [ebp - 0x10]
mov dword [ebp - 0x68], eax
mov ebx, 0xff
xor edi, edi
cmp edi, dword [ebp - 0x10]
jg 0x4bfce9
push 0
mov edx, ebx
xor eax, eax
call fcn.0042a6b4
push eax
lea ecx, [ebp - 0x1c]
mov edx, 0x525f6c
lea eax, [ebp - 0x5c]
call fcn.004cb9e4
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x5c]
call fcn.0042842c
call fcn.00423f9c
push eax
mov eax, dword [esi + 0x4c]
push eax
mov eax, dword [esi + 0x48]
push eax
push 0
push 0
mov eax, dword [ebp - 0x64]
push eax
call sub.gdi32.dll_BitBlt
cmp dword [0x528c4c], 0
je 0x4bfcca
push 0
mov dx, 3
xor eax, eax
call fcn.00407394
push eax
push 0xa100
mov eax, dword [0x528c4c]
call fcn.00450248
push eax
call sub.user32.dll_SendMessageA
inc edi
sub ebx, dword [ebp - 0x68]
cmp edi, dword [ebp - 0x10]
jg 0x4bfce9
cmp dword [ebp - 0x10], 0
jle 0x4bfce0
push 0xc
call sub.KERNEL32.DLL_Sleep_1
cmp edi, dword [ebp - 0x10]
jle 0x4bfc56
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x1c]
call fcn.0042842c
call fcn.00423f9c
push eax
mov eax, dword [esi + 0x4c]
push eax
mov eax, dword [esi + 0x48]
push eax
push 0
push 0
mov eax, dword [ebp - 0x64]
push eax
call sub.gdi32.dll_BitBlt
cmp dword [0x528c4c], 0
je 0x4bfd41
push 0
mov dx, 3
xor eax, eax
call fcn.00407394
push eax
push 0xa100
mov eax, dword [0x528c4c]
call fcn.00450248
push eax
call sub.user32.dll_SendMessageA
mov byte [0x525f5c], 0
cmp byte [esi + 0x57], 0
je 0x4bfdcc
push 0
push 1
push 0xb
mov eax, esi
call fcn.00450248
push eax
call sub.user32.dll_SendMessageA
mov eax, dword [0x526c7c]
cmp dword [eax], 6
jl 0x4bfd81
push 0x585
push 0
push 0
mov eax, esi
call fcn.00450248
push eax
call sub.user32.dll_RedrawWindow
mov eax, esi
mov edx, dword [0x45f2fc]
call fcn.00403654
test al, al
je 0x4bfdad
push 0xffffffffffffffec
mov eax, esi
call fcn.00450248
push eax
call sub.user32.dll_GetWindowLongA
and eax, 0x80000
cmp eax, 0x80000
je 0x4bfdcc
push 0x9c
push 0
push 0
push 0
push 0
push 0
mov eax, dword [0x525f58]
call fcn.00450248
push eax
call sub.user32.dll_SetWindowPos
mov eax, dword [ebp - 0x64]
push eax
mov eax, dword [0x525f58]
call fcn.00450248
push eax
call sub.user32.dll_ReleaseDC
mov eax, 0x525f58
call fcn.0040e538
lea eax, [ebp - 0x5c]
call fcn.0040e538
mov eax, 0x525f6c
call fcn.0040e538
lea eax, [ebp - 0x1c]
call fcn.0040e538
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4