Function at 0x404490
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x499bf8
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x4c3718]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x78], eax
cmp dword [eax + 0x10], 0
je 0x404711
lea eax, [ebp - 0x28]
push 0
push eax
call fcn.00411d50
push 0x2c
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.00474170
add esp, 0x14
mov dword [ebp - 0x74], 0x30
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp dword [ebp - 0x14], 8
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x74]
push eax
mov dword [ebp - 0x6c], 0x404740
call dword [sym.imp.USER32.dll_RegisterClassExW]
cmp dword [ebp - 0x14], 8
lea esi, [ebp - 0x28]
push 0
cmovae esi, dword [ebp - 0x28]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push SysReAllocString
push 0
push esi
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [edi + 4], eax
test eax, eax
jne 0x40456b
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x404711
inc eax
push eax
jmp 0x404706
push 0xffffffffffffffec
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov esi, dword [sym.imp.USER32.dll_SetWindowLongW]
or eax, 0x80
push eax
push 0xffffffffffffffec
push dword [edi + 4]
call esi
push edi
push 0xffffffffffffffeb
push dword [edi + 4]
call esi
mov ecx, dword [ebp - 0x78]
push dword [ecx + 0x10]
call fcn.004610a0
push eax
call fcn.00416170
mov dword [edi + 8], eax
test eax, eax
je 0x4046fc
push 0x49e6d0
push dword [edi + 4]
push eax
call fcn.004162a0
test eax, eax
je 0x4046fc
push 0x49e6d0
push dword [edi + 4]
call fcn.0041e340
test eax, eax
je 0x4045da
push 1
push eax
call fcn.00417ce0
push str.btn_Cancel
push dword [edi + 4]
call fcn.0041e340
test eax, eax
je 0x4045f4
push eax
push dword [edi + 4]
call fcn.0041e370
push str.linkcheckbox
push dword [edi + 4]
call fcn.0041e340
mov esi, eax
push 1
push esi
mov eax, dword [esi]
call dword [eax + 0x194]
push 0
push esi
call fcn.00417d90
push 0
push esi
call fcn.00417ce0
push 5
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
push dword [edi + 4]
call fcn.00412130
add esp, 8
mov dword [ebp - 0x44], 0
xorps xmm0, xmm0
lea eax, [ebp - 0x44]
movups xmmword [ebp - 0x40], xmm0
push 0
push 0
push 0
push eax
movq qword [ebp - 0x30], xmm0
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x404687
mov esi, dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x44]
push eax
call esi
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0
push 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x404663
cmp dword [ebp - 0x14], 8
lea esi, [ebp - 0x28]
push 0
cmovae esi, dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
push esi
call dword [sym.imp.USER32.dll_UnregisterClassW]
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x404711
mov ecx, dword [ebp - 0x28]
inc eax
cmp eax, 0x7fffffff
jbe 0x4046ba
call fcn.00478b61
add eax, eax
cmp eax, 0x1000
jb 0x4046f1
test cl, 0x1f
je 0x4046cd
call fcn.00478b61
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x4046d9
call fcn.00478b61
sub ecx, eax
cmp ecx, 4
jae 0x4046e5
call fcn.00478b61
cmp ecx, 0x23
jbe 0x4046ef
call fcn.00478b61
mov ecx, eax
push ecx
call fcn.004729a5
add esp, 4
jmp 0x404711
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x404711
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.00404150
mov eax, dword [edi + 0xc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00472961
mov esp, ebp
pop ebp
ret 4