Function at 0x479680
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cb3ab
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x4fafc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, esi
cmp dword [esi + 0x14], 7
jbe 0x4796ba
mov eax, dword [esi]
push eax
call fcn.0047a3f0
add esp, 4
test al, al
je 0x4796ce
mov al, 1
jmp 0x47a155
push esi
lea ecx, [ebp - 0x70]
call fcn.00461850
push 0x5c
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00499d20
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0x70]
cmp eax, esi
je 0x479753
mov ecx, dword [ebp - 0x5c]
cmp ecx, 7
jbe 0x47972f
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x479725
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47977f
push ecx
push edx
call fcn.004bea18
add esp, 8
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x70], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x60], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov ecx, dword [ebp - 0x2c]
cmp ecx, 7
jbe 0x47978f
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x479785
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x479785
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004bea18
add esp, 8
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00498ed0
mov esi, eax
add esp, 8
lea eax, [ebp - 0x70]
cmp eax, esi
je 0x479802
mov ecx, dword [ebp - 0x5c]
cmp ecx, 7
jbe 0x4797de
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4797d4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47982e
push ecx
push edx
call fcn.004bea18
add esp, 8
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x70], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x60], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov ecx, dword [ebp - 0x2c]
cmp ecx, 7
jbe 0x47983e
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x479834
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x479834
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004bea18
add esp, 8
push 0x5c
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.004ada80
add esp, 0xc
xorps xmm0, xmm0
mov dword [ebp - 0x14], 7
xor esi, esi
xor eax, eax
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], esi
mov word [ebp - 0x28], ax
mov ecx, dword [ebp - 0x9c]
mov eax, 0x2aaaaaab
sub ecx, dword [ebp - 0xa0]
xor edi, edi
imul ecx
mov byte [ebp - 4], 2
sar edx, 2
mov eax, edx
mov dword [ebp - 0x94], edi
shr eax, 0x1f
add eax, edx
je 0x47a010
nop dword [eax + eax]
test edi, edi
je 0x4798dd
mov ecx, dword [ebp - 0x14]
cmp esi, ecx
jae 0x4798c4
lea eax, [esi + 1]
cmp ecx, 7
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
mov dword [eax + esi*2], 0x5c
jmp 0x4798dd
push 0x5c
mov byte [ebp - 0xa4], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0xa4]
push 1
call fcn.00460ae0
mov eax, dword [ebp - 0xa0]
lea ecx, [edi + edi*2]
cmp dword [eax + ecx*8 + 0x14], 7
lea eax, [eax + ecx*8]
mov ecx, eax
jbe 0x4798f4
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x28]
call fcn.004b3da0
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x479fdf
cmp dword [ebp - 0x14], 7
lea edi, [ebp - 0x28]
cmova edi, dword [ebp - 0x28]
seta al
mov byte [ebp - 0x89], al
cmp esi, 1
jne 0x479951
mov edx, esi
mov ecx, 0x4dc0cc
test edx, edx
je 0x479fdf
sub edi, ecx
mov ax, word [edi + ecx]
cmp ax, word [ecx]
jne 0x47994b
add ecx, 2
sub edx, 1
jne 0x479935
jmp 0x479fdf
mov al, byte [ebp - 0x89]
test al, al
lea edi, [ebp - 0x28]
cmovne edi, dword [ebp - 0x28]
cmp esi, 1
jne 0x479986
mov edx, esi
mov ecx, 0x4dbc48
test edx, edx
je 0x479fdf
sub edi, ecx
mov ax, word [ecx + edi]
cmp ax, word [ecx]
jne 0x479986
add ecx, 2
sub edx, 1
jne 0x479970
jmp 0x479fdf
cmp byte [ebp - 0x89], 0
lea eax, [ebp - 0x28]
cmovne eax, dword [ebp - 0x28]
push eax
call fcn.0047a3f0
add esp, 4
test al, al
jne 0x479fdc
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x4799cd
lea ecx, [esi - 1]
cmp esi, ecx
jbe 0x47a170
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
cmp word [eax + ecx*2], 0x3a
je 0x479fdf
mov ecx, 2
mov dword [ebp - 0x30], 0
cmp esi, ecx
mov dword [ebp - 0x2c], 0
lea eax, [ebp - 0x28]
xorps xmm0, xmm0
cmovb ecx, esi
cmp dword [ebp - 0x14], 7
push ecx
cmova eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x40]
push eax
movups xmmword [ebp - 0x40], xmm0
call fcn.0045f390
push 0x4dbde8
lea ecx, [ebp - 0x40]
call fcn.004b3a80
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 0x89], al
cmp ecx, 7
jbe 0x479a54
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x479a44
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47a048
push ecx
push edx
call fcn.004bea18
mov al, byte [ebp - 0x89]
add esp, 8
test al, al
je 0x479cd5
mov eax, dword [ebp - 0x18]
xorps xmm0, xmm0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
movups xmmword [ebp - 0x88], xmm0
cmp eax, 2
jb 0x47a170
add eax, 0xfffffffe
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
push ecx
add eax, 4
lea ecx, [ebp - 0x88]
push eax
call fcn.0045f390
mov edi, dword [ebp - 0x74]
lea eax, [ebp - 0x88]
mov edx, dword [ebp - 0x88]
cmp edi, 7
mov esi, dword [ebp - 0x78]
cmova eax, edx
mov byte [ebp - 4], 3
seta byte [ebp - 0x89]
mov dword [ebp - 0x90], eax
test esi, esi
je 0x479ae4
mov ecx, esi
cmp word [eax], 0x5c
je 0x479b25
add eax, 2
sub ecx, 1
jne 0x479ad6
mov byte [ebp - 4], 2
cmp edi, 7
jbe 0x479fdc
lea ecx, [edi*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x479b16
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47977f
push ecx
push edx
call fcn.004bea18
add esp, 8
jmp 0x479fdc
test eax, eax
je 0x479ae4
sub eax, dword [ebp - 0x90]
sar eax, 1
cmp eax, 0xffffffff
je 0x479ae4
lea edi, [eax + 1]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x58], xmm0
cmp esi, edi
jb 0x47a170
or ecx, 0xffffffff
lea eax, [ebp - 0x88]
sub esi, edi
cmp esi, 0xffffffff
cmovb ecx, esi
cmp byte [ebp - 0x89], 0
push ecx
cmovne eax, edx
lea ecx, [ebp - 0x58]
lea eax, [eax + edi*2]
push eax
call fcn.0045f390
mov edi, dword [ebp - 0x44]
lea eax, [ebp - 0x58]
mov esi, dword [ebp - 0x58]
cmp edi, 7
push 1
push 0x4dbc48
push 0
push dword [ebp - 0x48]
cmova eax, esi
seta byte [ebp - 0x89]
push eax
call fcn.00461490
add esp, 0x14
cmp eax, 0xffffffff
jne 0x479c48
cmp byte [ebp - 0x89], 0
je 0x479bea
lea ecx, [edi*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x479be0
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47977f
push ecx
push esi
call fcn.004bea18
add esp, 8
mov ecx, dword [ebp - 0x74]
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov byte [ebp - 4], 2
cmp ecx, 7
jbe 0x479fdc
mov edx, dword [ebp - 0x88]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x479c39
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47977f
push ecx
push edx
call fcn.004bea18
add esp, 8
jmp 0x479fdc
cmp byte [ebp - 0x89], 0
je 0x479c80
lea ecx, [edi*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x479c76
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47977f
push ecx
push esi
call fcn.004bea18
add esp, 8
mov ecx, dword [ebp - 0x74]
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov byte [ebp - 4], 2
cmp ecx, 7
jbe 0x479cd5
mov edx, dword [ebp - 0x88]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x479ccb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47977f
push ecx
push edx
call fcn.004bea18
add esp, 8
mov ecx, 2
mov dword [ebp - 0x30], 0
cmp dword [ebp - 0x18], ecx
lea eax, [ebp - 0x28]
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
cmovb ecx, dword [ebp - 0x18]
cmp dword [ebp - 0x14], 7
push ecx
cmova eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x40]
push eax
movups xmmword [ebp - 0x40], xmm0
call fcn.0045f390
push 0x4dc0c4
lea ecx, [ebp - 0x40]
call fcn.004b3a80
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 0x89], al
cmp ecx, 7
jbe 0x479d5e
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x479d4e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47a048
push ecx
push edx
call fcn.004bea18
mov al, byte [ebp - 0x89]
add esp, 8
test al, al
je 0x479fc3
mov eax, dword [ebp - 0x18]
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x40], xmm0
cmp eax, 2
jb 0x47a170
add eax, 0xfffffffe
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
push ecx
add eax, 4
lea ecx, [ebp - 0x40]
push eax
call fcn.0045f390
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x40]
mov ecx, dword [ebp - 0x30]
cmp edi, 7
mov esi, dword [ebp - 0x40]
push 1
push 0x4dc0cc
push 0
cmova eax, esi
mov byte [ebp - 4], 4
push ecx
push eax
seta byte [ebp - 0x89]
mov dword [ebp - 0x90], ecx
call fcn.00461490
add esp, 0x14
cmp eax, 0xffffffff
jne 0x479e27
mov byte [ebp - 4], 2
cmp edi, 7
jbe 0x479fdc
lea ecx, [edi*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x479e18
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47977f
push ecx
push esi
call fcn.004bea18
add esp, 8
jmp 0x479fdc
lea edx, [eax + 1]
mov dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x90]
xorps xmm0, xmm0
mov dword [ebp - 0x44], 0
movups xmmword [ebp - 0x58], xmm0
cmp eax, edx
jb 0x47a170
sub eax, edx
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp byte [ebp - 0x89], 0
lea eax, [ebp - 0x40]
cmovne eax, esi
push ecx
lea ecx, [ebp - 0x58]
lea eax, [eax + edx*2]
push eax
call fcn.0045f390
mov edi, dword [ebp - 0x44]
lea eax, [ebp - 0x58]
mov esi, dword [ebp - 0x58]
cmp edi, 7
push 1
push 0x4dc0cc
push 0
push dword [ebp - 0x48]
cmova eax, esi
seta byte [ebp - 0x89]
push eax
call fcn.00461490
add esp, 0x14
cmp eax, 0xffffffff
jne 0x479f39
cmp byte [ebp - 0x89], 0
je 0x479ede
lea ecx, [edi*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x479ed4
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47977f
push ecx
push esi
call fcn.004bea18
add esp, 8
mov ecx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov byte [ebp - 4], 2
cmp ecx, 7
jbe 0x479fdc
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x479f2a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47977f
push ecx
push edx
call fcn.004bea18
add esp, 8
jmp 0x479fdc
cmp byte [ebp - 0x89], 0
je 0x479f71
lea ecx, [edi*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x479f67
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47977f
push ecx
push esi
call fcn.004bea18
add esp, 8
mov ecx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov byte [ebp - 4], 2
cmp ecx, 7
jbe 0x479fc3
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x479fb9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47977f
push ecx
push edx
call fcn.004bea18
add esp, 8
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wmkdir]
add esp, 4
test eax, eax
jne 0x47a04e
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x9c]
mov eax, 0x2aaaaaab
sub ecx, dword [ebp - 0xa0]
inc dword [ebp - 0x94]
mov edi, dword [ebp - 0x94]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x4798a0
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x47a101
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x47a0f7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x47a0f7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push 0x4dc0d0
push eax
call fcn.0045ee50
add esp, 0xc
cmp dword [eax + 0x14], 7
mov byte [ebp - 4], 5
jbe 0x47a06f
mov eax, dword [eax]
push eax
call fcn.00494a60
mov ecx, dword [ebp - 0x2c]
add esp, 4
cmp ecx, 7
jbe 0x47a0b4
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x47a0aa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x47a0aa
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004bea18
add esp, 8
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x47a0ee
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x47a0e4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47a048
push ecx
push edx
call fcn.004bea18
add esp, 8
mov byte [ebp - 0x89], 0
jmp 0x47a108
push ecx
push edx
call fcn.004bea18
add esp, 8
mov byte [ebp - 0x89], 1
lea ecx, [ebp - 0xa0]
call fcn.004b3be0
mov ecx, dword [ebp - 0x5c]
cmp ecx, 7
jbe 0x47a14f
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x47a145
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x47a145
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004bea18
add esp, 8
mov al, byte [ebp - 0x89]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004beeb3
mov esp, ebp
pop ebp
ret
call fcn.004b3d10
int3