Function at 0x437fe0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push reloc.kernel32.dll_FileTimeToLocalFileTime
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x52bd60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x40], ebx
mov eax, dword [ebp + 0xc]
mov cl, byte [ebp + 8]
mov esi, dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov dword [ebp - 0x38], eax
mov edx, 0xff
mov eax, reloc.kernel32.dll_SetConsoleCursorPosition
test cl, cl
mov edi, edx
cmovne edi, eax
xor eax, eax
test cl, cl
cmovne eax, edx
mov byte [ebp - 0x2d], 0
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x3c], reloc.kernel32.dll_SetConsoleCursorPosition
jne 0x438053
mov dword [ebp - 0x3c], 0xffffffec
jmp 0x438241
push 5
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 2
push 1
push 0
push dword [ebx + 4]
call esi
test eax, eax
jne 0x4381eb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [ebp - 0x38]
push eax
push str.doFadeWindow_SetLayeredWindowAttributes__d
push edi
call fcn.00404c00
mov eax, dword [0x52b6d0]
add esp, 0xc
mov ecx, 0x52b6d0
call dword [eax + reloc.kernel32.dll_AssignProcessToJobObject]
add eax, 0x10
mov dword [ebp - 0x34], eax
mov eax, str.doFadeWindow
mov dword [ebp - 4], 0
test eax, 0xffff0000
jne 0x4380c9
movzx esi, ax
mov ecx, esi
call fcn.00405530
test eax, eax
je 0x4380d8
push esi
push eax
lea ecx, [ebp - 0x34]
call fcn.00404a70
jmp 0x4380d8
push reloc.kernel32.dll_AssignProcessToJobObject
push str.doFadeWindow
lea ecx, [ebp - 0x34]
call fcn.004046b0
mov dword [ebp - 4], 1
mov eax, dword [0x52b6d0]
mov ecx, 0x52b6d0
call dword [eax + reloc.kernel32.dll_AssignProcessToJobObject]
add eax, 0x10
mov dword [ebp - 0x3c], eax
push edi
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.00431c80
add esp, 4
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebx + 0x5c]
mov edx, dword [eax]
mov edi, dword [ecx]
lea eax, [edx - 0x10]
sub edi, 0x10
or esi, 0xffffffff
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x38], eax
cmp eax, edi
je 0x43816c
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x438160
mov eax, dword [eax]
cmp eax, dword [edi]
jne 0x438160
mov ecx, dword [ebp - 0x38]
call fcn.00404770
mov dword [ebp - 0x38], eax
mov ecx, esi
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x438156
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + reloc.kernel32.dll_IsBadStringPtrA]
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x4c]
add eax, 0x10
mov dword [ecx], eax
jmp 0x438169
push dword [edx - 0xc]
push edx
call fcn.004046b0
mov ebx, dword [ebp - 0x40]
mov ecx, dword [ebx + 0x64]
test ecx, ecx
je 0x438185
push 2
push dword [ebp - 0x48]
lea eax, [ebp - 0x34]
push eax
lea eax, [ebx + 0x60]
push eax
call fcn.004018b0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x44]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4381a5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x3c]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4381c5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
mov dword [ebp - 4], 0xffffffff
mov edi, dword [ebp - 0x34]
add edi, 0xfffffff0
lea eax, [edi + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x4381e6
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + reloc.kernel32.dll_IsBadStringPtrA]
mov al, byte [ebp - 0x2d]
jmp 0x438255
mov esi, dword [sym.imp.USER32.dll_PeekMessageW]
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x2c]
push eax
call esi
test eax, eax
je 0x438235
mov ebx, dword [sym.imp.USER32.dll_TranslateMessage]
lea esp, [esp]
lea eax, [ebp - 0x2c]
push eax
call ebx
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x2c]
push eax
call esi
test eax, eax
jne 0x438210
mov ebx, dword [ebp - 0x40]
mov esi, dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov eax, dword [ebp - 0x34]
mov cl, byte [ebp + 8]
test cl, cl
je 0x438273
cmp edi, eax
jl 0x438277
push 2
push eax
push 0
push dword [ebx + 4]
call esi
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b4591
mov esp, ebp
pop ebp
ret 8
cmp edi, eax
jle 0x438249
push 2
push edi
push 0
push dword [ebx + 4]
call esi
test eax, eax
je 0x4382d6
push reloc.kernel32.dll_FormatMessageA
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x530408]
imul eax, eax
cdq
mov ecx, reloc.kernel32.dll_GetConsoleOutputCP
idiv ecx
cmp edx, 0x11
jne 0x4382ce
mov eax, 0xee
mov esi, reloc.kernel32.dll_SetSystemTime
lea esp, [esp]
test esi, esi
je 0x4382c1
cdq
idiv esi
mov ecx, esi
mov eax, ecx
mov esi, edx
test ecx, ecx
jne 0x4382b0
add eax, esi
mov esi, dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov dword [0x530408], eax
add edi, dword [ebp - 0x3c]
jmp 0x43823b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [ebp - 0x38]
push eax
push str.doFadeWindow_SetLayeredWindowAttributes__d
push edi
call fcn.00404c00
mov eax, dword [0x52b6d0]
add esp, 0xc
mov ecx, 0x52b6d0
call dword [eax + reloc.kernel32.dll_AssignProcessToJobObject]
add eax, 0x10
mov dword [ebp - 0x34], eax
mov eax, str.doFadeWindow
mov dword [ebp - 4], 4
test eax, 0xffff0000
jne 0x43832e
movzx esi, ax
mov ecx, esi
call fcn.00405530
test eax, eax
je 0x43833d
push esi
push eax
lea ecx, [ebp - 0x34]
call fcn.00404a70
jmp 0x43833d
push reloc.kernel32.dll_AssignProcessToJobObject
push str.doFadeWindow
lea ecx, [ebp - 0x34]
call fcn.004046b0
mov dword [ebp - 4], 5
mov eax, dword [0x52b6d0]
mov ecx, 0x52b6d0
call dword [eax + reloc.kernel32.dll_AssignProcessToJobObject]
add eax, 0x10
mov dword [ebp - 0x38], eax
push edi
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 6
call fcn.00431c80
add esp, 4
mov dword [ebp - 0x4c], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebx + 0x5c]
mov edx, dword [eax]
mov edi, dword [ecx]
lea eax, [edx - 0x10]
sub edi, 0x10
or esi, 0xffffffff
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], eax
cmp eax, edi
je 0x4383d1
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x4383c5
mov eax, dword [eax]
cmp eax, dword [edi]
jne 0x4383c5
mov ecx, dword [ebp - 0x44]
call fcn.00404770
mov dword [ebp - 0x44], eax
mov ecx, esi
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x4383bb
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + reloc.kernel32.dll_IsBadStringPtrA]
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x48]
add eax, 0x10
mov dword [ecx], eax
jmp 0x4383ce
push dword [edx - 0xc]
push edx
call fcn.004046b0
mov ebx, dword [ebp - 0x40]
mov ecx, dword [ebx + 0x64]
test ecx, ecx
je 0x4383ea
push 2
push dword [ebp - 0x4c]
lea eax, [ebp - 0x34]
push eax
lea eax, [ebx + 0x60]
push eax
call fcn.004018b0
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x3c]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43840a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x38]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43842a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x34]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x4381e6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
mov al, byte [ebp - 0x2d]
jmp 0x438255