Function at 0x100d2e30
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101d1c38
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x10205ac8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov esi, dword [ebp + 8]
mov eax, dword [edi + 0x14]
mov dword [ebp - 0xb4], esi
mov dword [ebp - 0xa0], esi
test eax, eax
jne 0x100d2ed3
test byte [ebp + 0x10], 1
je 0x100d2ec0
lea ecx, [esi + 4]
mov dword [ecx + 0x10], eax
push 6
push 0x100463fc
mov dword [ecx + 0x14], 0xf
mov byte [ecx], al
call fcn.10074240
mov dword [esi], 0x100446f8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.101b4a00
mov esp, ebp
pop ebp
ret 0xc
call fcn.100d18c0
add eax, 4
lea ecx, [esi + 4]
push eax
call fcn.1006a900
jmp 0x100d2e9a
lea esi, [eax + 3]
mov dword [ebp - 0xb0], 0
push esi
mov dword [ebp - 4], 0
mov dword [ebp - 0xac], esi
call fcn.101b44f5
add esp, 4
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xb0], eax
push esi
push 0
push eax
call fcn.101b66d0
lea esi, [edi + 4]
add esp, 0xc
cmp dword [esi + 0x14], 0x10
mov eax, esi
mov dword [ebp - 0x90], esi
jb 0x100d2f21
mov eax, dword [esi]
push dword [edi + 0x14]
push eax
push dword [ebp - 0xa4]
call fcn.101b6150
add esp, 0xc
test byte [ebp + 0x10], 2
jne 0x100d2f65
cmp dword [esi + 0x14], 0x10
mov edi, esi
jb 0x100d2f43
mov edi, dword [esi]
mov eax, dword [esi + 0x10]
test eax, eax
je 0x100d2f65
push eax
push 0x20
push edi
call fcn.101b6830
add esp, 0xc
test eax, eax
je 0x100d2f65
sub eax, edi
cmp eax, 0xffffffff
je 0x100d2f65
mov dl, 1
jmp 0x100d2f67
xor dl, dl
mov eax, dword [esi + 0x14]
mov ecx, dword [ebp - 0xa4]
mov edi, ecx
mov byte [ebp - 0x92], dl
cmp eax, 0x10
jb 0x100d2f85
mov esi, dword [esi]
mov dword [ebp - 0x90], esi
test dl, dl
je 0x100d2f8f
mov byte [ecx], 0x22
lea edi, [ecx + 1]
mov cl, byte [esi]
mov dl, byte [esi + 1]
cmp cl, dl
jne 0x100d2f9d
cmp cl, 0x5c
je 0x100d2fa9
mov byte [ebp - 0x91], 0
cmp cl, 0x2f
jne 0x100d2fb0
mov byte [ebp - 0x91], 1
xor al, al
mov dword [ebp - 0x8c], eax
cmp dl, 0x3a
jne 0x100d2fcf
movsx eax, cl
push eax
call fcn.100f268c
add esp, 4
mov dword [ebp - 0x8c], eax
xor edx, edx
mov dword [ebp - 0x34], 0x100463e8
mov ecx, 0xf
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], ecx
mov byte [ebp - 0x30], dl
xor cl, cl
mov byte [ebp - 4], 1
mov dword [ebp - 0xa8], ecx
cmp byte [ebp - 0x91], cl
jne 0x100d3045
test byte [ebp + 0x10], 1
je 0x100d3045
lea ecx, [ebp - 0x34]
call fcn.100d3c10
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 0x30]
cmp ecx, 0x10
cmovae eax, edx
cmp byte [eax + 1], 0x3a
jne 0x100d303c
cmp ecx, 0x10
lea eax, [ebp - 0x30]
cmovae eax, edx
movsx eax, byte [eax]
push eax
call fcn.100f268c
mov ecx, eax
add esp, 4
mov dword [ebp - 0xa8], ecx
jmp 0x100d3042
mov ecx, dword [ebp - 0xa8]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x8c]
test al, al
je 0x100d3077
test byte [ebp + 0x10], 1
je 0x100d3059
cmp al, cl
je 0x100d3077
movsx eax, byte [esi]
push eax
call fcn.100f268c
mov byte [edi], al
add esp, 4
mov eax, dword [ebp - 0x8c]
mov byte [edi + 1], 0x3a
add edi, 2
mov edx, dword [ebp - 0x20]
test byte [ebp + 0x10], 1
je 0x100d30a5
cmp al, byte [ebp - 0xa8]
je 0x100d30a5
mov byte [ebp - 0x18], al
lea eax, [ebp - 0x18]
push eax
mov word [ebp - 0x17], 0x3a
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea ecx, [ebp - 0x34]
call fcn.100d3c10
mov edx, dword [ebp - 0x20]
jmp 0x100d30ac
mov byte [ebp - 0xa8], 0
xor esi, esi
mov ecx, 2
cmp byte [ebp - 0x8c], 0
cmovne esi, ecx
add esi, dword [ebp - 0x90]
mov dword [ebp - 0xa0], esi
test edx, edx
je 0x100d352b
cmp dword [ebp - 0x1c], 0x10
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
cmp byte [eax + 1], 0x3a
jne 0x100d311a
cmp edx, ecx
cmovb ecx, edx
cmp dword [ebp - 0x1c], 0x10
mov dword [ebp - 0x8c], ecx
lea ecx, [ebp - 0x30]
cmovae ecx, dword [ebp - 0x30]
sub edx, dword [ebp - 0x8c]
mov dword [ebp - 0x20], edx
lea eax, [edx + 1]
push eax
mov eax, dword [ebp - 0x8c]
add eax, ecx
push eax
push ecx
call fcn.101b6150
mov edx, dword [ebp - 0x20]
add esp, 0xc
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
push edx
push esi
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 2
mov dword [ebp - 0x6c], 0x100446f8
call fcn.100d0d50
cmp dword [ebp - 0x54], 0x10
lea eax, [ebp - 0x68]
mov edx, dword [ebp - 0x58]
cmovae eax, dword [ebp - 0x68]
mov byte [ebp - 4], 3
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x8c], eax
cmp edx, 0x10
jae 0x100d3183
movups xmm0, xmmword [eax]
mov eax, 0xf
mov dword [ebp - 0x9c], eax
movups xmmword [ebp - 0x4c], xmm0
jmp 0x100d31c7
mov eax, edx
mov ecx, closesocket
or eax, 0xf
cmp eax, ecx
cmova eax, ecx
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x9c], eax
inc eax
push eax
call fcn.10073d40
mov ecx, dword [ebp - 0x18]
mov edx, eax
inc ecx
mov dword [ebp - 0x4c], edx
push ecx
push dword [ebp - 0x8c]
push edx
call fcn.101b6150
mov edx, dword [ebp - 0x18]
add esp, 0xc
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x50], 0x100446f8
cmp dword [ebp - 0x1c], 0x10
lea eax, [ebp - 0x30]
mov ecx, dword [ebp - 0x20]
cmovae eax, dword [ebp - 0x30]
mov byte [ebp - 4], 4
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x98], eax
cmp ecx, 0x10
jae 0x100d321f
movups xmm0, xmmword [eax]
mov eax, 0xf
mov dword [ebp - 0x90], eax
movups xmmword [ebp - 0x84], xmm0
mov dword [ebp - 0x70], eax
jmp 0x100d3285
mov eax, ecx
mov ecx, closesocket
or eax, 0xf
cmp eax, 0x7fffffff
cmova eax, ecx
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x90], eax
inc eax
push eax
call fcn.10073d40
mov ecx, dword [ebp - 0x8c]
inc ecx
mov dword [ebp - 0x84], eax
push ecx
push dword [ebp - 0x98]
push eax
call fcn.101b6150
mov edx, dword [ebp - 0x90]
add esp, 0xc
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x70], edx
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x88], 0x100446f8
mov byte [ebp - 4], 5
test edx, edx
je 0x100d32cb
cmp dword [ebp - 0x9c], 0x10
lea eax, [ebp - 0x4c]
push edx
cmovae eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.USER32.dll_CharUpperBuffA]
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x90], eax
test ecx, ecx
je 0x100d3306
cmp dword [ebp - 0x90], 0x10
lea eax, [ebp - 0x84]
push ecx
cmovae eax, dword [ebp - 0x84]
push eax
call dword [sym.imp.USER32.dll_CharUpperBuffA]
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x90], eax
mov esi, dword [ebp - 0xa0]
lea edx, [ebp - 0x84]
cmp eax, 0x10
lea eax, [ebp - 0x4c]
cmovae edx, dword [ebp - 0x84]
cmp dword [ebp - 0x9c], 0x10
cmovae eax, dword [ebp - 0x4c]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x18]
cmp ecx, eax
cmovb eax, ecx
sub eax, 4
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x98]
jb 0x100d3371
nop dword [eax]
mov eax, dword [eax]
cmp eax, dword [edx]
mov eax, dword [ebp - 0x98]
jne 0x100d337a
add eax, 4
add edx, 4
sub dword [ebp - 0x8c], 4
mov dword [ebp - 0x98], eax
jae 0x100d3350
cmp dword [ebp - 0x8c], 0xfffffffc
je 0x100d33cc
mov al, byte [eax]
cmp al, byte [edx]
jne 0x100d33c5
cmp dword [ebp - 0x8c], 0xfffffffd
je 0x100d33cc
mov eax, dword [ebp - 0x98]
mov al, byte [eax + 1]
cmp al, byte [edx + 1]
jne 0x100d33c5
cmp dword [ebp - 0x8c], 0xfffffffe
je 0x100d33cc
mov eax, dword [ebp - 0x98]
mov al, byte [eax + 2]
cmp al, byte [edx + 2]
jne 0x100d33c5
cmp dword [ebp - 0x8c], 0xffffffff
je 0x100d33cc
mov eax, dword [ebp - 0x98]
mov al, byte [eax + 3]
cmp al, byte [edx + 3]
je 0x100d33cc
sbb eax, eax
or eax, 1
jmp 0x100d33ce
xor eax, eax
mov dword [ebp - 0x8c], eax
test eax, eax
jne 0x100d33f5
mov eax, dword [ebp - 0x18]
cmp ecx, eax
jbe 0x100d33eb
mov dword [ebp - 0x8c], 0xffffffff
jmp 0x100d33f5
sbb eax, eax
neg eax
mov dword [ebp - 0x8c], eax
mov edx, dword [ebp - 0x90]
mov dword [ebp - 0x88], 0x100446f8
cmp edx, 0x10
jb 0x100d3442
mov ecx, dword [ebp - 0x84]
inc edx
mov eax, ecx
mov byte [ebp - 4], 6
cmp edx, 0x1000
jb 0x100d3433
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d37cc
push edx
push ecx
call fcn.101b44e7
mov eax, dword [ebp - 0x38]
add esp, 8
jmp 0x100d3448
mov eax, dword [ebp - 0x9c]
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0xf
mov byte [ebp - 0x84], 0
mov dword [ebp - 0x50], 0x100446f8
cmp eax, 0x10
jb 0x100d349b
lea ecx, [eax + 1]
mov eax, edx
mov byte [ebp - 4], 7
cmp ecx, 0x1000
jb 0x100d3491
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d37cc
push ecx
push edx
call fcn.101b44e7
add esp, 8
cmp dword [ebp - 0x8c], 0
jne 0x100d34d2
mov ecx, dword [ebp - 0x20]
mov al, byte [ecx + esi]
lea edx, [ecx + esi]
test al, al
je 0x100d34cb
cmp al, 0x5c
je 0x100d34c6
cmp ecx, 1
jne 0x100d34d2
cmp byte [ebp - 0xa8], 0
jne 0x100d34d2
inc esi
jmp 0x100d34d2
lea esi, [edx + 1]
jmp 0x100d34d2
mov byte [edi], 0x2e
inc edi
add esi, dword [ebp - 0x20]
mov edx, dword [ebp - 0x54]
mov byte [ebp - 4], 1
mov dword [ebp - 0x6c], 0x100446f8
cmp edx, 0x10
jb 0x100d3519
mov ecx, dword [ebp - 0x68]
inc edx
mov eax, ecx
mov byte [ebp - 4], 8
cmp edx, 0x1000
jb 0x100d350b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d37d1
push edx
push ecx
call fcn.101b44e7
add esp, 8
mov byte [ebp - 4], 1
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
mov eax, closesocket
mov ecx, esi
mov edx, eax
mov eax, dword [ebp + 0xc]
test eax, eax
cmovne edx, eax
lea eax, [ecx + 1]
mov dword [ebp - 0x90], edx
mov dword [ebp - 0xa0], eax
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100d3550
sub ecx, dword [ebp - 0xa0]
mov dword [ebp - 0x8c], ecx
cmp ecx, edx
jle 0x100d35d2
xor ah, ah
nop dword [eax]
cmp ecx, edx
jle 0x100d35d2
mov edx, esi
mov dword [ebp - 0xa0], edx
nop dword [eax]
mov al, byte [esi + 1]
inc esi
test al, al
je 0x100d35d0
cmp al, 0x5c
jne 0x100d3580
test ah, ah
jne 0x100d35be
mov eax, dword [ebp - 0xac]
sub eax, edi
add eax, dword [ebp - 0xa4]
push 0x10046408
push eax
push edi
call fcn.100f22ad
mov ecx, dword [ebp - 0x8c]
add esp, 0xc
mov edx, dword [ebp - 0xa0]
add edi, 4
mov ah, 1
sub edx, esi
add ecx, edx
mov edx, dword [ebp - 0x90]
mov dword [ebp - 0x8c], ecx
jmp 0x100d3570
mov esi, edx
mov eax, dword [ebp - 0xac]
sub eax, edi
add eax, dword [ebp - 0xa4]
push esi
push eax
push edi
call fcn.100f22ad
mov ecx, edi
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100d35f0
mov eax, dword [ebp - 0xa8]
sub ecx, edx
add edi, ecx
test al, al
je 0x100d3618
mov byte [ebp - 0x18], al
lea eax, [ebp - 0x18]
push eax
mov word [ebp - 0x17], 0x3a
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
cmp byte [ebp - 0x92], 0
je 0x100d3625
mov byte [edi], 0x22
inc edi
mov byte [edi], 0
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x34], 0x100446f8
cmp edx, 0x10
jb 0x100d3667
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
mov byte [ebp - 4], 9
cmp edx, 0x1000
jb 0x100d365d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d37d6
push edx
push ecx
call fcn.101b44e7
add esp, 8
mov edi, dword [ebp - 0xa4]
mov edx, 0x100445c8
test edi, edi
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
cmovne edx, edi
mov byte [ebp - 0x30], 0
mov ecx, edx
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100d36a7
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x68]
call fcn.10074240
mov dword [ebp - 0x6c], 0x100446f8
push edi
mov dword [ebp - 4], 0xb
call fcn.101b44fe
mov edx, dword [ebp - 0x54]
lea ecx, [ebp - 0x68]
mov edi, dword [ebp - 0xb4]
add esp, 4
mov esi, dword [ebp - 0x68]
cmp edx, 0x10
mov eax, dword [ebp - 0x58]
cmovae ecx, esi
mov dword [ebp - 0xa4], edx
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [ebp - 0xa0], ecx
mov dword [ebp - 0xac], eax
cmp eax, 0x10
jae 0x100d371c
movups xmm0, xmmword [ecx]
mov eax, 0xf
movups xmmword [edi + 4], xmm0
jmp 0x100d3762
or eax, 0xf
mov ecx, closesocket
cmp eax, 0x7fffffff
cmova eax, ecx
lea ecx, [edi + 4]
mov dword [ebp - 0xb0], eax
inc eax
push eax
call fcn.10073d40
mov ecx, dword [ebp - 0xac]
inc ecx
mov dword [edi + 4], eax
push ecx
push dword [ebp - 0xa0]
push eax
call fcn.101b6150
mov eax, dword [ebp - 0xb0]
add esp, 0xc
mov edx, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0xac]
mov dword [edi + 0x14], ecx
mov dword [edi + 0x18], eax
mov dword [edi], 0x100446f8
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x100d37ae
lea ecx, [edx + 1]
mov eax, esi
mov dword [ebp - 4], 0xc
cmp ecx, 0x1000
jb 0x100d37a4
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d37db
push ecx
push esi
call fcn.101b44e7
add esp, 8
mov eax, edi
jmp 0x100d2ea2
call fcn.100ecc9c
call fcn.100ecc9c
call fcn.100ecc9c
call fcn.100ecc9c
int3