Function at 0x40e970
Capabilities:
Read .ini file

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 0x44c753
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xaa0
mov eax, dword [0x46706c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xa9c], ecx
mov dword [ebp - 0xaa4], 0
xor eax, eax
mov dword [ebp - 0xa58], 0
mov dword [ebp - 0xa54], 7
mov word [ebp - 0xa68], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0xa40], eax
mov dword [ebp - 0xa3c], 7
mov word [ebp - 0xa50], ax
push 0x800
push eax
lea eax, [ebp - 0xa20]
push eax
call fcn.0042d440
xor eax, eax
mov dword [ebp - 0xa70], 0
add esp, 0xc
mov dword [ebp - 0xa6c], 7
mov word [ebp - 0xa80], ax
push 0x104
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 2
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x40ea6c
movups xmm0, xmmword [ebp - 0xa80]
lea esi, [eax + 1]
movups xmmword [ebp - 0xab0], xmm0
movq xmm0, qword [ebp - 0xa70]
movq qword [ebp - 0xa88], xmm0
jmp 0x40eb49
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40ea75
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xa80]
call fcn.00403ae0
sub esp, 8
lea ecx, [ebp - 0xa80]
call fcn.00411f70
mov edx, eax
mov dword [ebp - 0xa88], 0
xor eax, eax
mov dword [ebp - 0xa84], 7
cmp dword [ebp - 0xa70], edx
lea ecx, [ebp - 0xa98]
mov word [ebp - 0xa98], ax
lea eax, [ebp - 0xa80]
cmovb edx, dword [ebp - 0xa70]
cmp dword [ebp - 0xa6c], 8
push edx
cmovae eax, dword [ebp - 0xa80]
push eax
call fcn.00403ae0
mov byte [ebp - 4], 1
mov esi, 3
mov edx, dword [ebp - 0xa6c]
cmp edx, 8
jb 0x40eb3b
mov ecx, dword [ebp - 0xa80]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40eb31
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40efe7
push edx
push ecx
call fcn.004153c5
add esp, 8
movups xmm0, xmmword [ebp - 0xa98]
movups xmmword [ebp - 0xab0], xmm0
lea ecx, [ebp - 0xa68]
call fcn.00403740
movups xmm0, xmmword [ebp - 0xab0]
movups xmmword [ebp - 0xa68], xmm0
movq xmm0, qword [ebp - 0xa88]
movq qword [ebp - 0xa58], xmm0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xa38]
xor eax, eax
mov dword [ebp - 0xa28], 0
mov word [ebp - 0xa38], ax
or esi, 4
mov eax, dword [ebp - 0xa88]
inc eax
mov dword [ebp - 0xa24], 7
push eax
mov dword [ebp - 0xaa4], esi
call fcn.00404540
cmp dword [ebp - 0xa54], 8
lea eax, [ebp - 0xa68]
push dword [ebp - 0xa58]
cmovae eax, dword [ebp - 0xa68]
lea ecx, [ebp - 0xa38]
push eax
call fcn.00403c20
push 1
push 0x45ccd8
lea ecx, [ebp - 0xa38]
call fcn.00403c20
push 0xd
push str.SDM_DB_IP.ini
lea ecx, [ebp - 0xa38]
call fcn.00403c20
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xa78], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0xa68]
movq qword [ebp - 0xaa8], xmm0
call fcn.00403740
movups xmm0, xmmword [ebp - 0xa78]
movups xmmword [ebp - 0xa68], xmm0
movq xmm0, qword [ebp - 0xaa8]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0xa24]
movq qword [ebp - 0xa58], xmm0
cmp edx, 8
jb 0x40ec90
mov ecx, dword [ebp - 0xa38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40ec86
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40efec
push edx
push ecx
call fcn.004153c5
add esp, 8
cmp dword [ebp - 0xa54], 8
lea eax, [ebp - 0xa68]
cmovae eax, dword [ebp - 0xa68]
push eax
push 0x400
lea eax, [ebp - 0xa20]
push eax
push str.sdmlog.clonix.com__msdmasend
push str.DBIP
push str.WinClon
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0xa20]
push eax
lea eax, [ebp - 0xa38]
push str._s.log
push eax
call fcn.00410ee0
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0xa50]
cmp eax, esi
je 0x40ed1e
mov ecx, eax
call fcn.00403740
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0xa50], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0xa40], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0xa24]
cmp edx, 8
jb 0x40ed5e
mov ecx, dword [ebp - 0xa38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40ed54
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40eff1
push edx
push ecx
call fcn.004153c5
add esp, 8
cmp dword [ebp - 0xa3c], 8
lea ecx, [ebp - 0xa50]
mov edi, dword [ebp - 0xa40]
mov edx, edi
cmovae ecx, dword [ebp - 0xa50]
push 1
push 0x45cd58
push ecx
call fcn.00404130
mov esi, eax
add esp, 0xc
cmp esi, 0xffffffff
jne 0x40edab
mov ecx, dword [ebp - 0xa9c]
push 0x11
push str.sdmlog.clonix.com
lea ecx, [ecx + 4]
call fcn.00403ae0
jmp 0x40ef30
xor eax, eax
mov dword [ebp - 0xa28], 0
cmp edi, esi
mov word [ebp - 0xa38], ax
mov ecx, esi
mov dword [ebp - 0xa24], 7
cmovb ecx, edi
lea eax, [ebp - 0xa50]
cmp dword [ebp - 0xa3c], 8
push ecx
cmovae eax, dword [ebp - 0xa50]
lea ecx, [ebp - 0xa38]
push eax
call fcn.00403ae0
mov edi, dword [ebp - 0xa9c]
lea eax, [ebp - 0xa38]
add edi, 4
cmp edi, eax
je 0x40ee23
mov ecx, edi
call fcn.00403740
movups xmm0, xmmword [ebp - 0xa38]
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0xa28]
movq qword [edi + 0x10], xmm0
jmp 0x40ee63
mov edx, dword [ebp - 0xa24]
cmp edx, 8
jb 0x40ee63
mov ecx, dword [ebp - 0xa38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40ee59
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40eff6
push edx
push ecx
call fcn.004153c5
add esp, 8
xor eax, eax
mov dword [ebp - 0xa28], 0
mov word [ebp - 0xa38], ax
mov eax, dword [ebp - 0xa40]
mov dword [ebp - 0xa24], 7
cmp eax, esi
jb 0x40effb
sub eax, esi
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp - 0xa3c], 8
lea eax, [ebp - 0xa50]
cmovae eax, dword [ebp - 0xa50]
push ecx
lea ecx, [ebp - 0xa38]
lea eax, [eax + esi*2]
push eax
call fcn.00403ae0
mov esi, dword [ebp - 0xa9c]
lea eax, [ebp - 0xa38]
add esi, 0x1c
cmp esi, eax
je 0x40eef0
mov ecx, esi
call fcn.00403740
movups xmm0, xmmword [ebp - 0xa38]
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0xa28]
movq qword [esi + 0x10], xmm0
jmp 0x40ef30
mov edx, dword [ebp - 0xa24]
cmp edx, 8
jb 0x40ef30
mov ecx, dword [ebp - 0xa38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40ef26
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f000
push edx
push ecx
call fcn.004153c5
add esp, 8
mov edx, dword [ebp - 0xa3c]
cmp edx, 8
jb 0x40ef70
mov ecx, dword [ebp - 0xa50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40ef66
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f005
push edx
push ecx
call fcn.004153c5
add esp, 8
mov edx, dword [ebp - 0xa54]
xor eax, eax
mov dword [ebp - 0xa40], 0
mov dword [ebp - 0xa3c], 7
mov word [ebp - 0xa50], ax
cmp edx, 8
jb 0x40efc9
mov ecx, dword [ebp - 0xa68]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40efbf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f00a
push edx
push ecx
call fcn.004153c5
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.00414dec
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004375f1
call fcn.004375f1
call fcn.004375f1
call fcn.004375f1
call fcn.00403f90
call fcn.004375f1
call fcn.004375f1
call fcn.004375f1
int3