Function at 0x4796a0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d1ebb
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x501fc0]
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 0x4796da
mov eax, dword [esi]
push eax
call fcn.0047a3d0
add esp, 4
test al, al
je 0x4796ee
mov al, 1
jmp 0x47a132
push esi
lea ecx, [ebp - 0x70]
call fcn.004617b0
push 0x5c
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00499e00
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0x70]
cmp eax, esi
je 0x479773
mov ecx, dword [ebp - 0x5c]
cmp ecx, 7
jbe 0x47974f
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x479745
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47979f
push ecx
push edx
call fcn.004bf0c8
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 0x4797af
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4797a5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4797a5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004bf0c8
add esp, 8
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00498fb0
mov esi, eax
add esp, 8
lea eax, [ebp - 0x70]
cmp eax, esi
je 0x479822
mov ecx, dword [ebp - 0x5c]
cmp ecx, 7
jbe 0x4797fe
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4797f4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47984e
push ecx
push edx
call fcn.004bf0c8
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 0x47985e
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x479854
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x479854
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004bf0c8
add esp, 8
push 0x5c
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.004ae1e0
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 0x479fed
nop dword [eax + eax]
test edi, edi
je 0x4798fd
mov ecx, dword [ebp - 0x14]
cmp esi, ecx
jae 0x4798e4
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 0x4798fd
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 0x479914
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x28]
call fcn.004b4550
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x479fbc
cmp dword [ebp - 0x14], 7
lea edi, [ebp - 0x28]
cmova edi, dword [ebp - 0x28]
cmp esi, 1
jne 0x479966
mov edx, esi
mov ecx, 0x4e30c4
test edx, edx
je 0x479fbc
sub edi, ecx
nop dword [eax]
mov ax, word [edi + ecx]
cmp ax, word [ecx]
jne 0x479966
add ecx, 2
sub edx, 1
jne 0x479950
jmp 0x479fbc
cmp dword [ebp - 0x14], 7
lea edi, [ebp - 0x28]
cmova edi, dword [ebp - 0x28]
cmp esi, 1
jne 0x47999d
mov edx, esi
mov ecx, 0x4e2c40
test edx, edx
je 0x479fbc
sub edi, ecx
mov ax, word [edi + ecx]
cmp ax, word [ecx]
jne 0x47999d
add ecx, 2
sub edx, 1
jne 0x479987
jmp 0x479fbc
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
push eax
call fcn.0047a3d0
add esp, 4
test al, al
jne 0x479fb9
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x4799e1
lea ecx, [esi - 1]
cmp esi, ecx
jbe 0x47a14d
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
cmp word [eax + ecx*2], 0x3a
je 0x479fbc
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 0x4e2de0
lea ecx, [ebp - 0x40]
call fcn.004b4230
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 0x89], al
cmp ecx, 7
jbe 0x479a68
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x479a58
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47a025
push ecx
push edx
call fcn.004bf0c8
mov al, byte [ebp - 0x89]
add esp, 8
test al, al
je 0x479ccc
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 0x47a14d
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 0x479aee
mov ecx, esi
mov eax, edi
nop dword [eax]
cmp word [eax], 0x5c
je 0x479b32
add eax, 2
sub ecx, 1
jne 0x479ae0
mov esi, dword [ebp - 0x74]
mov byte [ebp - 4], 2
cmp esi, 7
jbe 0x479fb9
lea ecx, [esi*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x479b23
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47979f
push ecx
push edx
call fcn.004bf0c8
add esp, 8
jmp 0x479fb9
test eax, eax
je 0x479aee
sub eax, edi
sar eax, 1
cmp eax, 0xffffffff
je 0x479aee
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 0x47a14d
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 0x4e2c40
push 0
push dword [ebp - 0x48]
cmova eax, esi
push eax
call fcn.004613f0
add esp, 0x14
cmp eax, 0xffffffff
jne 0x479c43
cmp edi, 7
jbe 0x479be5
lea ecx, [edi*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x479bdb
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47979f
push ecx
push esi
call fcn.004bf0c8
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 0x479fb9
mov edx, dword [ebp - 0x88]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x479c34
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47979f
push ecx
push edx
call fcn.004bf0c8
add esp, 8
jmp 0x479fb9
cmp edi, 7
jbe 0x479c77
lea ecx, [edi*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x479c6d
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47979f
push ecx
push esi
call fcn.004bf0c8
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 0x479ccc
mov edx, dword [ebp - 0x88]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x479cc2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47979f
push ecx
push edx
call fcn.004bf0c8
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 0x4e30bc
lea ecx, [ebp - 0x40]
call fcn.004b4230
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 0x89], al
cmp ecx, 7
jbe 0x479d55
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x479d45
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47a025
push ecx
push edx
call fcn.004bf0c8
mov al, byte [ebp - 0x89]
add esp, 8
test al, al
je 0x479fa0
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 0x47a14d
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 0x4e30c4
push 0
cmova eax, esi
mov byte [ebp - 4], 4
push ecx
push eax
mov dword [ebp - 0x94], ecx
call fcn.004613f0
add esp, 0x14
cmp eax, 0xffffffff
jne 0x479e17
mov byte [ebp - 4], 2
cmp edi, 7
jbe 0x479fb9
lea ecx, [edi*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x479e08
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47979f
push ecx
push esi
call fcn.004bf0c8
add esp, 8
jmp 0x479fb9
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 0x47a14d
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 0x4e30c4
push 0
push dword [ebp - 0x48]
cmova eax, esi
push eax
call fcn.004613f0
add esp, 0x14
cmp eax, 0xffffffff
jne 0x479f1a
cmp edi, 7
jbe 0x479ebf
lea ecx, [edi*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x479eb5
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47979f
push ecx
push esi
call fcn.004bf0c8
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 0x479fb9
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x479f0b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47979f
push ecx
push edx
call fcn.004bf0c8
add esp, 8
jmp 0x479fb9
cmp edi, 7
jbe 0x479f4e
lea ecx, [edi*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x479f44
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47979f
push ecx
push esi
call fcn.004bf0c8
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 0x479fa0
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x479f96
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47979f
push ecx
push edx
call fcn.004bf0c8
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 0x47a02b
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 0x4798c0
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x47a0de
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x47a0d4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x47a0d4
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 0x4e30c8
push eax
call fcn.0045ee50
add esp, 0xc
cmp dword [eax + 0x14], 7
mov byte [ebp - 4], 5
jbe 0x47a04c
mov eax, dword [eax]
push eax
call fcn.00494b00
mov ecx, dword [ebp - 0x2c]
add esp, 4
cmp ecx, 7
jbe 0x47a091
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x47a087
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x47a087
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004bf0c8
add esp, 8
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x47a0cb
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x47a0c1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47a025
push ecx
push edx
call fcn.004bf0c8
add esp, 8
mov byte [ebp - 0x89], 0
jmp 0x47a0e5
push ecx
push edx
call fcn.004bf0c8
add esp, 8
mov byte [ebp - 0x89], 1
lea ecx, [ebp - 0xa0]
call fcn.004b4390
mov ecx, dword [ebp - 0x5c]
cmp ecx, 7
jbe 0x47a12c
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x47a122
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x47a122
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004bf0c8
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.004bf563
mov esp, ebp
pop ebp
ret
call fcn.004b44c0
int3