Function at 0x1006d650
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ff29d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
mov edx, dword [ebp + 8]
mov eax, bind
push esi
lea esi, [ecx + 0x584]
mov dword [ebp - 0x10], ecx
mov ecx, dword [esi + 0x10]
sub eax, ecx
push edi
mov edi, dword [edx + 0x10]
cmp eax, edi
jb 0x1006d9b8
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x1006d698
mov eax, dword [esi]
cmp dword [edx + 0x14], 0xf
jbe 0x1006d6a0
mov edx, dword [edx]
push edi
push edx
push ecx
push eax
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x54]
call fcn.1006c950
cmp dword [esi + 0x14], 0xf
mov dword [ebp - 4], 0
jbe 0x1006d6bf
mov esi, dword [esi]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x54c]
mov edi, dword [ecx + 0x548]
mov dword [ebp - 0x18], eax
cmp edi, eax
je 0x1006d79c
cmp dword [ebp - 0x40], 0xf
lea eax, [ebp - 0x54]
mov esi, dword [edi]
cmova eax, dword [ebp - 0x54]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x30]
mov eax, dword [eax]
test eax, eax
jns 0x1006d711
neg eax
push eax
lea eax, [ebp - 0x27]
push eax
call fcn.1001eff0
add esp, 8
mov byte [eax - 1], 0x2d
dec eax
jmp 0x1006d71e
push eax
lea eax, [ebp - 0x27]
push eax
call fcn.1001eff0
add esp, 8
lea ecx, [ebp + 0xb]
push ecx
lea ecx, [ebp - 0x27]
push ecx
push eax
lea ecx, [ebp - 0x6c]
call fcn.1001dd90
cmp dword [ebp - 0x58], 0xf
lea ecx, [ebp - 0x6c]
lea eax, [esi + 0x18]
cmova ecx, dword [ebp - 0x6c]
cmp dword [eax + 0x14], 0xf
jbe 0x1006d745
mov eax, dword [eax]
cmp dword [esi + 0x14], 0xf
jbe 0x1006d74d
mov esi, dword [esi]
push dword [ebp - 0x14]
push ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov ecx, dword [ebp - 0x58]
cmp ecx, 0xf
jbe 0x1006d78d
mov edx, dword [ebp - 0x6c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006d783
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006d9bd
push ecx
push edx
call fcn.100ce3f5
add esp, 8
add edi, 4
cmp edi, dword [ebp - 0x18]
jne 0x1006d6e2
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x558]
mov esi, dword [ecx + 0x554]
mov dword [ebp + 8], eax
cmp esi, eax
je 0x1006d7f8
nop
mov ecx, dword [esi]
lea edx, [ebp - 0x54]
cmp dword [ebp - 0x40], 0xf
mov edi, 0x10103f50
cmova edx, dword [ebp - 0x54]
mov eax, dword [ecx + 0x30]
cmp byte [eax], 0
mov eax, 0x10103f48
cmove edi, eax
cmp dword [ecx + 0x2c], 0xf
lea eax, [ecx + 0x18]
jbe 0x1006d7db
mov eax, dword [eax]
cmp dword [ecx + 0x14], 0xf
jbe 0x1006d7e3
mov ecx, dword [ecx]
push edx
push edi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
add esi, 4
cmp esi, dword [ebp + 8]
jne 0x1006d7b0
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x560]
mov ecx, dword [ecx + 0x564]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x1c], ecx
cmp eax, ecx
je 0x1006d976
mov esi, dword [eax]
lea eax, [ebp - 0x54]
cmp dword [ebp - 0x40], 0xf
mov dword [ebp - 0x18], esi
cmova eax, dword [ebp - 0x54]
sub esp, 8
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x30]
movss xmm0, dword [eax]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push 0x10109040
movsd qword [ebp - 0x24], xmm0
call fcn.10073b00
mov edi, eax
mov dword [ebp - 0x2c], 0
add esp, 0xc
mov dword [ebp - 0x28], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x3c], xmm0
cmp edi, 0x7fffffff
ja 0x1006d9b8
mov dword [ebp - 0x28], 0xf
cmp edi, 0xf
ja 0x1006d891
push edi
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x2c], edi
push 0
push eax
call fcn.100d07e0
add esp, 0xc
mov byte [ebp + edi - 0x3c], 0
jmp 0x1006d8e0
mov eax, edi
or eax, 0xf
cmp eax, 0x7fffffff
jbe 0x1006d8a4
mov eax, bind
jmp 0x1006d8af
cmp eax, 0x16
mov ecx, 0x16
cmovb eax, ecx
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.1000af30
mov ecx, dword [ebp + 8]
mov esi, eax
push edi
push 0
push esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], ecx
call fcn.100d07e0
mov byte [esi + edi], 0
add esp, 0x14
mov esi, dword [ebp - 0x18]
cmp dword [ebp - 0x28], 0xf
lea ecx, [ebp - 0x3c]
movsd xmm0, qword [ebp - 0x24]
lea eax, [edi + 1]
cmova ecx, dword [ebp - 0x3c]
sub esp, 8
movsd qword [esp], xmm0
push 0x10109040
push eax
push ecx
call fcn.10028fc0
add esp, 0x14
lea ecx, [ebp - 0x3c]
cmp dword [ebp - 0x28], 0xf
lea eax, [esi + 0x18]
cmova ecx, dword [ebp - 0x3c]
cmp dword [eax + 0x14], 0xf
jbe 0x1006d920
mov eax, dword [eax]
cmp dword [esi + 0x14], 0xf
jbe 0x1006d928
mov esi, dword [esi]
push dword [ebp - 0x14]
push ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov ecx, dword [ebp - 0x28]
cmp ecx, 0xf
jbe 0x1006d964
mov edx, dword [ebp - 0x3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006d95a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006d9bd
push ecx
push edx
call fcn.100ce3f5
add esp, 8
mov eax, dword [ebp - 0x10]
add eax, 4
mov dword [ebp - 0x10], eax
cmp eax, dword [ebp - 0x1c]
jne 0x1006d812
mov ecx, dword [ebp - 0x40]
pop edi
pop esi
cmp ecx, 0xf
jbe 0x1006d9a8
mov edx, dword [ebp - 0x54]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006d99e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006d9bd
push ecx
push edx
call fcn.100ce3f5
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
call fcn.100160c0
call fcn.100d3e9f
int3