Function at 0x4a3228
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp dword [ebx + 0x10], 0
jne 0x4a35a4
xor ecx, ecx
mov dl, 1
mov eax, dword [0x45d5ac]
call fcn.0046005c
mov dword [ebx + 0x10], eax
mov eax, dword [ebx + 0x10]
mov edx, dword [eax + 0x38]
mov dword [ebx + 0x18], edx
mov edx, dword [eax + 0x3c]
mov dword [ebx + 0x1c], edx
mov eax, dword [ebx + 0x10]
mov dword [eax + 0x3c], ebx
mov dword [eax + 0x38], 0x4a3208
mov eax, dword [ebx + 0x10]
mov edx, dword [0x4a35b0]
not edx
and edx, dword [eax + 0x50]
mov eax, dword [ebx + 0x10]
mov dword [eax + 0x50], edx
xor edx, edx
mov eax, dword [ebx + 0x10]
call fcn.00461820
xor edx, edx
mov eax, dword [ebx + 0x10]
call fcn.00460ea0
mov eax, esi
xor edx, edx
call fcn.004f5cdc
push eax
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
call fcn.004ef860
pop edx
add edx, eax
push edx
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
call fcn.004ef8e0
pop edx
add edx, eax
mov eax, dword [ebx + 0xc]
add eax, eax
sub edx, eax
mov dword [ebp - 8], edx
mov eax, esi
xor edx, edx
call fcn.004f5cf0
push eax
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
call fcn.004ef948
pop edx
add edx, eax
push edx
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
call fcn.004ef7f8
pop edx
add edx, eax
mov eax, dword [ebx + 0xc]
add eax, eax
sub edx, eax
mov dword [ebp - 4], edx
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.004a312c
mov eax, edi
xor edx, edx
call fcn.004f5cdc
mov dword [ebp - 0x14], eax
mov eax, edi
xor edx, edx
call fcn.004f5cf0
mov dword [ebp - 0x18], eax
mov eax, esi
xor edx, edx
call fcn.004f5cdc
cmp eax, dword [ebp - 0x14]
jne 0x4a333d
mov eax, esi
xor edx, edx
call fcn.004f5cf0
cmp eax, dword [ebp - 0x18]
je 0x4a3486
cmp dword [edi], 0
je 0x4a3357
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
call fcn.004ef860
add eax, dword [edi]
sub eax, dword [ebx + 0xc]
mov dword [ebp - 0x1c], eax
jmp 0x4a335c
xor eax, eax
mov dword [ebp - 0x1c], eax
cmp dword [edi + 4], 0
je 0x4a3378
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
call fcn.004ef860
add eax, dword [edi + 4]
sub eax, dword [ebx + 0xc]
mov dword [ebp - 0x24], eax
jmp 0x4a337d
xor eax, eax
mov dword [ebp - 0x24], eax
mov eax, esi
xor edx, edx
call fcn.004f5cdc
cmp eax, dword [edi + 8]
je 0x4a33c2
cmp dword [ebp - 0x1c], 0
jne 0x4a33b4
mov eax, esi
xor edx, edx
call fcn.004f5cdc
sub eax, dword [ebp - 0x14]
push eax
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
call fcn.004ef8e0
pop edx
add edx, eax
sub edx, dword [ebx + 0xc]
mov dword [ebp - 0x20], edx
jmp 0x4a33c7
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
jmp 0x4a33c7
xor eax, eax
mov dword [ebp - 0x20], eax
mov eax, esi
xor edx, edx
call fcn.004f5cf0
cmp eax, dword [edi + 0xc]
je 0x4a3408
cmp dword [ebp - 0x24], 0
jne 0x4a33fd
mov eax, esi
xor edx, edx
call fcn.004f5cf0
mov edi, eax
sub edi, dword [ebp - 0x18]
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
call fcn.004ef7f8
add edi, eax
mov eax, edi
sub eax, dword [ebx + 0xc]
jmp 0x4a340a
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x18]
jmp 0x4a340a
xor eax, eax
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x20]
mov dword [ebp - 8], edx
mov edx, dword [ebp - 4]
sub edx, dword [ebp - 0x24]
sub edx, eax
mov dword [ebp - 4], edx
cmp dword [ebp - 0x1c], 0
jne 0x4a342d
cmp dword [ebp - 0x24], 0
je 0x4a3490
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.004de920
mov edi, eax
push 0xcc0020
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebx + 0x14]
call fcn.0042911c
call fcn.0042476c
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
mov eax, edi
call fcn.0042911c
call fcn.0042476c
push eax
call sub.gdi32.dll_BitBlt
mov edx, edi
mov eax, dword [ebx + 0x14]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, edi
call fcn.00403b50
jmp 0x4a3490
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebx + 0x10]
call fcn.00447158
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x10]
call fcn.0044717c
push 0xffffffffffffffec
mov eax, dword [ebp + 8]
push eax
call sub.user32.dll_GetWindowLongA
and eax, 8
cmp eax, 8
jne 0x4a34c8
mov dl, 3
mov eax, dword [ebx + 0x10]
call fcn.00461b1c
or edi, 0xffffffff
jmp 0x4a34ca
xor edi, edi
push 0x14
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
push eax
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
call fcn.004ef948
mov edx, dword [esi + 4]
sub edx, eax
add edx, dword [ebx + 0xc]
add edx, dword [ebp - 0x24]
push edx
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
call fcn.004ef860
mov edx, dword [esi]
sub edx, eax
add edx, dword [ebx + 0xc]
add edx, dword [ebp - 0x1c]
push edx
push edi
mov eax, dword [ebx + 0x10]
call fcn.0044e1bc
push eax
call sub.user32.dll_SetWindowPos
lea ecx, [ebp - 0x10]
xor edx, edx
xor eax, eax
call fcn.00418420
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x10]
call fcn.0044e1bc
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
or eax, 0x80
push eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x10]
call fcn.0044e1bc
push eax
call sub.user32.dll_SetWindowLongA
push 2
push 0x511030
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebx + 0x14]
call fcn.0042911c
call fcn.0042476c
push eax
lea eax, [ebp - 8]
push eax
push 0
push esi
mov eax, dword [ebx + 0x10]
call fcn.0044e1bc
push eax
mov eax, dword [0x50ed38]
mov eax, dword [eax]
call eax
push 4
mov eax, dword [ebx + 0x10]
call fcn.0044e1bc
push eax
call sub.user32.dll_ShowWindow
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x14]
call fcn.00403b50
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8