Function at 0x401750
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x428930
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4362ac]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x34]
mov eax, dword [ebp + 4]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3e9
push eax
call ebx
mov dword [ebp + 0x24], eax
mov ecx, dword [ebp + 4]
push ecx
call dword [sym.imp.USER32.dll_GetDC]
mov dword [esp + 0x20], eax
xor ecx, ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x14], ecx
mov edi, eax
lea esi, [esp + 0x14]
mov byte [esp + 0x2c], 1
call fcn.00403ff0
mov edx, dword [ebp + 4]
push 8
push edx
mov esi, eax
call ebx
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 1
push esi
push 0x30
push eax
call edi
mov eax, dword [ebp + 4]
push 0x3ef
push eax
call ebx
push 1
push esi
push 0x30
push eax
call edi
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x4017f9
mov dword [esp + 0x14], 0
mov edx, dword [ebp + 4]
mov edi, dword [sym.imp.USER32.dll_SetWindowTextA]
push 0x42c4b4
push edx
call edi
mov eax, dword [ebp + 4]
push 1
push eax
call ebx
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call esi
mov ecx, dword [ebp + 4]
push 0x3ee
push ecx
call ebx
push 0
push eax
call esi
mov edx, dword [ebp + 4]
push 0x3e9
push edx
call ebx
push 0
push eax
call esi
mov eax, dword [ebp + 4]
push 4
push eax
call ebx
push 0
push eax
call esi
mov edx, dword [0x438c4c]
mov eax, dword [edx + 0xc]
mov ecx, 0x438c4c
call eax
add eax, 0x10
mov dword [esp + 0x34], eax
mov byte [esp + 0x2c], 2
mov eax, dword [ebp + 0x30]
cmp eax, 1
jne 0x4019b6
mov eax, dword [ebp + 0x38]
test eax, eax
je 0x4018fe
lea ebx, [esp + 0x34]
cmp eax, 0xffffffff
jne 0x4018c5
mov edx, str.WEB_c
call fcn.00403d10
mov ecx, dword [ebp + 4]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3024
push ecx
call ebx
push 0
push eax
call esi
mov edx, dword [ebp + 4]
push 1
push edx
call ebx
push 5
push eax
call esi
mov eax, dword [ebp + 4]
push 2
push eax
call ebx
push 0
push eax
call esi
jmp 0x401a42
mov edx, 0x42c4dc
call fcn.00403d10
lea edx, [esp + 0x18]
push 0x42c51c
lea ecx, [ebp + 0x48]
push edx
call fcn.00403e10
add esp, 8
mov byte [esp + 0x2c], 3
mov eax, dword [eax]
mov edx, dword [eax - 0xc]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.004042c0
jmp 0x401a1d
lea edx, [esp + 0x1c]
push edx
lea ecx, [ebp + 0x44]
mov edx, 0x42c520
call fcn.00403ef0
lea ecx, [esp + 0x1c]
push 0x42c51c
push ecx
mov ecx, eax
mov byte [esp + 0x38], 4
call fcn.00403e10
add esp, 0xc
lea ebx, [esp + 0x34]
mov byte [esp + 0x2c], 5
call fcn.00404260
mov byte [esp + 0x2c], 4
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40195c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2c], 2
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401981
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp + 4]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3024
push ecx
call ebx
push 0
push eax
call esi
mov edx, dword [ebp + 4]
push 1
push edx
call ebx
push 5
push eax
call esi
mov eax, dword [ebp + 4]
push 2
push eax
call ebx
push 0
push eax
call esi
jmp 0x401a42
cmp eax, 2
jne 0x401a48
lea edx, [esp + 0x18]
push edx
lea ecx, [ebp + 0x44]
mov edx, 0x42c558
call fcn.00403ef0
lea ecx, [esp + 0x20]
push 0x42c51c
push ecx
mov ecx, eax
mov byte [esp + 0x38], 6
call fcn.00403e10
add esp, 0xc
lea ebx, [esp + 0x34]
mov byte [esp + 0x2c], 7
call fcn.00404260
mov byte [esp + 0x2c], 6
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x401a1d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2c], 2
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401a42
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [ebp + 4]
push 0x3ed
push ecx
call ebx
mov esi, dword [esp + 0x34]
push esi
push eax
call edi
lea eax, [esi - 0x10]
mov dword [ebp + 0x90], 1
mov byte [esp + 0x2c], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x401a86
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x401a95
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x401aa4
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, 1
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 4