Function at 0x479670
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cf98b
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x4fefc0]
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 0x4796aa
mov eax, dword [esi]
push eax
call fcn.0047a3a0
add esp, 4
test al, al
je 0x4796be
mov al, 1
jmp 0x47a102
push esi
lea ecx, [ebp - 0x70]
call fcn.004617a0
push 0x5c
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00499de0
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0x70]
cmp eax, esi
je 0x479743
mov ecx, dword [ebp - 0x5c]
cmp ecx, 7
jbe 0x47971f
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x479715
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47976f
push ecx
push edx
call fcn.004bf0b8
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 0x47977f
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x479775
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x479775
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004bf0b8
add esp, 8
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00498f90
mov esi, eax
add esp, 8
lea eax, [ebp - 0x70]
cmp eax, esi
je 0x4797f2
mov ecx, dword [ebp - 0x5c]
cmp ecx, 7
jbe 0x4797ce
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4797c4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47981e
push ecx
push edx
call fcn.004bf0b8
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 0x47982e
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x479824
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x479824
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004bf0b8
add esp, 8
push 0x5c
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.004ae1c0
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 - 0x90], edi
shr eax, 0x1f
add eax, edx
je 0x479fbd
nop dword [eax + eax]
test edi, edi
je 0x4798cd
mov ecx, dword [ebp - 0x14]
cmp esi, ecx
jae 0x4798b4
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 0x4798cd
push 0x5c
mov byte [ebp - 0xa4], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0xa4]
push 1
call fcn.00460aa0
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 0x4798e4
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x28]
call fcn.004b4540
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x479f8c
cmp dword [ebp - 0x14], 7
lea edi, [ebp - 0x28]
cmova edi, dword [ebp - 0x28]
cmp esi, 1
jne 0x479936
mov edx, esi
mov ecx, 0x4e00cc
test edx, edx
je 0x479f8c
sub edi, ecx
nop dword [eax]
mov ax, word [edi + ecx]
cmp ax, word [ecx]
jne 0x479936
add ecx, 2
sub edx, 1
jne 0x479920
jmp 0x479f8c
cmp dword [ebp - 0x14], 7
lea edi, [ebp - 0x28]
cmova edi, dword [ebp - 0x28]
cmp esi, 1
jne 0x47996d
mov edx, esi
mov ecx, 0x4dfc48
test edx, edx
je 0x479f8c
sub edi, ecx
mov ax, word [edi + ecx]
cmp ax, word [ecx]
jne 0x47996d
add ecx, 2
sub edx, 1
jne 0x479957
jmp 0x479f8c
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
push eax
call fcn.0047a3a0
add esp, 4
test al, al
jne 0x479f89
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x4799b1
lea ecx, [esi - 1]
cmp esi, ecx
jbe 0x47a11d
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
cmp word [eax + ecx*2], 0x3a
je 0x479f8c
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 0x4dfde8
lea ecx, [ebp - 0x40]
call fcn.004b4220
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 0x89], al
cmp ecx, 7
jbe 0x479a38
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x479a28
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x479ff5
push ecx
push edx
call fcn.004bf0b8
mov al, byte [ebp - 0x89]
add esp, 8
test al, al
je 0x479c9c
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 0x47a11d
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
cmp dword [ebp - 0x74], 7
lea edi, [ebp - 0x88]
mov edx, dword [ebp - 0x88]
mov esi, dword [ebp - 0x78]
cmova edi, edx
mov byte [ebp - 4], 3
test esi, esi
je 0x479abe
mov ecx, esi
mov eax, edi
nop dword [eax]
cmp word [eax], 0x5c
je 0x479b02
add eax, 2
sub ecx, 1
jne 0x479ab0
mov esi, dword [ebp - 0x74]
mov byte [ebp - 4], 2
cmp esi, 7
jbe 0x479f89
lea ecx, [esi*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x479af3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47976f
push ecx
push edx
call fcn.004bf0b8
add esp, 8
jmp 0x479f89
test eax, eax
je 0x479abe
sub eax, edi
sar eax, 1
cmp eax, 0xffffffff
je 0x479abe
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 0x47a11d
or ecx, 0xffffffff
lea eax, [ebp - 0x88]
sub esi, edi
cmp esi, 0xffffffff
cmovb ecx, esi
cmp dword [ebp - 0x74], 7
push ecx
cmova 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 0x4dfc48
push 0
push dword [ebp - 0x48]
cmova eax, esi
push eax
call fcn.004613e0
add esp, 0x14
cmp eax, 0xffffffff
jne 0x479c13
cmp edi, 7
jbe 0x479bb5
lea ecx, [edi*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x479bab
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47976f
push ecx
push esi
call fcn.004bf0b8
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 0x479f89
mov edx, dword [ebp - 0x88]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x479c04
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47976f
push ecx
push edx
call fcn.004bf0b8
add esp, 8
jmp 0x479f89
cmp edi, 7
jbe 0x479c47
lea ecx, [edi*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x479c3d
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47976f
push ecx
push esi
call fcn.004bf0b8
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 0x479c9c
mov edx, dword [ebp - 0x88]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x479c92
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47976f
push ecx
push edx
call fcn.004bf0b8
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 0x4e00c4
lea ecx, [ebp - 0x40]
call fcn.004b4220
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 0x89], al
cmp ecx, 7
jbe 0x479d25
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x479d15
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x479ff5
push ecx
push edx
call fcn.004bf0b8
mov al, byte [ebp - 0x89]
add esp, 8
test al, al
je 0x479f70
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 0x47a11d
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 0x4e00cc
push 0
cmova eax, esi
mov byte [ebp - 4], 4
push ecx
push eax
mov dword [ebp - 0x94], ecx
call fcn.004613e0
add esp, 0x14
cmp eax, 0xffffffff
jne 0x479de7
mov byte [ebp - 4], 2
cmp edi, 7
jbe 0x479f89
lea ecx, [edi*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x479dd8
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47976f
push ecx
push esi
call fcn.004bf0b8
add esp, 8
jmp 0x479f89
lea edx, [eax + 1]
mov dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x94]
xorps xmm0, xmm0
mov dword [ebp - 0x44], 0
movups xmmword [ebp - 0x58], xmm0
cmp eax, edx
jb 0x47a11d
sub eax, edx
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp edi, 7
lea eax, [ebp - 0x40]
cmova 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 0x4e00cc
push 0
push dword [ebp - 0x48]
cmova eax, esi
push eax
call fcn.004613e0
add esp, 0x14
cmp eax, 0xffffffff
jne 0x479eea
cmp edi, 7
jbe 0x479e8f
lea ecx, [edi*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x479e85
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47976f
push ecx
push esi
call fcn.004bf0b8
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 0x479f89
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x479edb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47976f
push ecx
push edx
call fcn.004bf0b8
add esp, 8
jmp 0x479f89
cmp edi, 7
jbe 0x479f1e
lea ecx, [edi*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x479f14
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47976f
push ecx
push esi
call fcn.004bf0b8
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 0x479f70
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x479f66
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47976f
push ecx
push edx
call fcn.004bf0b8
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 0x479ffb
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x9c]
mov eax, 0x2aaaaaab
sub ecx, dword [ebp - 0xa0]
inc dword [ebp - 0x90]
mov edi, dword [ebp - 0x90]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x479890
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x47a0ae
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x47a0a4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x47a0a4
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 0x4e00d0
push eax
call fcn.0045ee50
add esp, 0xc
cmp dword [eax + 0x14], 7
mov byte [ebp - 4], 5
jbe 0x47a01c
mov eax, dword [eax]
push eax
call fcn.00494ae0
mov ecx, dword [ebp - 0x2c]
add esp, 4
cmp ecx, 7
jbe 0x47a061
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x47a057
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x47a057
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004bf0b8
add esp, 8
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x47a09b
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x47a091
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x479ff5
push ecx
push edx
call fcn.004bf0b8
add esp, 8
mov byte [ebp - 0x89], 0
jmp 0x47a0b5
push ecx
push edx
call fcn.004bf0b8
add esp, 8
mov byte [ebp - 0x89], 1
lea ecx, [ebp - 0xa0]
call fcn.004b4380
mov ecx, dword [ebp - 0x5c]
cmp ecx, 7
jbe 0x47a0fc
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x47a0f2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x47a0f2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004bf0b8
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.004bf553
mov esp, ebp
pop ebp
ret
call fcn.004b44b0
int3