Function at 0x404310
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49d7d8
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x4c8748]
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 0x404557
lea eax, [ebp - 0x28]
push 0
push eax
call fcn.00414bc0
push 0x30
lea eax, [ebp - 0x74]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.00478960
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], 0x404580
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
je 0x40454f
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 eax, dword [ebp - 0x78]
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x40440e
mov eax, dword [eax]
push ecx
push eax
call fcn.0041ad90
mov dword [edi + 8], eax
test eax, eax
je 0x40454f
push 0x4a39a8
push dword [edi + 4]
push eax
call fcn.0041aec0
test eax, eax
je 0x40454f
push 0x4a39a8
push dword [edi + 4]
call fcn.00423fa0
test eax, eax
je 0x40444f
push 1
push eax
call fcn.0041d080
push str.btn_Cancel
push dword [edi + 4]
call fcn.00423fa0
test eax, eax
je 0x404469
push eax
push dword [edi + 4]
call fcn.00423fd0
push str.linkcheckbox
push dword [edi + 4]
call fcn.00423fa0
mov esi, eax
push 1
push esi
mov eax, dword [esi]
call dword [eax + 0x194]
push 0
push esi
call fcn.0041d110
push 0
push esi
call fcn.0041d080
push 5
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
push dword [edi + 4]
call fcn.00414ff0
add esp, 8
mov dword [ebp - 0x2c], 0
xorps xmm0, xmm0
lea eax, [ebp - 0x44]
movups xmmword [ebp - 0x44], xmm0
push 0
push 0
push 0
push eax
movq qword [ebp - 0x34], xmm0
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x4044fc
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 0x4044d8
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 edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x404557
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x404543
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404577
push edx
push ecx
call fcn.00476d79
add esp, 8
jmp 0x404557
lea ecx, [ebp - 0x28]
call fcn.00401cf0
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.0047702f
mov esp, ebp
pop ebp
ret 4
call fcn.0047c5ae
int3