Function at 0x40ebd0
Capabilities:
Get common file path
Get disk size
Get memory capacity
Terminate process

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x426642
push eax
mov dword fs:[0], esp
sub esp, 0x6c4
push ebx
mov ebx, dword [esp + 0x6e0]
push ebp
push esi
lea eax, [ebx + 0xf]
push edi
mov esi, ecx
push eax
call fcn.00413105
add ebx, 0x1a
mov edi, eax
push ebx
call fcn.00413105
mov ebp, eax
lea eax, [edi - 0xe]
add esp, 8
cmp eax, 0x2d
ja case.0x40ec24.27
mov ebx, dword [esp + 0x6e8]
jmp dword [eax*4 + 0x40f698]
lea ecx, [esp + 0x394]
push ecx
call fcn.0040d350
add esp, 4
test al, al
je case.0x40ec24.27
mov edx, dword [esp + 0x6e8]
push 0x2ee0
lea eax, [esp + 0x20]
push edx
mov edx, dword [esp + 0x6ec]
push eax
lea ecx, [esp + 0x3a0]
push 0x340
push ecx
push edx
call fcn.00408be0
add esp, 0x18
jmp case.0x40ec24.27
mov eax, dword [esp + 0x6e8]
mov ecx, dword [esp + 0x6e4]
push eax
push ecx
call fcn.00408070
add esp, 8
jmp case.0x40ec24.27
mov edx, dword [esp + 0x6e8]
mov eax, dword [esp + 0x6e4]
push edx
push eax
call fcn.004082f0
add esp, 8
jmp case.0x40ec24.27
mov ecx, dword [esp + 0x6e8]
mov edx, dword [esp + 0x6e4]
push ecx
push edx
call fcn.00408460
add esp, 8
jmp case.0x40ec24.27
mov eax, dword [esp + 0x6e8]
mov ecx, dword [esp + 0x6e4]
push eax
push ecx
call fcn.00408530
add esp, 8
jmp case.0x40ec24.27
mov edx, dword [esp + 0x6e8]
mov eax, dword [esp + 0x6e4]
push edx
push eax
call fcn.00408810
add esp, 8
jmp case.0x40ec24.27
mov ecx, dword [esp + 0x6e8]
mov edx, dword [esp + 0x6e4]
push ecx
push edx
call fcn.00408700
add esp, 8
jmp case.0x40ec24.27
mov eax, dword [esp + 0x6e8]
mov ecx, dword [esp + 0x6e4]
push eax
push ecx
call fcn.004085f0
add esp, 8
jmp case.0x40ec24.27
mov edx, dword [esp + 0x6e8]
mov eax, dword [esp + 0x6e4]
push edx
push eax
call fcn.00407110
add esp, 8
jmp case.0x40ec24.27
mov ecx, dword [esp + 0x6e8]
mov edx, dword [esp + 0x6e4]
push ecx
push edx
call fcn.004071d0
add esp, 8
jmp case.0x40ec24.27
mov eax, dword [esp + 0x6e8]
mov ecx, dword [esp + 0x6e4]
push eax
push ecx
call fcn.004077a0
add esp, 8
jmp case.0x40ec24.27
mov edx, dword [esp + 0x6e8]
mov eax, dword [esp + 0x6e4]
push edx
push eax
call fcn.00407940
add esp, 8
jmp case.0x40ec24.27
mov ecx, dword [esp + 0x6e8]
mov edx, dword [esp + 0x6e4]
push ecx
push edx
call fcn.00407aa0
add esp, 8
jmp case.0x40ec24.27
mov eax, dword [esp + 0x6e8]
mov ecx, dword [esp + 0x6e4]
push eax
push ecx
call fcn.00407b30
add esp, 8
jmp case.0x40ec24.27
mov edx, dword [esp + 0x6e8]
mov eax, dword [esp + 0x6e4]
push edx
push eax
call fcn.00407ba0
add esp, 8
jmp case.0x40ec24.27
mov ecx, dword [esp + 0x6e8]
mov edx, dword [esp + 0x6e4]
push ecx
push edx
call fcn.0040e450
add esp, 8
jmp case.0x40ec24.27
mov eax, dword [0x42f3b0]
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x6e8]
mov eax, dword [esp + 0x6e4]
lea ecx, [esp + 0x20]
mov dword [esp + 0x6dc], 0
push ecx
push ebp
push edx
push eax
call fcn.0040e6a0
add esp, 0x10
call fcn.00401520
mov dword [esp + 0x6dc], 0xffffffff
lea ecx, [esp + 0x20]
jmp 0x40f671
call fcn.00408dc0
test eax, eax
je 0x40eed0
xor ecx, ecx
mov edi, str.cmd_ok
mov dword [esp + 0x10], ecx
xor eax, eax
mov dword [esp + 0x14], ecx
lea edx, [esp + 0x10]
mov word [esp + 0x18], cx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x2ee0
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x6ec]
lea ecx, [esp + 0x20]
push esi
push ecx
push 0xa
jmp 0x40f214
xor eax, eax
mov edi, str.cmd_fail
mov dword [esp + 0x10], eax
or ecx, 0xffffffff
mov dword [esp + 0x14], eax
lea edx, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov word [esp + 0x18], ax
mov eax, ecx
mov esi, edi
mov edi, edx
push 0x2ee0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea edx, [esp + 0x20]
and ecx, 3
lea eax, [esp + 0x14]
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x6ec]
push ecx
mov ecx, dword [esp + 0x6ec]
push edx
push 0xa
push eax
push ecx
call fcn.00408be0
add esp, 0x18
jmp case.0x40ec24.27
call fcn.0040ad20
test eax, eax
je 0x40ef8c
mov edi, str.cmd_ok
or ecx, 0xffffffff
xor eax, eax
xor edx, edx
repne scasb al, byte es:[edi]
mov dword [esp + 0x10], edx
push 0x2ee0
not ecx
mov dword [esp + 0x18], edx
sub edi, ecx
mov word [esp + 0x1c], dx
lea edx, [esp + 0x14]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x6ec]
lea ecx, [esp + 0x20]
push esi
push ecx
push 0xa
jmp 0x40f214
xor eax, eax
mov edi, str.cmd_fail
mov dword [esp + 0x10], eax
or ecx, 0xffffffff
mov dword [esp + 0x14], eax
lea edx, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov word [esp + 0x18], ax
mov eax, ecx
mov esi, edi
mov edi, edx
push 0x2ee0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea edx, [esp + 0x20]
and ecx, 3
lea eax, [esp + 0x14]
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x6ec]
push ecx
mov ecx, dword [esp + 0x6ec]
push edx
push 0xa
push eax
push ecx
call fcn.00408be0
add esp, 0x18
jmp case.0x40ec24.27
call fcn.004096f0
test eax, eax
je 0x40f048
mov edi, str.cmd_ok
or ecx, 0xffffffff
xor eax, eax
xor edx, edx
repne scasb al, byte es:[edi]
mov dword [esp + 0x10], edx
push 0x2ee0
not ecx
mov dword [esp + 0x18], edx
sub edi, ecx
mov word [esp + 0x1c], dx
lea edx, [esp + 0x14]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x6ec]
lea ecx, [esp + 0x20]
push esi
push ecx
push 0xa
jmp 0x40f214
xor eax, eax
mov edi, str.cmd_fail
mov dword [esp + 0x10], eax
or ecx, 0xffffffff
mov dword [esp + 0x14], eax
lea edx, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov word [esp + 0x18], ax
mov eax, ecx
mov esi, edi
mov edi, edx
push 0x2ee0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea edx, [esp + 0x20]
and ecx, 3
lea eax, [esp + 0x14]
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x6ec]
push ecx
mov ecx, dword [esp + 0x6ec]
push edx
push 0xa
push eax
push ecx
call fcn.00408be0
add esp, 0x18
jmp case.0x40ec24.27
mov ecx, 0x4e
xor eax, eax
lea edi, [esp + 0x54]
push 3
rep stosd dword es:[edi], eax
call fcn.004106b0
add esp, 4
lea edx, [esp + 0x34]
mov dword [esp + 0x180], eax
mov dword [esp + 0x34], 0x20
push edx
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x290]
push 0x104
push ecx
mov dword [esp + 0x190], eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea edx, [esp + 0x20]
lea eax, [esp + 0x2c]
push edx
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x298]
push ecx
push edx
mov byte [esp + 0x2a3], 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov eax, esi
sub eax, edi
mov edi, dword [esp + 0x30]
mov ecx, edi
push 0
sbb ecx, edx
push 0x64
push ecx
push eax
call fcn.004127b0
push edi
push esi
push edx
push eax
call fcn.00412d30
mov dword [esp + 0x184], eax
lea edx, [esp + 0x14e]
lea eax, [esp + 0x11c]
push edx
lea ecx, [esp + 0xbc]
push eax
lea edx, [esp + 0x5c]
push ecx
push edx
call fcn.00410680
mov eax, dword [esp + 0x6f8]
push 0x2ee0
lea ecx, [esp + 0x30]
push eax
mov eax, dword [esp + 0x6fc]
push ecx
lea edx, [esp + 0x70]
push 0x138
push edx
push eax
call fcn.00408be0
add esp, 0x28
jmp case.0x40ec24.27
mov ecx, dword [esp + 0x6e8]
mov edx, dword [esp + 0x6e4]
push ecx
push edx
call fcn.0040ce80
add esp, 8
jmp case.0x40ec24.27
call fcn.00409ae0
test eax, eax
je 0x40f231
xor eax, eax
mov edi, str.cmd_ok
mov dword [esp + 0x10], eax
or ecx, 0xffffffff
mov dword [esp + 0x14], eax
lea edx, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov word [esp + 0x18], ax
mov eax, ecx
mov esi, edi
mov edi, edx
push 0x2ee0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea edx, [esp + 0x14]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x6ec]
lea ecx, [esp + 0x20]
push esi
push ecx
push 0xa
mov edi, dword [esp + 0x6f4]
push edx
push edi
call fcn.00408be0
push esi
push edi
call fcn.00409e60
add esp, 0x20
jmp case.0x40ec24.27
xor eax, eax
mov edi, str.cmd_fail
mov dword [esp + 0x10], eax
or ecx, 0xffffffff
mov dword [esp + 0x14], eax
lea edx, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov word [esp + 0x18], ax
mov eax, ecx
mov esi, edi
mov edi, edx
push 0x2ee0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea edx, [esp + 0x20]
and ecx, 3
lea eax, [esp + 0x14]
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x6ec]
push ecx
mov ecx, dword [esp + 0x6ec]
push edx
push 0xa
push eax
push ecx
call fcn.00408be0
add esp, 0x18
jmp case.0x40ec24.27
push 6
call fcn.00402cd0
add esp, 4
jmp case.0x40ec24.27
push 0xd
call fcn.00402cd0
add esp, 4
jmp case.0x40ec24.27
push 4
call fcn.00402cd0
add esp, 4
jmp case.0x40ec24.27
call fcn.00402e20
jmp case.0x40ec24.27
call fcn.00402e50
jmp case.0x40ec24.27
cmp ebp, 0x400
jg case.0x40ec24.27
test ebp, ebp
je case.0x40ec24.27
lea edi, [ebp + 1]
push edi
call fcn.0041ecc3
mov ecx, edi
mov esi, eax
mov edx, ecx
xor eax, eax
mov edi, esi
push 0x2ee0
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x6ec]
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x6f0]
lea ecx, [esp + 0x24]
push eax
push ecx
push ebp
push esi
push edx
call fcn.00408c70
add esp, 0x18
mov ecx, esp
mov dword [esp + 0x24], esp
push esi
call fcn.0041eff0
call fcn.004027f0
push esi
call fcn.0041ecec
add esp, 8
jmp case.0x40ec24.27
mov eax, dword [0x432b84]
mov byte [eax + 1], 1
jmp case.0x40ec24.27
lea edi, [ebp + 1]
push edi
call fcn.0041ecc3
mov ecx, edi
mov ebx, eax
mov edx, ecx
xor eax, eax
mov edi, ebx
push 0x2ee0
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x6ec]
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x6f0]
lea ecx, [esp + 0x24]
push eax
push ecx
push ebp
push ebx
push edx
call fcn.00408c70
push ebx
call fcn.00413105
add esp, 0x20
push eax
mov eax, dword [0x432b84]
mov ecx, dword [eax + 2]
push ecx
mov ecx, esi
call fcn.0040f750
push ebx
call fcn.0041ecec
add esp, 4
jmp case.0x40ec24.27
cmp ebp, 0x400
jg case.0x40ec24.27
test ebp, ebp
je case.0x40ec24.27
lea edi, [ebp + 1]
push edi
call fcn.0041ecc3
mov ecx, edi
mov esi, eax
mov edx, ecx
xor eax, eax
mov edi, esi
push 0x2ee0
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push ebx
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [esp + 0x6f0]
lea eax, [esp + 0x28]
push eax
push ebp
push esi
push edi
call fcn.00408c70
add esp, 0x18
mov ecx, esp
mov dword [esp + 0x30], esp
push esi
call fcn.0041eff0
lea ecx, [esp + 0x24]
push ecx
call fcn.00402890
mov edx, dword [esp + 0x28]
mov dword [esp + 0x18], 0
push 0x2ee0
push ebx
mov eax, dword [edx - 8]
lea ecx, [esp + 0x20]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x2c]
push eax
push 8
push ecx
push edi
mov dword [esp + 0x6fc], 1
call fcn.00408be0
mov eax, dword [esp + 0x40]
push 0x2ee0
lea edx, [esp + 0x40]
push ebx
mov ecx, dword [eax - 8]
push edx
push ecx
push eax
push edi
call fcn.00408be0
push esi
call fcn.0041ecec
add esp, 0x3c
lea ecx, [esp + 0x20]
mov dword [esp + 0x6dc], 0xffffffff
call fcn.0041ef82
push ebp
push ebx
push edi
call fcn.0040cba0
add esp, 0xc
jmp case.0x40ec24.27
mov edi, dword [esp + 0x6e4]
push ebp
push ebx
push edi
call fcn.0040cba0
add esp, 0xc
jmp case.0x40ec24.27
lea eax, [esp + 0x20]
push eax
call fcn.00407d00
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x6ec]
mov edi, dword [esp + 0x6e8]
mov dword [esp + 0x14], 0
mov eax, dword [ecx - 8]
push 0x2ee0
lea edx, [esp + 0x24]
mov dword [esp + 0x1c], eax
push esi
push edx
lea eax, [esp + 0x20]
push 8
push eax
push edi
mov dword [esp + 0x6f8], 2
call fcn.00408be0
mov eax, dword [esp + 0x3c]
push 0x2ee0
lea edx, [esp + 0x3c]
push esi
mov ecx, dword [eax - 8]
push edx
push ecx
push eax
push edi
call fcn.00408be0
add esp, 0x34
mov dword [esp + 0x6dc], 0xffffffff
lea ecx, [esp + 0x20]
jmp 0x40f671
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x18c]
lea edx, [esp + 0x18c]
rep stosd dword es:[edi], eax
mov edi, dword [0x432bd0]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov ebx, 3
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x18c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, ebx
rep movsb byte es:[edi], byte [esi]
mov edi, str.RemoteServer.exe
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x42f3b0]
mov ecx, ebp
and ecx, ebx
mov dword [esp + 0x28], eax
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x6ec]
lea edx, [esp + 0x28]
add ecx, 0x20
mov dword [esp + 0x6dc], ebx
push ecx
push str._configport__s
push edx
call fcn.0041e3cc
mov eax, dword [0x432bf8]
add esp, 0xc
test eax, eax
je 0x40f5e3
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push ebx
push ecx
lea eax, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call fcn.0041ecf7
push ecx
lea edx, [esp + 0x198]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
mov byte [esp + 0x6ec], 4
call fcn.0041eff0
mov byte [esp + 0x6e8], bl
call fcn.004100e0
add esp, 0xc
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x432af0
call fcn.0041eff0
push ecx
lea eax, [esp + 0x198]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
mov byte [esp + 0x6ec], 5
call fcn.0041eff0
mov byte [esp + 0x6e8], bl
call fcn.004100e0
add esp, 0xc
mov dword [0x432bf8], eax
mov dword [esp + 0x6dc], 0xffffffff
lea ecx, [esp + 0x28]
call fcn.0041ef82
mov ecx, dword [esp + 0x6d4]
pop edi
pop esi
pop ebp
mov eax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x6d0
ret 0xc