Function at 0x401cb8
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push esi
mov esi, dword [0x4197c8]
push edi
push 0
mov edi, ecx
push 0xc
call ebx
push eax
push 0xb
call ebx
push eax
push 1
push 0xd5
push esi
call dword [sym.imp.USER32.dll_LoadImageA]
push eax
lea esi, [edi + 4]
push 1
push 0x80
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [0x4197c8]
push 0
push 0x32
mov dword [ebp - 0x10], eax
call ebx
push eax
push 0x31
call ebx
push eax
push 1
push 0xd5
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_LoadImageA]
push eax
push 0
push 0x80
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageA]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x419848]
push eax
call fcn.00402ca5
mov ecx, edi
lea edx, [edi + 0x1c]
neg ecx
sbb ecx, ecx
mov dword [ebp - 0xc], eax
and ecx, edx
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [eax + 4]
call fcn.00402b1e
mov eax, edi
lea ecx, [edi + 0x20]
neg eax
sbb eax, eax
and eax, ecx
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
lea ecx, [eax + 0x10]
call fcn.00402b1e
mov eax, dword [esi]
test eax, eax
je 0x401d97
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [edi + 0x50]
mov word [ebp - 0x10], 4
call fcn.00402d3f
push 1
push 1
mov eax, 0xfffffc18
push 1
push eax
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_MoveWindow]
push 0
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
push 0xb
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageA]
push 0xfffffffffffffff0
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowLongA]
or eax, 0x10ca0000
push eax
push 0xfffffffffffffff0
push dword [esi]
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0xffffffffffffffec
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowLongA]
or eax, 0x40000
push eax
push 0xffffffffffffffec
push dword [esi]
call dword [sym.imp.USER32.dll_SetWindowLongA]
push str._Electronic_Arts_Inc.
push dword [esi]
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 0x3e8
push dword [esi]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [edi + 0x68], eax
lea eax, [edi + 0x6c]
push eax
push 0x412358
push 0x3e8
mov ecx, esi
call fcn.00402069
mov eax, dword [edi + 0x6c]
push 3
push eax
mov ecx, dword [eax]
call dword [ecx + 0x38]
push dword [0x4197b4]
lea ecx, [ebp - 0x10]
call fcn.004020d9
mov eax, dword [eax]
test eax, eax
je 0x401e4d
mov eax, dword [eax]
jmp 0x401e4f
xor eax, eax
mov ecx, dword [edi + 0x6c]
push eax
push ecx
mov edx, dword [ecx]
call dword [edx + 0x58]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x401e65
call fcn.00402140
push 0x419880
lea ecx, [ebp - 0x10]
call fcn.004020d9
mov eax, dword [eax]
test eax, eax
je 0x401e7c
mov ecx, dword [eax]
jmp 0x401e7e
xor ecx, ecx
mov eax, dword [edi + 0x6c]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0xbc]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x401e97
call fcn.00402140
push 0x419870
lea ecx, [ebp - 0x10]
call fcn.0040106e
push dword [ebp - 0x10]
lea ecx, [ebp - 0xc]
call fcn.004020d9
mov eax, dword [eax]
test eax, eax
je 0x401ebc
mov eax, dword [eax]
mov dword [ebp - 4], eax
jmp 0x401ec0
and dword [ebp - 4], 0
push str._level0.TempDir
lea ecx, [ebp - 8]
call fcn.004020d9
mov eax, dword [eax]
test eax, eax
je 0x401ed7
mov ecx, dword [eax]
jmp 0x401ed9
xor ecx, ecx
mov eax, dword [edi + 0x6c]
push dword [ebp - 4]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x104]
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x401ef9
call fcn.00402140
and dword [ebp - 8], 0
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x401f09
call fcn.00402140
and dword [ebp - 0xc], 0
lea ecx, [ebp - 0x10]
call fcn.00401187
push 0x419864
lea ecx, [ebp - 4]
call fcn.0040106e
push dword [ebp - 4]
lea ecx, [ebp - 8]
call fcn.004020d9
mov eax, dword [eax]
test eax, eax
je 0x401f36
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
jmp 0x401f3a
and dword [ebp - 0x10], 0
push str._level0.HomeDir
lea ecx, [ebp - 0xc]
call fcn.004020d9
mov eax, dword [eax]
test eax, eax
je 0x401f51
mov ecx, dword [eax]
jmp 0x401f53
xor ecx, ecx
mov eax, dword [edi + 0x6c]
push dword [ebp - 0x10]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x104]
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x401f73
call fcn.00402140
and dword [ebp - 0xc], 0
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x401f83
call fcn.00402140
and dword [ebp - 8], 0
lea ecx, [ebp - 4]
call fcn.00401187
push 5
call ebx
lea eax, [eax + eax + 0x1f4]
push 6
mov dword [edi + 0x70], eax
call ebx
mov edx, eax
push 4
mov dword [ebp - 0x10], edx
call ebx
mov ecx, dword [ebp - 0x10]
push 0
lea eax, [eax + ecx*2 + 0x12c]
mov dword [edi + 0x74], eax
lea eax, [ebp - 0x24]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
mov ecx, dword [edi + 0x74]
mov eax, dword [ebp - 0x18]
sub eax, ecx
mov ebx, dword [edi + 0x70]
sub eax, dword [ebp - 0x20]
push 0
push ecx
push ebx
cdq
sub eax, edx
sar eax, 1
push eax
mov eax, dword [ebp - 0x1c]
sub eax, ebx
sub eax, dword [ebp - 0x24]
cdq
sub eax, edx
sar eax, 1
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_MoveWindow]
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 5
call ebx
neg eax
push 4
mov dword [ebp - 0xc], eax
call ebx
cdq
sub eax, edx
push 6
mov edx, eax
sar edx, 1
mov dword [ebp - 0x10], edx
call ebx
mov ecx, dword [ebp - 0x10]
xor ebx, ebx
push ebx
push dword [edi + 0x74]
neg eax
push dword [edi + 0x70]
sub eax, ecx
push eax
push dword [ebp - 0xc]
push dword [edi + 0x68]
call dword [sym.imp.USER32.dll_MoveWindow]
push ebx
push 1
push 0xb
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageA]
push 1
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x23
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [esi]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 1
push edi
call fcn.004079c7
pop ecx
pop ecx
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 0x10