Function at 0x403df0
Capabilities:
Hide graphical window
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4357d0
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
mov eax, dword [0x4451b0]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov eax, dword [edi + 4]
push 0x682
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [edi + 4]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push ecx
call ebx
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [edi + 4]
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
lea esi, [esp + 0x24]
mov eax, edi
call fcn.00404060
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
push edx
push eax
mov ecx, esi
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x404028
mov edx, dword [edi + 4]
push eax
push edx
call ebx
call fcn.004050c0
mov ecx, str.click
call fcn.0040b7d0
cmp dword [edi + 0x258], 0
je 0x403eb3
cmp dword [edi + 0x25c], 8
jb 0x403ea8
mov ecx, dword [edi + 0x248]
jmp 0x403eae
lea ecx, [edi + 0x248]
call fcn.0040c5f0
lea esi, [esp + 0x14]
call fcn.00404990
xor ebx, ebx
mov dword [esp + 0x40], ebx
mov esi, dword [eax]
call fcn.0040c310
test eax, eax
jne 0x403ed1
xor esi, esi
jmp 0x403ef3
push esi
push 0x44a5b8
lea esi, [esp + 0x14]
mov dword [esp + 0x14], ebx
call fcn.0040c120
cmp eax, ebx
je 0x403ef1
cmp dword [esp + 0xc], 3
jne 0x403ef1
xor eax, eax
mov esi, eax
mov dword [esp + 0x40], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403f1b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, ebx
je 0x40400c
lea esi, [esp + 0xc]
mov eax, edi
mov dword [esp + 0x10], ebx
call fcn.00404950
lea esi, [esp + 0x14]
mov dword [esp + 0x40], 1
call fcn.00404990
mov eax, dword [eax]
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push ecx
mov ecx, eax
call fcn.0040cee0
mov esi, eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x403f7a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, ebx
je 0x403f8a
call fcn.004050c0
mov ecx, str.runloader_succ
jmp 0x403fdd
lea esi, [esp + 0x18]
call fcn.00404990
mov eax, dword [eax]
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push ecx
mov ecx, eax
call fcn.0040cee0
mov esi, eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
add esp, 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x403fca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.004050c0
mov ecx, str.runloader_succ
cmp esi, ebx
jne 0x403fdd
mov ecx, str.runloader_fail
call fcn.0040b7d0
mov dword [esp + 0x40], 0xffffffff
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404039
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x404039
push str._n_loader_check_sign_fail____n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call fcn.004050c0
mov ecx, str.checksign_fail
call fcn.0040b7d0
jmp 0x404039
call fcn.004050c0
mov ecx, str.click_exit
call fcn.0040b7d0
xor ebx, ebx
mov ecx, dword [edi + 4]
push ebx
push ebx
push 0x10
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret