Function at 0x100bcb10
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1019173d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
mov edx, dword [ebp + 8]
mov eax, closesocket
push ebx
mov ebx, ecx
mov ecx, dword [ebx + 0xcbc]
push esi
push edi
mov edi, dword [edx + 0x10]
sub eax, ecx
mov dword [ebp - 0x10], ebx
lea esi, [ebx + 0xcac]
cmp eax, edi
jb 0x100bcdfa
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x100bcb5e
mov eax, dword [esi]
cmp dword [edx + 0x14], 0xf
jbe 0x100bcb66
mov edx, dword [edx]
push edi
push edx
push ecx
push eax
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x48]
call fcn.1000ca10
cmp dword [esi + 0x14], 0xf
mov dword [ebp - 4], 0
jbe 0x100bcb85
mov esi, dword [esi]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov eax, dword [ebx + 0xc8c]
mov edi, dword [ebx + 0xc88]
mov ebx, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov dword [ebp - 0x18], eax
cmp edi, eax
je 0x100bcc64
nop dword [eax + eax]
mov esi, dword [edi]
lea ebx, [ebp - 0x48]
cmp dword [ebp - 0x34], 0xf
cmova ebx, dword [ebp - 0x48]
mov eax, dword [esi + 0x30]
mov eax, dword [eax]
test eax, eax
jns 0x100bcbdc
neg eax
push eax
lea eax, [ebp - 0x1b]
push eax
call fcn.10008570
add esp, 8
mov byte [eax - 1], 0x2d
dec eax
jmp 0x100bcbe9
push eax
lea eax, [ebp - 0x1b]
push eax
call fcn.10008570
add esp, 8
lea ecx, [ebp + 0xb]
push ecx
lea ecx, [ebp - 0x1b]
push ecx
push eax
lea ecx, [ebp - 0x60]
call fcn.100055e0
cmp dword [ebp - 0x4c], 0xf
lea ecx, [ebp - 0x60]
lea eax, [esi + 0x18]
cmova ecx, dword [ebp - 0x60]
cmp dword [eax + 0x14], 0xf
jbe 0x100bcc10
mov eax, dword [eax]
cmp dword [esi + 0x14], 0xf
jbe 0x100bcc18
mov esi, dword [esi]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push ecx
push eax
push esi
call ebx
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0xf
jbe 0x100bcc58
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100bcc4e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100bcdda
push ecx
push edx
call fcn.1013141d
add esp, 8
add edi, 4
cmp edi, dword [ebp - 0x18]
jne 0x100bcbb0
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 0xc98]
mov esi, dword [ecx + 0xc94]
mov dword [ebp + 8], eax
cmp esi, eax
je 0x100bccc4
nop word [eax + eax]
mov ecx, dword [esi]
lea edx, [ebp - 0x48]
cmp dword [ebp - 0x34], 0xf
mov edi, 0x111497fc
cmova edx, dword [ebp - 0x48]
mov eax, dword [ecx + 0x30]
cmp byte [eax], 0
mov eax, 0x11149804
cmove edi, eax
cmp dword [ecx + 0x2c], 0xf
lea eax, [ecx + 0x18]
jbe 0x100bccab
mov eax, dword [eax]
cmp dword [ecx + 0x14], 0xf
jbe 0x100bccb3
mov ecx, dword [ecx]
push edx
push edi
push eax
push ecx
call ebx
add esi, 4
cmp esi, dword [ebp + 8]
jne 0x100bcc80
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 0xca4]
mov ebx, dword [ecx + 0xca0]
mov dword [ebp - 0x18], eax
cmp ebx, eax
je 0x100bcdb1
nop dword [eax + eax]
cmp dword [ebp - 0x34], 0xf
lea eax, [ebp - 0x48]
mov edi, dword [ebx]
cmova eax, dword [ebp - 0x48]
sub esp, 8
mov dword [ebp + 8], eax
mov eax, dword [edi + 0x30]
movss xmm0, dword [eax]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push 0x110da518
movsd qword [ebp - 0x14], xmm0
call fcn.1003d1f0
add esp, 0xc
lea ecx, [ebp - 0x30]
mov esi, eax
push 0
push esi
call fcn.1002bb20
cmp dword [ebp - 0x1c], 0xf
lea ecx, [ebp - 0x30]
movsd xmm0, qword [ebp - 0x14]
lea eax, [esi + 1]
cmova ecx, dword [ebp - 0x30]
sub esp, 8
movsd qword [esp], xmm0
push 0x110da518
push eax
push ecx
call fcn.1003d230
add esp, 0x14
lea ecx, [ebp - 0x30]
cmp dword [ebp - 0x1c], 0xf
lea eax, [edi + 0x18]
cmova ecx, dword [ebp - 0x30]
cmp dword [eax + 0x14], 0xf
jbe 0x100bcd61
mov eax, dword [eax]
cmp dword [edi + 0x14], 0xf
jbe 0x100bcd69
mov edi, dword [edi]
push dword [ebp + 8]
push ecx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0xf
jbe 0x100bcda5
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100bcd9b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100bcdda
push ecx
push edx
call fcn.1013141d
add esp, 8
add ebx, 4
cmp ebx, dword [ebp - 0x18]
jne 0x100bcce0
mov ecx, dword [ebp - 0x34]
pop edi
pop esi
pop ebx
cmp ecx, 0xf
jbe 0x100bcdea
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100bcde0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100bcde0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1013141d
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
call fcn.10005290
int3