Function at 0x100054c0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ddcdd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
cmp dword [esi + 0x10], 0
je 0x100057cb
push 0
push str.C:illusium_
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, dword [esi + 0x10]
mov eax, closesocket
sub eax, ecx
cmp eax, 0xc
jb 0x100057dd
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x10005519
mov eax, dword [esi]
push ebx
push ecx
push eax
push 0xc
push str.C:illusium_
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x4c]
call fcn.10004650
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov dword [ebp - 4], 0
mov dword [ebp + 8], eax
mov dword [ebp - 0x1c], ecx
cmp eax, ecx
je 0x10005656
nop dword [eax]
mov edi, dword [eax]
lea esi, [ebp - 0x1f]
cmp dword [ebp - 0x38], 0x10
lea eax, [ebp - 0x4c]
cmovae eax, dword [ebp - 0x4c]
mov dword [ebp - 0x14], eax
mov eax, dword [edi + 0x30]
mov ebx, dword [eax]
test ebx, ebx
jns 0x10005598
neg ebx
nop
mov eax, 0xcccccccd
dec esi
mul ebx
shr edx, 3
mov al, dl
shl al, 2
lea ecx, [eax + edx]
add cl, cl
sub bl, cl
add bl, 0x30
mov byte [esi], bl
mov ebx, edx
test ebx, ebx
jne 0x10005570
dec esi
mov byte [esi], 0x2d
jmp 0x100055ba
mov eax, 0xcccccccd
dec esi
mul ebx
shr edx, 3
mov al, dl
shl al, 2
lea ecx, [eax + edx]
add cl, cl
sub bl, cl
add bl, 0x30
mov byte [esi], bl
mov ebx, edx
test ebx, ebx
jne 0x10005598
xor eax, eax
lea edx, [ebp - 0x1f]
mov dword [ebp - 0x64], eax
mov ecx, 0xf
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], ecx
cmp esi, edx
je 0x100055e5
mov eax, edx
lea ecx, [ebp - 0x64]
sub eax, esi
push eax
push esi
call fcn.10003440
mov ecx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x64]
cmp ecx, 0x10
lea edx, [ebp - 0x64]
cmovae edx, eax
cmp dword [edi + 0x2c], 0x10
lea eax, [edi + 0x18]
jb 0x100055f9
mov eax, dword [eax]
cmp dword [edi + 0x14], 0x10
jb 0x10005601
mov edi, dword [edi]
push dword [ebp - 0x14]
push edx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov edx, dword [ebp - 0x50]
cmp edx, 0x10
jb 0x10005641
mov ecx, dword [ebp - 0x64]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10005637
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100057bb
push edx
push ecx
call fcn.100dbfa3
add esp, 8
mov eax, dword [ebp + 8]
add eax, 4
mov dword [ebp + 8], eax
cmp eax, dword [ebp - 0x1c]
jne 0x10005550
mov edi, dword [ebp - 0x10]
mov eax, dword [edi + 0x28]
mov ebx, dword [edi + 0x24]
mov dword [ebp - 0x1c], eax
cmp ebx, eax
je 0x1000573f
cmp dword [ebp - 0x38], 0x10
lea eax, [ebp - 0x4c]
mov edi, dword [ebx]
cmovae eax, dword [ebp - 0x4c]
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 0x100e39b8
movsd qword [ebp - 0x18], xmm0
call fcn.1000a8d0
add esp, 0xc
lea ecx, [ebp - 0x64]
mov esi, eax
push 0
push esi
call fcn.10004560
cmp dword [ebp - 0x50], 0x10
lea ecx, [ebp - 0x64]
movsd xmm0, qword [ebp - 0x18]
lea eax, [esi + 1]
cmovae ecx, dword [ebp - 0x64]
sub esp, 8
movsd qword [esp], xmm0
push 0x100e39b8
push eax
push ecx
call fcn.1000a910
add esp, 0x14
lea ecx, [ebp - 0x64]
cmp dword [ebp - 0x50], 0x10
lea eax, [edi + 0x18]
cmovae ecx, dword [ebp - 0x64]
cmp dword [eax + 0x14], 0x10
jb 0x100056e8
mov eax, dword [eax]
cmp dword [edi + 0x14], 0x10
jb 0x100056f0
mov edi, dword [edi]
push dword [ebp + 8]
push ecx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov edx, dword [ebp - 0x50]
cmp edx, 0x10
jb 0x10005730
mov ecx, dword [ebp - 0x64]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10005726
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100057bb
push edx
push ecx
call fcn.100dbfa3
add esp, 8
add ebx, 4
cmp ebx, dword [ebp - 0x1c]
jne 0x10005667
mov edi, dword [ebp - 0x10]
mov ebx, dword [edi + 0x1c]
mov esi, dword [edi + 0x18]
cmp esi, ebx
je 0x10005794
nop dword [eax]
mov ecx, dword [esi]
lea edx, [ebp - 0x4c]
cmp dword [ebp - 0x38], 0x10
mov edi, 0x100e39b0
cmovae edx, dword [ebp - 0x4c]
mov eax, dword [ecx + 0x30]
cmp byte [eax], 0
mov eax, 0x100e39a8
cmove edi, eax
cmp dword [ecx + 0x2c], 0x10
lea eax, [ecx + 0x18]
jb 0x1000577b
mov eax, dword [eax]
cmp dword [ecx + 0x14], 0x10
jb 0x10005783
mov ecx, dword [ecx]
push edx
push edi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
add esi, 4
cmp esi, ebx
jne 0x10005750
mov edx, dword [ebp - 0x38]
pop ebx
cmp edx, 0x10
jb 0x100057cb
mov ecx, dword [ebp - 0x4c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100057c1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100057c1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100dbfa3
add esp, 8
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
call fcn.10003370
int3