Function at 0x54bc00
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff90
push ebx
mov word [ebp - 6], dx
mov dword [ebp - 4], eax
mov byte [0x5a5fac], 1
mov eax, dword [ebp - 4]
mov edx, dword [0x47bf50]
call fcn.004040cc
test al, al
je 0x54bc50
push 0
mov dx, 4
xor eax, eax
call fcn.004087b4
push eax
mov eax, dword [0x5a69b4]
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 4]
call fcn.0046c6cc
push eax
call sub.user32.dll_SendMessageA
mov dword [ebp - 0x28], eax
jmp 0x54bc55
xor eax, eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x54bc76
mov eax, dword [ebp - 0x28]
cmp dword [eax + 0x1f8], 0
je 0x54bc76
call fcn.0053e9f4
test al, al
je 0x54bc76
mov byte [ebp - 0x31], 1
jmp 0x54bc7a
mov byte [ebp - 0x31], 0
cmp byte [ebp - 0x31], 0
je 0x54c359
mov eax, dword [ebp - 4]
mov edx, dword [0x47bf50]
call fcn.004040cc
test al, al
je 0x54c359
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x1dc]
cmp byte [eax + 0x2e0], 0
je 0x54bcd0
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x1dc]
mov al, byte [eax + 0x2e1]
mov byte [ebp - 0x4d], al
mov dl, 1
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x1dc]
call fcn.00483984
jmp 0x54bcd4
mov byte [ebp - 0x4d], 0xff
mov eax, dword [ebp - 0x28]
call fcn.005320f0
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 0x38]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 0x38]
mov edx, dword [eax]
call dword [edx + 0x2c]
pop edx
call fcn.005493ac
mov dword [0x5a8328], eax
mov eax, dword [0x5a8328]
call fcn.0042d930
call fcn.00428e14
mov eax, dword [0x5a8328]
call fcn.0042d930
call fcn.00429320
mov dword [0x5a5fa4], eax
push 0
mov eax, dword [ebp - 0x28]
push eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [0x5a8328]
call fcn.0054b5f4
cmp dword [0x5a8328], 0
je 0x54c662
xor eax, eax
mov dword [0x5a5fa4], eax
mov eax, dword [0x5a8328]
call fcn.0042d930
call fcn.004291f4
movzx eax, word [ebp - 6]
shr eax, 3
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x38], 0x118
mov eax, dword [0x5a8328]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov dword [ebp - 0x40], eax
mov eax, dword [0x5a8328]
mov edx, dword [eax]
call dword [edx + 0x20]
mov dword [ebp - 0x3c], eax
lea ecx, [ebp - 0x48]
xor edx, edx
xor eax, eax
call fcn.0041a5f0
cmp dword [ebp - 0x18], 0
jle 0x54bda2
mov byte [ebp - 0x4a], 0
jmp 0x54bda8
mov al, byte [ebp - 0x4d]
mov byte [ebp - 0x4a], al
mov byte [ebp - 0x4c], 0
mov byte [ebp - 0x4b], 0
mov byte [ebp - 0x49], 1
mov eax, dword [ebp - 0x28]
cmp byte [eax + 0x1b0], 0
je 0x54bdd6
lea edx, [ebp - 0x70]
mov eax, dword [ebp - 0x28]
call fcn.00538b10
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x2c], eax
jmp 0x54bee8
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x1dc]
call fcn.0046c6cc
push eax
call sub.user32.dll_IsZoomed
test eax, eax
je 0x54be9b
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x54]
call fcn.00554c34
mov eax, dword [eax + 0x88]
mov bx, word [eax + 0x2e]
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x54]
call fcn.00554c34
mov eax, dword [eax + 0x88]
cmp bx, word [eax + 0x2c]
je 0x54be9b
lea edx, [ebp - 0x70]
mov eax, dword [ebp - 0x28]
call fcn.00538b10
mov ebx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x1f8]
call fcn.005258d8
add ebx, eax
xor edx, edx
mov eax, dword [ebp - 0x28]
call fcn.0052770c
sub ebx, eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x1dc]
call fcn.0046c6cc
xor ecx, ecx
mov edx, dword [ebp - 0x28]
mov edx, dword [edx + 0x1f8]
call fcn.00525830
sub ebx, eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x54]
call fcn.00554c34
mov eax, dword [eax + 0x88]
movsx eax, word [eax + 0x2c]
add ebx, eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x54]
call fcn.00554c34
mov eax, dword [eax + 0x88]
movsx eax, word [eax + 0x2e]
sub ebx, eax
mov dword [ebp - 0x2c], ebx
jmp 0x54bee8
lea edx, [ebp - 0x70]
mov eax, dword [ebp - 0x28]
call fcn.00538b10
mov ebx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x1f8]
call fcn.005258d8
add ebx, eax
xor edx, edx
mov eax, dword [ebp - 0x28]
call fcn.0052770c
sub ebx, eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x1dc]
call fcn.0046c6cc
xor ecx, ecx
mov edx, dword [ebp - 0x28]
mov edx, dword [edx + 0x1f8]
call fcn.00525830
sub ebx, eax
mov dword [ebp - 0x2c], ebx
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x1dc]
call fcn.0046c6cc
xor ecx, ecx
mov edx, dword [ebp - 0x28]
mov edx, dword [edx + 0x1f8]
call fcn.00525830
push eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x1f8]
call fcn.00525910
mov ebx, eax
pop eax
sub ebx, eax
lea edx, [ebp - 0x70]
mov eax, dword [ebp - 0x28]
call fcn.00538b10
add ebx, dword [ebp - 0x70]
mov dword [ebp - 0x30], ebx
lea eax, [ebp - 0x5d]
push eax
mov eax, dword [ebp - 4]
call fcn.0046c6cc
push eax
call sub.user32.dll_GetWindowRect
xor ecx, ecx
mov dl, 1
mov eax, dword [0x47c254]
call fcn.0047ed34
mov dword [0x5a5fa0], eax
mov eax, dword [0x5a5fa0]
mov dword [eax + 0xc], 0xffffff9e
xor edx, edx
mov eax, dword [0x5a5fa0]
call fcn.00480508
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x1f8]
mov eax, dword [eax + 0x10]
mov edx, dword [eax + 0x40]
mov eax, dword [0x5a5fa0]
call fcn.00465540
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x1f8]
mov eax, dword [eax + 0x10]
mov edx, dword [eax + 0x44]
mov eax, dword [0x5a5fa0]
call fcn.00465564
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x1f8]
mov eax, dword [eax + 0x10]
mov edx, dword [eax + 0x48]
mov eax, dword [0x5a5fa0]
call fcn.0046558c
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x1f8]
mov eax, dword [eax + 0x10]
mov edx, dword [eax + 0x4c]
mov eax, dword [0x5a5fa0]
call fcn.004655b0
push 0xffffffffffffffec
mov eax, dword [ebp - 4]
call fcn.0046c6cc
push eax
call sub.user32.dll_GetWindowLongA
and eax, 8
cmp eax, 8
jne 0x54bff9
mov dl, 3
mov eax, dword [0x5a5fa0]
call fcn.00480804
mov dword [ebp - 0x1c], 0xffffffff
jmp 0x54c012
push 3
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x1dc]
call fcn.0046c6cc
push eax
call sub.user32.dll_GetWindow
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x59]
sub eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x5d]
sub eax, dword [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [0x5a5fa0]
call fcn.0046c6cc
push eax
call sub.user32.dll_SetWindowPos
push 0
call sub.user32.dll_GetDC
mov dword [ebp - 0x10], eax
push 0xffffffffffffffec
mov eax, dword [0x5a5fa0]
call fcn.0046c6cc
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
or eax, 0x8000000
push eax
push 0xffffffffffffffec
mov eax, dword [0x5a5fa0]
call fcn.0046c6cc
push eax
call sub.user32.dll_SetWindowLongA
push 0xffffffffffffffec
mov eax, dword [0x5a5fa0]
call fcn.0046c6cc
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
or eax, 0x8000000
push eax
push 0xffffffffffffffec
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x1f8]
mov eax, dword [eax + 0x10]
call fcn.0046c6cc
push eax
call sub.user32.dll_SetWindowLongA
push 2
lea eax, [ebp - 0x4c]
push eax
push 0x1fffffff
lea eax, [ebp - 0x48]
push eax
mov eax, dword [0x5a8328]
call fcn.0042d930
call fcn.00429320
push eax
lea eax, [ebp - 0x40]
push eax
push 0
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [0x5a5fa0]
call fcn.0046c6cc
push eax
mov eax, dword [0x5a699c]
mov eax, dword [eax]
call eax
push 4
mov eax, dword [0x5a5fa0]
call fcn.0046c6cc
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebp - 0x18], 0
jle 0x54c1cb
xor eax, eax
mov al, byte [ebp - 0x4d]
cdq
idiv dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x18]
jg 0x54c1c5
xor edx, edx
mov dl, byte [ebp - 0x4d]
xor eax, eax
mov al, byte [ebp - 0x4a]
add eax, dword [ebp - 0x24]
call fcn.0042fbd4
mov byte [ebp - 0x4a], al
push 2
lea eax, [ebp - 0x4c]
push eax
push 0x1fffffff
lea eax, [ebp - 0x48]
push eax
mov eax, dword [0x5a8328]
call fcn.0042d930
call fcn.00429320
push eax
lea eax, [ebp - 0x40]
push eax
push 0
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [0x5a5fa0]
call fcn.0046c6cc
push eax
mov eax, dword [0x5a699c]
mov eax, dword [eax]
call eax
mov eax, dword [0x5a6c38]
cmp dword [eax], 0
je 0x54c1a9
push 0
mov dx, 3
xor eax, eax
call fcn.004087b4
push eax
mov eax, dword [0x5a69b4]
mov eax, dword [eax]
push eax
mov eax, dword [0x5a6c38]
mov eax, dword [eax]
call fcn.0046c6cc
push eax
call sub.user32.dll_SendMessageA
inc dword [ebp - 0x14]
cmp dword [ebp - 0x18], 0
jle 0x54c1b9
push 8
call sub.kernel32.dll_Sleep
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x18]
jle 0x54c125
mov al, byte [ebp - 0x4d]
mov byte [ebp - 0x4a], al
push 0
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x1f8]
mov eax, dword [eax + 0x10]
call fcn.0046c6cc
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebp - 0x38]
or eax, 4
push eax
mov eax, dword [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x59]
sub eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x5d]
sub eax, dword [ebp - 0x30]
push eax
push 0
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x1f8]
mov eax, dword [eax + 0x10]
call fcn.0046c6cc
push eax
call sub.user32.dll_SetWindowPos
push 2
lea eax, [ebp - 0x4c]
push eax
push 0x1fffffff
lea eax, [ebp - 0x48]
push eax
mov eax, dword [0x5a8328]
call fcn.0042d930
call fcn.00429320
push eax
lea eax, [ebp - 0x40]
push eax
push 0
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x1f8]
mov eax, dword [eax + 0x10]
call fcn.0046c6cc
push eax
mov eax, dword [0x5a699c]
mov eax, dword [eax]
call eax
push 0
mov eax, dword [ebp - 0x10]
push eax
call sub.user32.dll_ReleaseDC
mov byte [0x5a5fac], 0
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x1dc]
cmp byte [eax + 0x2e0], 0
je 0x54c293
mov dl, byte [ebp - 0x4d]
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x1dc]
call fcn.00483984
push 0
push 1
push 0xb
mov eax, dword [ebp - 4]
call fcn.0046c6cc
push eax
call sub.user32.dll_SendMessageA
push 0
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x1f8]
call fcn.0053d6b0
push eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x1f8]
mov eax, dword [eax + 0x10]
call fcn.0046c6cc
push eax
call sub.user32.dll_SetWindowRgn
push 0x585
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0046c6cc
push eax
call sub.user32.dll_RedrawWindow
mov eax, 0x5a5fa0
call fcn.0041025c
push 4
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x1f8]
mov eax, dword [eax + 0x10]
call fcn.0046c6cc
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x59]
sub eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x5d]
sub eax, dword [ebp - 0x30]
push eax
mov eax, dword [ebp - 4]
call fcn.0046c6cc
push eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x1f8]
mov eax, dword [eax + 0x10]
call fcn.0046c6cc
push eax
call sub.user32.dll_SetWindowPos
xor eax, eax
mov dword [0x5a5fa4], eax
mov eax, 0x5a8328
call fcn.0041025c
jmp 0x54c662
cmp dword [0x5a5fa0], 0
jne 0x54c36a
mov eax, dword [ebp - 4]
call fcn.0054baa4
cmp dword [0x5a5fa0], 0
je 0x54c662
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x4c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
call fcn.00549360
mov dword [0x5a8328], eax
mov eax, dword [0x5a8328]
call fcn.0042d930
call fcn.00428e14
mov eax, dword [0x5a8328]
call fcn.0042d930
call fcn.00429320
mov dword [0x5a5fa4], eax
push 0
push 0
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [0x5a8328]
call fcn.0054b5f4
cmp dword [0x5a8328], 0
je 0x54c662
xor eax, eax
mov dword [0x5a5fa4], eax
mov eax, dword [0x5a8328]
call fcn.0042d930
call fcn.004291f4
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x4c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
call fcn.005493ac
mov dword [ebp - 0xc], eax
movzx eax, word [ebp - 6]
shr eax, 3
mov dword [ebp - 0x18], eax
cmp byte [ebp - 0x31], 0
jne 0x54c444
cmp dword [ebp - 0x28], 0
je 0x54c444
mov eax, dword [ebp - 0x28]
call fcn.0052645c
cmp dword [0x5a5fa0], 0
je 0x54c662
push 0
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0x28]
call fcn.0052692c
push eax
mov eax, dword [0x5a5fa0]
call fcn.0046c6cc
push eax
call sub.user32.dll_SetWindowRgn
mov eax, dword [0x5a5fa0]
call fcn.0046c6cc
push eax
call sub.user32.dll_GetWindowDC
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x18], 0
jle 0x54c532
mov eax, 0xff
cdq
idiv dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 0xff
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x18]
jg 0x54c532
push 0
mov edx, dword [ebp - 0x20]
xor eax, eax
call fcn.0042fc50
push eax
mov ecx, 0x5a8328
mov edx, 0x5a5fa8
lea eax, [ebp - 0xc]
call fcn.00548fd8
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0xc]
call fcn.0042d930
call fcn.00429320
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
push eax
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_BitBlt
mov eax, dword [0x5a6c38]
cmp dword [eax], 0
je 0x54c508
push 0
mov dx, 3
xor eax, eax
call fcn.004087b4
push eax
mov eax, dword [0x5a69b4]
mov eax, dword [eax]
push eax
mov eax, dword [0x5a6c38]
mov eax, dword [eax]
call fcn.0046c6cc
push eax
call sub.user32.dll_SendMessageA
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
sub dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x18]
jg 0x54c532
cmp dword [ebp - 0x18], 0
jle 0x54c526
push 8
call sub.kernel32.dll_Sleep
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x18]
jle 0x54c485
push 0xcc0020
push 0
push 0
mov eax, dword [0x5a8328]
call fcn.0042d930
call fcn.00429320
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
push eax
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_BitBlt
mov eax, dword [0x5a6c38]
cmp dword [eax], 0
je 0x54c598
push 0
mov dx, 3
xor eax, eax
call fcn.004087b4
push eax
mov eax, dword [0x5a69b4]
mov eax, dword [eax]
push eax
mov eax, dword [0x5a6c38]
mov eax, dword [eax]
call fcn.0046c6cc
push eax
call sub.user32.dll_SendMessageA
mov byte [0x5a5fac], 0
push 0
push 1
push 0xb
mov eax, dword [ebp - 4]
call fcn.0046c6cc
push eax
call sub.user32.dll_SendMessageA
mov eax, dword [0x5a6aa4]
cmp dword [eax], 6
jl 0x54c5d4
push 0x585
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0046c6cc
push eax
call sub.user32.dll_RedrawWindow
mov eax, dword [ebp - 4]
mov edx, dword [0x47bf50]
call fcn.004040cc
test al, al
je 0x54c602
push 0xffffffffffffffec
mov eax, dword [ebp - 4]
call fcn.0046c6cc
push eax
call sub.user32.dll_GetWindowLongA
and eax, 0x80000
cmp eax, 0x80000
je 0x54c621
push 0x9c
push 0
push 0
push 0
push 0
push 0
mov eax, dword [0x5a5fa0]
call fcn.0046c6cc
push eax
call sub.user32.dll_SetWindowPos
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [0x5a5fa0]
call fcn.0046c6cc
push eax
call sub.user32.dll_ReleaseDC
mov eax, 0x5a5fa0
call fcn.0041025c
lea eax, [ebp - 0xc]
call fcn.0041025c
xor eax, eax
mov dword [0x5a5fa4], eax
mov eax, 0x5a5fa8
call fcn.0041025c
mov eax, 0x5a8328
call fcn.0041025c
pop ebx
mov esp, ebp
pop ebp
ret