Function at 0x40271c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x408
mov eax, dword [0x42f560]
xor eax, esp
mov dword [esp + 0x404], eax
mov eax, dword [ebp + 8]
mov dword [0x438f5c], eax
add eax, 5
push esi
push edi
cmp eax, 4
ja case.default.0x402510
jmp dword [eax*4 + 0x402a20]
mov eax, dword [0x438f04]
mov esi, dword [sym.imp.USER32.dll_KillTimer]
push 0x64
push eax
call esi
mov ecx, dword [0x438f04]
push 0xc8
push ecx
call esi
mov edx, dword [0x438f0c]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push edx
call esi
mov eax, dword [0x438f04]
push 0
push 0xf060
push 0
push eax
call dword [sym.imp.USER32.dll_GetSystemMenu]
push eax
call dword [sym.imp.USER32.dll_EnableMenuItem]
mov edi, dword [0x438f04]
call fcn.00405b70
mov ecx, dword [0x438f88]
mov edx, dword [0x438fb4]
push ecx
push edx
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov edx, dword [0x438f20]
add esp, 0xc
lea ecx, [esp + 8]
push ecx
push edx
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov eax, dword [0x438f20]
push 5
push eax
call esi
mov ecx, dword [0x438f2c]
push 5
mov edi, 1
push ecx
mov dword [0x438f4c], edi
call esi
cmp dword [0x438f84], 0
mov dword [0x43420c], edi
je 0x4025ec
cmp dword [0x431dd0], 0
je 0x4025ec
mov edx, dword [0x438f88]
mov eax, dword [0x438fb4]
push 0x40
push edx
push eax
xor eax, eax
call fcn.00409070
add esp, 0xc
mov dword [0x431dd4], 0x669
pop edi
pop esi
mov ecx, dword [esp + 0x404]
xor ecx, esp
call fcn.00416a72
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x438f04]
mov esi, dword [sym.imp.USER32.dll_KillTimer]
push 0x64
push ecx
call esi
mov edx, dword [0x438f04]
push 0xc8
push edx
call esi
mov eax, dword [0x438f0c]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call esi
mov ecx, dword [0x438f04]
push 0
push 0xf060
push 0
push ecx
call dword [sym.imp.USER32.dll_GetSystemMenu]
push eax
call dword [sym.imp.USER32.dll_EnableMenuItem]
mov edi, dword [0x438f04]
call fcn.00405b70
mov edx, dword [0x438f88]
mov eax, dword [0x438fb8]
push edx
push eax
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [0x438f20]
add esp, 0xc
lea edx, [esp + 8]
push edx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov ecx, dword [0x438f20]
push 5
push ecx
call esi
cmp dword [0x438f34], 0
je 0x4026c9
mov eax, dword [0x435ecc]
test eax, eax
je 0x4026c9
push 4
push str.http
push eax
call fcn.0041a0d9
add esp, 0xc
test eax, eax
jne 0x4026c9
mov edx, dword [0x438f34]
push 5
push edx
call esi
cmp dword [0x438f84], 0
mov dword [0x43420c], 1
je 0x4026fe
cmp dword [0x431dd0], 0
je 0x4026fe
mov eax, dword [0x438f88]
mov ecx, dword [0x438fb8]
push 0x40
push eax
push ecx
xor eax, eax
call fcn.00409070
add esp, 0xc
mov dword [0x431dd4], 0x661
pop edi
pop esi
mov ecx, dword [esp + 0x404]
xor ecx, esp
call fcn.00416a72
mov esp, ebp
pop ebp
ret
mov edx, dword [0x438f04]
mov esi, dword [sym.imp.USER32.dll_KillTimer]
push 0x64
push edx
call esi
mov eax, dword [0x438f04]
push 0xc8
push eax
call esi
mov ecx, dword [0x438f0c]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push ecx
call esi
mov edx, dword [0x438f04]
push 0
push 0xf060
push 0
push edx
call dword [sym.imp.USER32.dll_GetSystemMenu]
push eax
call dword [sym.imp.USER32.dll_EnableMenuItem]
mov edi, dword [0x438f04]
call fcn.00405b70
mov eax, dword [0x438f88]
mov ecx, dword [0x438fbc]
push eax
push ecx
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, dword [0x438f20]
add esp, 0xc
lea eax, [esp + 8]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov edx, dword [0x438f20]
push 5
push edx
call esi
cmp dword [0x438f34], 0
je 0x4027db
mov eax, dword [0x435e88]
test eax, eax
je 0x4027db
push 4
push str.http
push eax
call fcn.0041a0d9
add esp, 0xc
test eax, eax
jne 0x4027db
mov eax, dword [0x438f34]
push 5
push eax
call esi
cmp dword [0x438f84], 0
mov dword [0x43420c], 1
je 0x4029ff
cmp dword [0x431dd0], 0
je 0x4029ff
mov ecx, dword [0x438f88]
mov edx, dword [0x438fbc]
push 0x40
push ecx
push edx
jmp 0x4029f5
mov eax, dword [0x438f04]
mov esi, dword [sym.imp.USER32.dll_KillTimer]
push 0x64
push eax
call esi
mov ecx, dword [0x438f04]
push 0xc8
push ecx
call esi
mov edx, dword [0x438f0c]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push edx
call esi
mov eax, dword [0x438f04]
push 0
push 0xf060
push 0
push eax
call dword [sym.imp.USER32.dll_GetSystemMenu]
push eax
call dword [sym.imp.USER32.dll_EnableMenuItem]
mov edi, dword [0x438f04]
call fcn.00405b70
mov ecx, dword [0x438f88]
mov edx, dword [0x438fc0]
push ecx
push edx
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov edx, dword [0x438f20]
add esp, 0xc
lea ecx, [esp + 8]
push ecx
push edx
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov eax, dword [0x438f20]
push 5
push eax
call esi
cmp dword [0x438f34], 0
je 0x4028d3
mov eax, dword [0x435ed0]
test eax, eax
je 0x4028d3
push 4
push str.http
push eax
call fcn.0041a0d9
add esp, 0xc
test eax, eax
jne 0x4028d3
mov ecx, dword [0x438f34]
push 5
push ecx
call esi
cmp dword [0x438f84], 0
mov dword [0x43420c], 1
je 0x4029ff
cmp dword [0x431dd0], 0
je 0x4029ff
mov edx, dword [0x438f88]
mov eax, dword [0x438fc0]
push 0x40
push edx
push eax
jmp 0x4029f5
mov ecx, dword [0x438f04]
mov esi, dword [sym.imp.USER32.dll_KillTimer]
push 0x64
push ecx
call esi
mov edx, dword [0x438f04]
push 0xc8
push edx
call esi
mov eax, dword [0x438f0c]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call esi
mov ecx, dword [0x438f04]
push 0
push 0xf060
push 0
push ecx
call dword [sym.imp.USER32.dll_GetSystemMenu]
push eax
call dword [sym.imp.USER32.dll_EnableMenuItem]
mov edi, dword [0x438f04]
call fcn.00405b70
mov edx, dword [0x438f88]
mov eax, dword [0x438fc4]
push edx
push eax
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [0x438f20]
add esp, 0xc
lea edx, [esp + 8]
push edx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov ecx, dword [0x438f20]
push 5
push ecx
call esi
cmp dword [0x438f34], 0
je 0x4029ca
mov eax, dword [0x435e68]
test eax, eax
je 0x4029ca
push 4
push str.http
push eax
call fcn.0041a0d9
add esp, 0xc
test eax, eax
jne 0x4029ca
mov edx, dword [0x438f34]
push 5
push edx
call esi
cmp dword [0x438f84], 0
mov dword [0x43420c], 1
je 0x4029ff
cmp dword [0x431dd0], 0
je 0x4029ff
mov eax, dword [0x438f88]
mov ecx, dword [0x438fc4]
push 0x40
push eax
push ecx
xor eax, eax
call fcn.00409070
add esp, 0xc
mov dword [0x431dd4], 0x27a
mov ecx, dword [esp + 0x40c]
pop edi
pop esi
xor ecx, esp
call fcn.00416a72
mov esp, ebp
pop ebp
ret