Function at 0x4081d0
Capabilities:
Create process on windows
Create process suspended
Link many functions at runtime
Resolve function by parsing pe exports
Resume thread

Disassembly:
push 0xffffffffffffffff
push 0x44d1bd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf10
push ebx
push ebp
mov ebp, ecx
push esi
push edi
xor ebx, ebx
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x119]
mov byte [esp + 0x118], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x21d]
mov byte [esp + 0x21c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
or ecx, 0xffffffff
lea edi, [ebp + 4]
xor eax, eax
lea edx, [esp + 0x118]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, edx
lea edx, [esp + 0x118]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.ControlDll.dll
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x21c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp + 4]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x21c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.InitHook.exe
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
dec edi
mov ecx, edx
push str.NtSuspendProcess
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push str.ntdll
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push str.NtResumeProcess
push str.ntdll
mov dword [esp + 0x20], eax
call esi
push eax
call edi
push str.OpenDoc_Start_
mov dword [esp + 0x2c], eax
call fcn.0040faa0
mov eax, dword [esp + 0xf38]
mov ecx, dword [esp + 0xf34]
add esp, 4
push eax
push ecx
push 0x4639b8
call fcn.0040faa0
add esp, 0xc
lea edx, [esp + 0x118]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
cmp esi, ebx
jne 0x4083ac
lea eax, [esp + 0x10]
push 1
push eax
mov ecx, 0x46a9c8
call fcn.004156e0
mov esi, dword [eax]
lea ecx, [esp + 0x14]
push 0x2b
push ecx
mov ecx, 0x46a9c8
mov dword [esp + 0xf30], ebx
call fcn.004156e0
mov eax, dword [eax]
push 0x10
push esi
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0x14]
call fcn.0043fdfc
lea ecx, [esp + 0x10]
mov dword [esp + 0xf28], 0xffffffff
call fcn.0043fdfc
lea edx, [esp + 0x118]
push edx
push 0x463998
jmp 0x408b47
push str.CControlDll_Add
push esi
call edi
push str.CControlDll_GetNum
push esi
mov dword [esp + 0x28], eax
call edi
push str.CControlDll_Del
push esi
mov dword [esp + 0x18], eax
call edi
push str.CControlDll_GetByPwd
push esi
mov dword [esp + 0x1c], eax
call edi
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x30], eax
cmp ecx, ebx
je 0x408ada
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
je 0x408ada
cmp dword [esp + 0x14], ebx
je 0x408ada
cmp eax, ebx
je 0x408ada
call ecx
cmp eax, 8
jl 0x40847f
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [esp + 0x10]
push 1
push eax
mov ecx, 0x46a9c8
call fcn.004156e0
mov esi, dword [eax]
lea ecx, [esp + 0x14]
push 0x2f
push ecx
mov ecx, 0x46a9c8
mov dword [esp + 0xf30], 2
call fcn.004156e0
mov eax, dword [eax]
push 0x10
push esi
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0x14]
call fcn.0043fdfc
lea ecx, [esp + 0x10]
mov dword [esp + 0xf28], 0xffffffff
call fcn.0043fdfc
push 0x46392c
call fcn.0040faa0
add esp, 4
jmp 0x408b4f
lea ecx, [esp + 0x1c]
call fcn.0040b790
mov edx, dword [esp + 0xf30]
lea ecx, [esp + 0x1c]
push edx
mov dword [esp + 0xf2c], 3
call fcn.0040b7d0
neg eax
sbb eax, eax
mov ecx, 0x10
inc eax
lea edi, [esp + 0x94]
mov dword [esp + 0x24], eax
xor eax, eax
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x44]
lea edx, [esp + 0x90]
push ecx
mov dword [esp + 0x4c], eax
push edx
push ebx
mov dword [esp + 0x58], eax
push ebx
push ebx
mov dword [esp + 0x64], eax
push ebx
push ebx
lea eax, [esp + 0x238]
push ebx
push eax
push ebx
mov dword [esp + 0xb8], 0x44
mov word [esp + 0xe8], 5
mov dword [esp + 0x6c], ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x408594
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 0x10]
push 1
push ecx
mov ecx, 0x46a9c8
call fcn.004156e0
mov esi, dword [eax]
lea edx, [esp + 0x14]
push 0x2b
push edx
mov ecx, 0x46a9c8
mov byte [esp + 0xf30], 4
call fcn.004156e0
mov eax, dword [eax]
push 0x10
push esi
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0x14]
call fcn.0043fdfc
lea ecx, [esp + 0x10]
mov byte [esp + 0xf28], 3
call fcn.0043fdfc
lea eax, [esp + 0x21c]
push eax
push 0x46390c
call fcn.0040faa0
add esp, 8
lea ecx, [esp + 0x1c]
mov dword [esp + 0xf28], 0xffffffff
call fcn.0040b7c0
jmp 0x408b4f
mov ecx, dword [esp + 0x48]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call edi
mov edx, dword [esp + 0x44]
push edx
call edi
mov eax, dword [esp + 0x4c]
push eax
call fcn.00405970
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x625]
mov byte [esp + 0x624], bl
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0xf38]
add esp, 4
stosw word es:[edi], ax
lea edx, [esp + 0x620]
push ecx
push edx
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0xd8]
mov dword [esp + 0x34], ebx
rep stosd dword es:[edi], eax
xor ecx, ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0xf30]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x40], ecx
mov ecx, 0xf
lea edi, [esp + 0x54]
mov dword [esp + 0xd4], 0x44
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x18]
lea eax, [esp + 0x620]
cmp edi, ebx
mov word [esp + 0x104], 5
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x54], 0x3c
mov dword [esp + 0x58], 0x340
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], str.open
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], 0x463900
mov dword [esp + 0x70], 1
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x8c], ebx
je 0x4086ea
lea ecx, [esp + 0x54]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
je 0x40877c
mov edx, dword [esp + 0x8c]
push edx
call edi
mov eax, dword [esp + 0x8c]
mov ecx, ebp
push eax
call fcn.00408ec0
mov ecx, dword [esp + 0x8c]
cmp eax, 0xffffffff
mov dword [esp + 0x18], eax
mov dword [esp + 0x2c], ecx
jne 0x408861
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0xb21]
mov byte [esp + 0xb20], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [esp + 0xf30]
lea ecx, [esp + 0x620]
push ecx
push edi
lea edx, [esp + 0xb28]
push str._s__s
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [esp + 0x34]
lea ecx, [esp + 0xd4]
lea edx, [esp + 0xb20]
push eax
push ecx
push 0x463900
push ebx
push 4
push ebx
push ebx
push ebx
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
cmp eax, ebx
je 0x408843
mov eax, dword [esp + 0x3c]
push eax
push ebx
push 0x400
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_OpenProcess]
cmp eax, ebx
jne 0x40879e
mov dword [esp + 0x18], 0xffffffff
jmp 0x4087a5
mov eax, dword [esp + 0xf30]
lea edx, [esp + 0x620]
push edx
push eax
push str.ShellExecuteEx
call fcn.0040faa0
add esp, 0xc
jmp 0x4086ea
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
cmp eax, 0xffffffff
jne 0x40885d
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea edx, [esp + 0x10]
push 1
push edx
mov ecx, 0x46a9c8
call fcn.004156e0
mov esi, dword [eax]
lea eax, [esp + 0x14]
push 0x2c
push eax
mov ecx, 0x46a9c8
mov byte [esp + 0xf30], 5
call fcn.004156e0
mov eax, dword [eax]
push 0x10
push esi
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0x14]
call fcn.0043fdfc
lea ecx, [esp + 0x10]
mov byte [esp + 0xf28], 3
call fcn.0043fdfc
lea ecx, [esp + 0x620]
push ecx
push edi
push 0x4638b8
call fcn.0040faa0
add esp, 0xc
lea ecx, [esp + 0x1c]
mov dword [esp + 0xf28], 0xffffffff
call fcn.0040b7c0
jmp 0x408b4f
lea ecx, [esp + 0xb20]
push ecx
push str.CreateProcess
call fcn.0040faa0
add esp, 8
jmp 0x4087ba
mov eax, dword [esp + 0x18]
push 1
push eax
call fcn.00435800
mov ecx, 0xc0
xor eax, eax
lea edi, [esp + 0x328]
add esp, 8
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x754]
mov ecx, dword [ebp + 0x750]
mov dword [esp + 0x32c], eax
mov dword [esp + 0x328], ecx
lea edi, [ebp + 0x902]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [ebp + 0x758]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x330], edx
lea edx, [esp + 0x55c]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
mov dword [esp + 0x320], ebx
mov dword [esp + 0x324], ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0xf38]
and ecx, 3
xor edx, edx
rep movsb byte es:[edi], byte [esi]
lea esi, [ebp + 0x984]
mov ecx, 0xf
lea edi, [esp + 0x5dc]
mov dl, byte [ebp + 0x75d]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0x9c0]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov dword [esp + 0x618], ecx
lea ecx, [esp + 0x334]
push eax
push ecx
mov dword [esp + 0x624], edx
call edi
lea esi, [ebp + 0x518]
lea edx, [esp + 0x534]
push esi
push edx
call edi
mov edi, dword [esp + 0x18]
lea eax, [esp + 0x320]
push eax
mov dword [esp + 0x328], edi
call dword [esp + 0x24]
mov eax, dword [esp + 0x28]
add esp, 4
cmp eax, ebx
je 0x408968
lea ecx, [esp + 0x118]
push ecx
push edi
lea ecx, [esp + 0x24]
call fcn.0040ba90
push edi
push ebx
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x408986
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [esp + 0x2c]
cmp ecx, ebx
je 0x408999
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x408999
push ecx
call eax
mov eax, dword [esp + 0x38]
cmp eax, ebx
je 0x4089ac
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call ebp
jmp 0x4089b2
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x34]
cmp eax, ebx
je 0x4089bd
push eax
call ebp
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x4089c8
push eax
call ebp
cmp edi, ebx
jne 0x408a38
lea edx, [esp + 0x20]
push 1
push edx
mov ecx, 0x46a9c8
call fcn.004156e0
mov esi, dword [eax]
lea eax, [esp + 0x24]
push 0x2c
push eax
mov ecx, 0x46a9c8
mov byte [esp + 0xf30], 6
call fcn.004156e0
mov eax, dword [eax]
push 0x10
push esi
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0x24]
call fcn.0043fdfc
lea ecx, [esp + 0x20]
mov byte [esp + 0xf28], 3
call fcn.0043fdfc
lea ecx, [esp + 0x1c]
mov dword [esp + 0xf28], 0xffffffff
call fcn.0040b7c0
jmp 0x408b4f
push edi
call ebp
mov ecx, 0xc0
xor eax, eax
lea edi, [esp + 0x820]
push esi
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xa38]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edi, dword [esp + 0x30]
lea edx, [esp + 0x820]
push edx
call edi
add esp, 4
test eax, eax
je 0x408ab2
mov eax, dword [esp + 0x824]
push eax
push ebx
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, ebx
je 0x408ab2
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call ebp
lea ecx, [esp + 0x820]
push ecx
call dword [esp + 0x18]
lea edx, [esp + 0x824]
push edx
call edi
add esp, 8
test eax, eax
jne 0x408a6f
push str.OpenDoc_Finsh_
call fcn.0040faa0
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0xf28], 0xffffffff
call fcn.0040b7c0
mov eax, 1
jmp 0x408b51
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [esp + 0x28]
push 1
push eax
mov ecx, 0x46a9c8
call fcn.004156e0
mov esi, dword [eax]
lea ecx, [esp + 0x30]
push 0x2b
push ecx
mov ecx, 0x46a9c8
mov dword [esp + 0xf30], 1
call fcn.004156e0
mov eax, dword [eax]
push 0x10
push esi
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0x30]
call fcn.0043fdfc
lea ecx, [esp + 0x28]
mov dword [esp + 0xf28], 0xffffffff
call fcn.0043fdfc
lea edx, [esp + 0x118]
push edx
push 0x463870
call fcn.0040faa0
add esp, 8
xor eax, eax
mov ecx, dword [esp + 0xf20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xf1c
ret 0xc