Function at 0x40d840
Capabilities:
Create process on windows
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x436168
mov eax, dword fs:[0]
push eax
mov eax, dword [0x442c34]
xor eax, esp
push eax
lea eax, [esp + 4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x40d8c0
mov ecx, dword [0x446b58]
mov dword [0x446b5c], ecx
cmp dword [ecx + 4], eax
je 0x40d880
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov eax, dword [0x446b50]
push 0
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [0x446b58]
mov edx, dword [ecx + 0x10]
mov eax, dword [0x446b50]
imul edx, edx, 0x3e8
push 0
push edx
push 1
push eax
call dword [sym.imp.USER32.dll_SetTimer]
xor eax, eax
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop ecx
add esp, 0xc
ret
cmp eax, 1
jne 0x40d90a
mov ecx, dword [0x446b48]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x40dbf9
mov ecx, dword [0x446b58]
cmp dword [ecx + 4], eax
je 0x40dbf9
mov edx, dword [ecx]
mov eax, dword [edx + 8]
mov dword [0x446b5c], ecx
call eax
xor eax, eax
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop ecx
add esp, 0xc
ret
cmp eax, 2
jne 0x40d934
mov ecx, dword [0x446b58]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
mov dword [0x446b5c], ecx
call eax
xor eax, eax
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop ecx
add esp, 0xc
ret
cmp eax, 3
jne 0x40d994
mov ecx, dword [0x446b54]
cmp dword [ecx + 4], 0
mov dword [0x446b5c], ecx
je 0x40d952
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
mov ecx, dword [0x446b50]
push 3
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
mov edx, dword [0x446b54]
mov eax, dword [edx + 0x10]
mov ecx, dword [0x446b50]
imul eax, eax, 0x3e8
push 0
push eax
push 4
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
xor eax, eax
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop ecx
add esp, 0xc
ret
cmp eax, 4
jne 0x40d9de
mov edx, dword [0x446b44]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x40dbf9
mov ecx, dword [0x446b54]
mov dword [0x446b5c], ecx
cmp dword [ecx + 4], eax
je 0x40dbf9
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
xor eax, eax
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop ecx
add esp, 0xc
ret
cmp eax, 5
jne 0x40da08
mov ecx, dword [0x446b54]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
mov dword [0x446b5c], ecx
call edx
xor eax, eax
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop ecx
add esp, 0xc
ret
cmp eax, 6
jne 0x40da69
cmp dword [0x446b60], 0
je 0x40da2b
push 0
push 0
push 0
push 0x40d100
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, dword [0x446b50]
push 6
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [0x444118]
mov edx, dword [0x446b50]
imul ecx, ecx, 0x3e8
push 0
push ecx
push 7
push edx
call dword [sym.imp.USER32.dll_SetTimer]
xor eax, eax
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop ecx
add esp, 0xc
ret
cmp eax, 7
jne 0x40dab2
mov eax, dword [0x446b64]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x40dbf9
cmp dword [0x446b60], eax
je 0x40dbf9
push eax
push eax
push eax
push 0x40d100
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor eax, eax
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop ecx
add esp, 0xc
ret
cmp eax, 8
jne 0x40dade
push 0
push 0
push 0
push 0x40cd40
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor eax, eax
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop ecx
add esp, 0xc
ret
cmp eax, 9
jne 0x40db29
push 0
push str.Author_mayingkun
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x40dbf9
push 0
push 0xb
push 0x8001
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov ecx, dword [0x446b50]
push 9
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
xor eax, eax
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop ecx
add esp, 0xc
ret
cmp eax, 0xa
jne 0x40db52
cmp dword [0x444108], 0
je 0x40dbf9
call fcn.00406230
xor eax, eax
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop ecx
add esp, 0xc
ret
cmp eax, 0xb
jne 0x40db88
cmp dword [0x446b28], 2
jl 0x40dbf9
cmp dword [0x446b24], 0
je 0x40dbf9
call fcn.00405e60
xor eax, eax
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop ecx
add esp, 0xc
ret
cmp eax, 0xc
jne 0x40dbf9
call fcn.0040d6c0
push 0x446cc4
lea ecx, [esp + 0x18]
call fcn.00404b80
push str.uCalendar.exe
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], 0
call fcn.00404180
mov eax, dword [0x446b20]
test eax, eax
jne 0x40dbc9
push 5
push eax
push str._runserver
jmp 0x40dbd7
cmp eax, 1
jne 0x40dbf0
push 5
push 0
push str._run
push 0
lea ecx, [esp + 0x24]
call fcn.00404e90
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [esp + 0x14]
call fcn.00404c70
xor eax, eax
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop ecx
add esp, 0xc
ret