Function at 0x40e0c0
Capabilities:
Create process on windows
Create process suspended
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x438c9b
mov eax, dword fs:[0]
push eax
sub esp, 0x78
push ebx
push esi
push edi
mov eax, dword [0x44aaf0]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov edi, ecx
call fcn.00412a2b
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40e10b
push 0x80004005
call fcn.00401ed0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
mov dword [esp + 0x90], 0
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x100
or eax, ecx
jge 0x40e14c
push 0x100
lea ecx, [esp + 0x18]
call fcn.004021f0
mov esi, dword [esp + 0x14]
push str..PAPSW.ini
push 0x100
push esi
push str.Error
push str.NEWREG_VER_URL
push str.RegisterServer
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test esi, esi
jne 0x40e174
xor eax, eax
jmp 0x40e191
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x40e180
sub eax, edx
js 0x40e5ec
cmp eax, dword [esi - 8]
jg 0x40e5ec
mov dword [esi - 0xc], eax
mov byte [eax + esi], 0
call fcn.00412a2b
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40e1bb
push 0x80004005
call fcn.00401ed0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x20]
push str.ESalesUpdate.exe
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x98], 1
call fcn.00405c40
push 0x44239c
push eax
lea edx, [esp + 0x2c]
mov bl, 2
push edx
mov byte [esp + 0xa4], bl
call fcn.004039e0
add esp, 0x14
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x94], 3
call fcn.00402000
mov byte [esp + 0x90], bl
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e23b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x90], 1
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e263
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.00412a2b
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40e27d
push 0x80004005
call fcn.00401ed0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
push str.ESales_bin
lea ecx, [edi + 0x178]
push ecx
lea edx, [esp + 0x28]
push edx
mov byte [esp + 0x9c], 4
call fcn.004039e0
add esp, 0xc
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x94], 5
call fcn.00402000
mov byte [esp + 0x90], 4
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e2e8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.0040ec70
push 1
push 0x44239c
lea ecx, [esp + 0x18]
call fcn.0040ec70
push 0x43f1c0
lea ecx, [esp + 0x1c]
call fcn.00403ce0
lea ecx, [esp + 0x20]
push ecx
push edi
mov byte [esp + 0x98], 6
call fcn.0040e600
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x94], 7
call fcn.00402000
mov byte [esp + 0x90], 6
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40e365
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.0040ec70
push 1
push 0x44239c
lea ecx, [esp + 0x18]
call fcn.0040ec70
mov eax, dword [edi + 0x1fc]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.0040ec70
push 1
push 0x44239c
lea ecx, [esp + 0x18]
call fcn.0040ec70
mov eax, dword [edi + 0x204]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.0040ec70
push 1
push 0x44239c
lea ecx, [esp + 0x18]
call fcn.0040ec70
call fcn.0040fd40
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x43f1fc
call fcn.00403ce0
mov byte [esp + 0x94], 8
mov ebx, dword [esp + 0x14]
push ecx
lea esi, [ebx - 0x10]
mov dword [esp + 0x30], esp
mov edi, esp
push esi
call fcn.00401f40
add eax, 0x10
mov dword [edi], eax
add esp, 4
mov byte [esp + 0x98], 6
call fcn.0040ff80
push 0x44
lea ecx, [esp + 0x48]
push 0
push ecx
call fcn.00424d20
mov dword [esp + 0x50], 0x44
mov dword [esp + 0x7c], 1
mov word [esp + 0x80], 0xa
mov edx, dword [ebx - 0xc]
mov eax, dword [esi + 8]
mov ecx, 1
sub ecx, dword [esi + 0xc]
sub eax, edx
add esp, 0x14
or eax, ecx
jge 0x40e463
push edx
lea ecx, [esp + 0x14]
call fcn.004021f0
mov ebx, dword [esp + 0x10]
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x40]
push eax
push 0
push 0
push 0x20
push 0
push 0
push 0
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
or edx, 0xffffffff
mov byte [esp + 0x90], 4
test eax, eax
mov eax, dword [esp + 0x18]
jne 0x40e541
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e4b2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x90], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e4da
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebx, 0xfffffff0
mov byte [esp + 0x90], 0
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e4fe
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov dword [esp + 0x90], 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 0x40e529
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e55a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x90], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e582
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebx, 0xfffffff0
mov byte [esp + 0x90], 0
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e5a6
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov dword [esp + 0x90], 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 0x40e5d1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00401ed0
int3