Function at 0x4a3890
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp dword [ebx + 0x14], 0
jne 0x4a3c73
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4647f0]
call fcn.004672a0
mov dword [ebx + 0x14], eax
mov eax, dword [ebx + 0x14]
mov dword [eax + 0xc], pe_nt_image_headers32
mov eax, dword [ebx + 0x14]
mov edx, dword [eax + 0x38]
mov dword [ebx + 0x20], edx
mov edx, dword [eax + 0x3c]
mov dword [ebx + 0x24], edx
mov eax, dword [ebx + 0x14]
mov dword [eax + 0x3c], ebx
mov dword [eax + 0x38], 0x4a3870
mov eax, dword [ebx + 0x14]
mov edx, dword [0x4a3c7c]
not edx
and edx, dword [eax + 0x50]
mov eax, dword [ebx + 0x14]
mov dword [eax + 0x50], edx
xor edx, edx
mov eax, dword [ebx + 0x14]
call fcn.00468a64
xor edx, edx
mov eax, dword [ebx + 0x14]
call fcn.004680e4
mov eax, esi
xor edx, edx
call fcn.00505e68
push eax
mov edx, dword [ebx + 0xc]
mov eax, dword [ebx + 4]
call fcn.00513758
pop edx
add edx, eax
push edx
mov edx, dword [ebx + 0xc]
mov eax, dword [ebx + 4]
call fcn.005137c4
pop edx
add edx, eax
mov eax, dword [ebx + 0x10]
add eax, eax
sub edx, eax
mov dword [ebp - 8], edx
mov eax, esi
xor edx, edx
call fcn.00505e7c
push eax
mov edx, dword [ebx + 0xc]
mov eax, dword [ebx + 4]
call fcn.00513814
pop edx
add edx, eax
push edx
mov edx, dword [ebx + 0xc]
mov eax, dword [ebx + 4]
call fcn.00513708
pop edx
add edx, eax
mov eax, dword [ebx + 0x10]
add eax, eax
sub edx, eax
mov dword [ebp - 4], edx
mov byte [0x5b9e06], 0xff
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.004a375c
mov eax, edi
xor edx, edx
call fcn.00505e68
mov dword [ebp - 0x14], eax
mov eax, edi
xor edx, edx
call fcn.00505e7c
mov dword [ebp - 0x18], eax
mov eax, esi
xor edx, edx
call fcn.00505e68
cmp eax, dword [ebp - 0x14]
jne 0x4a39b6
mov eax, esi
xor edx, edx
call fcn.00505e7c
cmp eax, dword [ebp - 0x18]
je 0x4a3b03
cmp dword [edi], 0
je 0x4a39d0
mov edx, dword [ebx + 0xc]
mov eax, dword [ebx + 4]
call fcn.00513758
add eax, dword [edi]
sub eax, dword [ebx + 0x10]
mov dword [ebp - 0x1c], eax
jmp 0x4a39d5
xor eax, eax
mov dword [ebp - 0x1c], eax
cmp dword [edi + 4], 0
je 0x4a39f1
mov edx, dword [ebx + 0xc]
mov eax, dword [ebx + 4]
call fcn.00513758
add eax, dword [edi + 4]
sub eax, dword [ebx + 0x10]
mov dword [ebp - 0x24], eax
jmp 0x4a39f6
xor eax, eax
mov dword [ebp - 0x24], eax
mov eax, esi
xor edx, edx
call fcn.00505e68
cmp eax, dword [edi + 8]
je 0x4a3a3b
cmp dword [ebp - 0x1c], 0
jne 0x4a3a2d
mov eax, esi
xor edx, edx
call fcn.00505e68
sub eax, dword [ebp - 0x14]
push eax
mov edx, dword [ebx + 0xc]
mov eax, dword [ebx + 4]
call fcn.005137c4
pop edx
add edx, eax
sub edx, dword [ebx + 0x10]
mov dword [ebp - 0x20], edx
jmp 0x4a3a40
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
jmp 0x4a3a40
xor eax, eax
mov dword [ebp - 0x20], eax
mov eax, esi
xor edx, edx
call fcn.00505e7c
cmp eax, dword [edi + 0xc]
je 0x4a3a81
cmp dword [ebp - 0x24], 0
jne 0x4a3a76
mov eax, esi
xor edx, edx
call fcn.00505e7c
mov edi, eax
sub edi, dword [ebp - 0x18]
mov edx, dword [ebx + 0xc]
mov eax, dword [ebx + 4]
call fcn.00513708
add edi, eax
mov eax, edi
sub eax, dword [ebx + 0x10]
jmp 0x4a3a83
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x18]
jmp 0x4a3a83
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 0x4a3aa6
cmp dword [ebp - 0x24], 0
je 0x4a3b0d
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.004d0048
mov dword [ebp - 0x28], eax
push 0xcc0020
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebx + 0x18]
call fcn.00429a18
call fcn.00424f0c
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
mov eax, dword [ebp - 0x28]
call fcn.00429a18
call fcn.00424f0c
push eax
call sub.gdi32.dll_BitBlt
mov edx, dword [ebp - 0x28]
mov eax, dword [ebx + 0x18]
mov ecx, dword [eax]
call dword [ecx + 8]
lea eax, [ebp - 0x28]
call fcn.0040e318
jmp 0x4a3b0d
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 + 0x14]
call fcn.0044e114
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x14]
call fcn.0044e138
push 0xffffffffffffffec
mov eax, dword [ebp + 8]
push eax
call sub.user32.dll_GetWindowLongA
and eax, 8
cmp eax, 8
jne 0x4a3b3b
or edi, 0xffffffff
jmp 0x4a3b48
push 3
mov eax, dword [ebp + 8]
push eax
call sub.user32.dll_GetWindow
mov edi, eax
push 0
lea eax, [ebp - 0x40]
push eax
mov edx, dword [ebx + 0xc]
mov eax, dword [ebx + 4]
call fcn.00513814
mov edx, dword [esi + 4]
sub edx, eax
add edx, dword [ebx + 0x10]
add edx, dword [ebp - 0x24]
push edx
mov edx, dword [ebx + 0xc]
mov eax, dword [ebx + 4]
call fcn.00513758
push eax
mov eax, dword [esi]
pop edx
sub eax, edx
add eax, dword [ebx + 0x10]
add eax, dword [ebp - 0x1c]
xor ecx, ecx
pop edx
call fcn.00406974
test edi, edi
jne 0x4a3b8b
mov edi, dword [ebp + 8]
mov eax, dword [ebx + 0x14]
call fcn.00455280
mov eax, dword [ebx + 0x14]
call fcn.004555a8
test al, al
je 0x4a3c6b
mov dword [ebp - 0x30], 0x80800a0
mov dword [ebp - 0x2c], 0
push 0xffffffffffffffec
mov eax, dword [ebx + 0x14]
call fcn.004552a4
push eax
call sub.user32.dll_GetWindowLongA
or eax, dword [ebp - 0x30]
push eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x14]
call fcn.004552a4
push eax
call sub.user32.dll_SetWindowLongA
push 0x611
push 0
push 0
mov eax, dword [ebp - 0x3c]
push eax
mov esi, dword [ebp - 0x40]
push esi
push edi
mov eax, dword [ebx + 0x14]
call fcn.004552a4
push eax
call sub.user32.dll_SetWindowPos
mov edx, esi
mov eax, dword [ebx + 0x14]
call fcn.0044e0c8
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebx + 0x14]
call fcn.0044e0ec
lea ecx, [ebp - 0x10]
xor edx, edx
xor eax, eax
call fcn.00406990
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 2
push 0x5b9e04
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebx + 0x18]
call fcn.00429a18
call fcn.00424f0c
push eax
lea eax, [ebp - 8]
push eax
push 0
push esi
mov eax, dword [ebx + 0x14]
call fcn.004552a4
push eax
mov eax, dword [0x5b8874]
mov eax, dword [eax]
call eax
push 4
mov eax, dword [ebx + 0x14]
call fcn.004552a4
push eax
call sub.user32.dll_ShowWindow
push esi
push 0
call sub.user32.dll_ReleaseDC
lea eax, [ebx + 0x18]
call fcn.0040e318
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8