Function at 0x455201
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x514
push ebx
push esi
push edi
mov ebx, dword [esp + 0x524]
test ebx, ebx
jne 0x455225
mov ebx, dword [0x489ad0]
test ebx, ebx
jne 0x455225
mov ebx, dword [0x489abc]
mov eax, dword [esp + 0x52c]
test eax, eax
jne 0x455235
mov eax, 0x489a8c
push eax
push 1
push 0
push 0
push 0x491d28
push ebx
lea eax, [esp + 0x28]
push eax
call fcn.00452835
add esp, 0x1c
cmp dword [esp + 0x14], 0
jne 0x45526e
lea ecx, [esp + 0x10]
call fcn.00452a76
mov eax, 0xffffffff
pop edi
pop esi
pop ebx
add esp, 0x514
ret
push 0x491d3c
lea ecx, [esp + 0x14]
call fcn.00453f7e
mov dword [esp + 0x84], eax
push 0x491d37
lea ecx, [esp + 0x14]
call fcn.00453f7e
mov dword [esp + 0x88], eax
push 0x491d32
lea ecx, [esp + 0x14]
call fcn.00453f7e
mov esi, eax
mov ecx, eax
mov eax, dword [esi]
call dword [eax + 0x1c]
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x90]
push eax
mov ecx, dword [esp + 0x88]
call fcn.004351a6
lea eax, [esp + 0xa0]
push eax
mov ecx, esi
call fcn.004351a6
test byte [0x491a0c], 8
je 0x45531c
push 0xc
lea ecx, [esp + 0x94]
call fcn.00427781
push 0
mov eax, dword [esp + 0xa0]
sub eax, dword [esp + 0x98]
push eax
mov eax, dword [esp + 0xa0]
sub eax, dword [esp + 0x98]
push eax
mov ecx, dword [esp + 0x90]
call fcn.004350a1
push 0x491d41
push dword [esp + 0x534]
call fcn.004724a8
add esp, 4
mov dword [esp + 0xb4], eax
push eax
call fcn.0047342c
mov edi, eax
mov dword [esp + 0xbc], 0
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 0x1c]
mov ebx, eax
mov word [esp + 0xc0], 0xffff
add esp, 8
test edi, edi
je 0x4553de
cmp byte [edi], 0x2b
jne 0x455399
push 0xfffffffffffffff0
push dword [esi + 4]
call dword [sym.imp.USER32.DLL_GetWindowLongA]
and al, 0xf0
or al, 1
push eax
push 0xfffffffffffffff0
push dword [esi + 4]
call dword [sym.imp.USER32.DLL_SetWindowLongA]
push 0
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 0x10]
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 0x1c]
mov ebx, eax
inc edi
jmp 0x4553ae
cmp byte [edi], 0x2d
jne 0x4553ae
inc edi
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 0x1c]
mov word [esp + 0xb8], ax
push edi
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 0x44]
push 0x491d41
push 0
call fcn.0047342c
mov edi, eax
push esi
lea ecx, [esp + 0x1c]
call fcn.00453fad
mov esi, eax
inc dword [esp + 0xbc]
add esp, 8
test edi, edi
jne 0x455364
push dword [esp + 0xb0]
call fcn.00472694
add esp, 4
cmp word [esp + 0xb8], 0xffff
jne 0x455400
mov word [esp + 0xb8], bx
mov eax, dword [esp + 0xb4]
mov dword [esp + 0xbc], eax
cmp eax, 5
jae 0x455446
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.DLL_ShowWindow]
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.DLL_EnableWindow]
push esi
lea ecx, [esp + 0x14]
call fcn.00453fad
mov esi, eax
inc dword [esp + 0xbc]
cmp dword [esp + 0xbc], 5
jl 0x455413
mov eax, dword [esp + 0x88]
push dword [eax + 4]
call dword [sym.imp.USER32.DLL_GetDC]
mov dword [esp + 0x4c0], eax
mov ecx, dword [esp + 0x88]
call fcn.0045d9fe
push eax
push dword [esp + 0x4c4]
call dword [sym.imp.GDI32.DLL_SelectObject]
mov dword [esp + 0x4c4], eax
mov ecx, dword [esp + 0x538]
add ecx, 4
push ecx
mov ecx, dword [esp + 0x53c]
push dword [ecx]
lea ecx, [esp + 0xc8]
push ecx
call fcn.00471844
push 0x400
lea eax, [esp + 0x4d8]
push eax
push 0xffffffffffffffff
lea eax, [esp + 0xd8]
push eax
push dword [esp + 0x4dc]
call dword [sym.imp.USER32.DLL_DrawTextA]
push dword [esp + 0x4d0]
push dword [esp + 0x4d0]
call dword [sym.imp.GDI32.DLL_SelectObject]
push dword [esp + 0x4cc]
mov eax, dword [esp + 0x98]
push dword [eax + 4]
call dword [sym.imp.USER32.DLL_ReleaseDC]
mov eax, dword [esp + 0x4dc]
add eax, 0xa
sub eax, dword [esp + 0x4d4]
mov dword [esp + 0x4e4], eax
mov ecx, dword [esp + 0x4e0]
sub ecx, dword [esp + 0x4d8]
mov dword [esp + 0x4e8], ecx
mov eax, dword [esp + 0xb4]
sub eax, dword [esp + 0xac]
mov dword [esp + 0x4ec], eax
mov ecx, 0xa
cdq
idiv ecx
mov dword [esp + 0x4f0], eax
add esp, 0xc
cmp dword [esp + 0x528], 0
je 0x455595
mov eax, dword [esp + 0x98]
sub eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x4d8]
lea eax, [ecx + eax + 0xf]
mov dword [esp + 0x4e8], eax
mov eax, dword [esp + 0x9c]
sub eax, dword [esp + 0x94]
mov ecx, dword [esp + 0xac]
sub ecx, dword [esp + 0xa4]
lea eax, [ecx + eax + 0x14]
mov dword [esp + 0x4f0], eax
jmp 0x4555ae
mov eax, dword [esp + 0x4d8]
mov dword [esp + 0x4e8], eax
mov dword [esp + 0x4f0], 0
mov ecx, dword [esp + 0xac]
sub ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0x4dc]
lea ecx, [edx + ecx + 0x14]
xor edx, edx
mov dword [esp + 0x4f4], edx
mov dword [esp + 0x4f8], edx
mov eax, dword [esp + 0xb4]
imul eax, dword [esp + 0x4e0]
mov ebx, dword [esp + 0xb4]
dec ebx
imul ebx, dword [esp + 0x4e4]
add eax, ebx
mov dword [esp + 0x4ec], eax
cmp eax, dword [esp + 0x4e8]
jge 0x455611
mov ebx, dword [esp + 0x4e8]
jmp 0x455613
mov ebx, eax
add ebx, 0x10
mov dword [esp + 0x4fc], ebx
mov ebx, dword [esp + 0x4f0]
cmp ecx, ebx
jle 0x45562a
jmp 0x45562c
mov ecx, ebx
add ecx, 0x12
mov dword [esp + 0x500], ecx
push 0xffffffffffffffec
push dword [esp + 0x18]
call dword [sym.imp.USER32.DLL_GetWindowLongA]
push eax
push 0
push 0xfffffffffffffff0
push dword [esp + 0x20]
call dword [sym.imp.USER32.DLL_GetWindowLongA]
push eax
lea ecx, [esp + 0x500]
push ecx
call dword [sym.imp.USER32.DLL_AdjustWindowRectEx]
push 0
mov ecx, dword [esp + 0x504]
sub ecx, dword [esp + 0x4fc]
push ecx
mov ecx, dword [esp + 0x504]
sub ecx, dword [esp + 0x4fc]
push ecx
lea ecx, [esp + 0x1c]
call fcn.004350a1
lea ecx, [esp + 0x504]
push ecx
lea ecx, [esp + 0x14]
call fcn.00435167
mov eax, dword [esp + 0x50c]
sub eax, dword [esp + 0x504]
sub eax, dword [esp + 0x4ec]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x514], eax
mov ecx, dword [esp + 0x510]
sub ecx, dword [esp + 0x508]
add ecx, 0xfffffff8
mov edx, dword [esp + 0xac]
sub edx, dword [esp + 0xa4]
sub ecx, edx
mov dword [esp + 0x518], ecx
mov dword [esp + 0xbc], 0
push 0x491d32
lea ecx, [esp + 0x14]
call fcn.00453f7e
mov esi, eax
cmp dword [esp + 0xb4], 0
je 0x455757
mov ebx, dword [esp + 0x4e0]
add ebx, dword [esp + 0x4e4]
push 0
push dword [esp + 0x51c]
push dword [esp + 0x51c]
mov ecx, esi
call fcn.00435042
push esi
lea ecx, [esp + 0x14]
call fcn.00453fad
mov esi, eax
add dword [esp + 0x514], ebx
inc dword [esp + 0xbc]
mov ecx, dword [esp + 0xbc]
cmp ecx, dword [esp + 0xb4]
jl 0x455716
mov dword [esp + 0x51c], 8
mov ebx, 0xa
cmp dword [esp + 0x528], 0
je 0x45580d
mov eax, dword [esp + 0x98]
sub eax, dword [esp + 0x90]
add eax, 0x17
mov dword [esp + 0x51c], eax
mov eax, dword [esp + 0x9c]
sub eax, dword [esp + 0x94]
cmp eax, dword [esp + 0x4dc]
mov dword [esp + 0xc], eax
jge 0x4557c5
mov ebx, 0xa
mov eax, dword [esp + 0x4dc]
mov ecx, dword [esp + 0xc]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
mov esi, eax
add esi, ebx
jmp 0x4557e9
mov eax, dword [esp + 0x9c]
sub eax, dword [esp + 0x94]
sub eax, dword [esp + 0x4dc]
cdq
sub eax, edx
sar eax, 1
mov ebx, eax
add ebx, 0xa
mov esi, 0xa
push 0
push esi
push 8
mov ecx, dword [esp + 0x90]
call fcn.00435042
push dword [esp + 0x528]
mov ecx, dword [esp + 0x88]
call fcn.00467d55
push 0
push dword [esp + 0x4e0]
push dword [esp + 0x4e0]
push ebx
push dword [esp + 0x52c]
mov ecx, dword [esp + 0x9c]
mov edx, dword [ecx]
call dword [edx + 0x14]
lea ecx, [esp + 0xc0]
push ecx
mov ecx, dword [esp + 0x8c]
mov edx, dword [ecx]
call dword [edx + 0x44]
push 0
push 0
lea ecx, [esp + 0x18]
push ecx
call fcn.004539ef
push dword [esp + 0x540]
lea ecx, [esp + 0x20]
call fcn.00453bfb
lea ecx, [esp + 0x1c]
call fcn.00453d53
add esp, 0xc
cmp dword [esp + 0x60], 0xfffffffd
jl 0x45587c
mov esi, dword [esp + 0x6c]
jmp 0x455881
mov esi, 0xffffffff
cmp esi, 2
je 0x45588b
cmp esi, 0xffffffff
jne 0x455893
movzx esi, word [esp + 0xb8]
lea ecx, [esp + 0x10]
call fcn.00452a76
mov eax, esi
sub eax, dword [esp + 0x8c]
pop edi
pop esi
pop ebx
add esp, 0x514
ret