Function at 0x4793f0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cafdb
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 0x47942a
mov eax, dword [esi]
push eax
call fcn.0047a160
add esp, 4
test al, al
je 0x47943e
mov al, 1
jmp 0x479ec5
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.00499990
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0x70]
cmp eax, esi
je 0x4794c3
mov ecx, dword [ebp - 0x5c]
cmp ecx, 7
jbe 0x47949f
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x479495
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4794ef
push ecx
push edx
call fcn.004be688
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 0x4794ff
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4794f5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4794f5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004be688
add esp, 8
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00498b40
mov esi, eax
add esp, 8
lea eax, [ebp - 0x70]
cmp eax, esi
je 0x479572
mov ecx, dword [ebp - 0x5c]
cmp ecx, 7
jbe 0x47954e
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x479544
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47959e
push ecx
push edx
call fcn.004be688
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 0x4795ae
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4795a4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4795a4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004be688
add esp, 8
push 0x5c
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.004ad6f0
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 0x479d80
nop dword [eax + eax]
test edi, edi
je 0x47964d
mov ecx, dword [ebp - 0x14]
cmp esi, ecx
jae 0x479634
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 0x47964d
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 0x479664
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x28]
call fcn.004b3a10
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x479d4f
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 0x4796c1
mov edx, esi
mov ecx, 0x4dc0cc
test edx, edx
je 0x479d4f
sub edi, ecx
mov ax, word [edi + ecx]
cmp ax, word [ecx]
jne 0x4796bb
add ecx, 2
sub edx, 1
jne 0x4796a5
jmp 0x479d4f
mov al, byte [ebp - 0x89]
test al, al
lea edi, [ebp - 0x28]
cmovne edi, dword [ebp - 0x28]
cmp esi, 1
jne 0x4796f6
mov edx, esi
mov ecx, 0x4dbc48
test edx, edx
je 0x479d4f
sub edi, ecx
mov ax, word [ecx + edi]
cmp ax, word [ecx]
jne 0x4796f6
add ecx, 2
sub edx, 1
jne 0x4796e0
jmp 0x479d4f
cmp byte [ebp - 0x89], 0
lea eax, [ebp - 0x28]
cmovne eax, dword [ebp - 0x28]
push eax
call fcn.0047a160
add esp, 4
test al, al
jne 0x479d4c
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x47973d
lea ecx, [esi - 1]
cmp esi, ecx
jbe 0x479ee0
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
cmp word [eax + ecx*2], 0x3a
je 0x479d4f
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.004b36f0
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 0x89], al
cmp ecx, 7
jbe 0x4797c4
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4797b4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x479db8
push ecx
push edx
call fcn.004be688
mov al, byte [ebp - 0x89]
add esp, 8
test al, al
je 0x479a45
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 0x479ee0
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 0x479854
mov ecx, esi
cmp word [eax], 0x5c
je 0x479895
add eax, 2
sub ecx, 1
jne 0x479846
mov byte [ebp - 4], 2
cmp edi, 7
jbe 0x479d4c
lea ecx, [edi*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x479886
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4794ef
push ecx
push edx
call fcn.004be688
add esp, 8
jmp 0x479d4c
test eax, eax
je 0x479854
sub eax, dword [ebp - 0x90]
sar eax, 1
cmp eax, 0xffffffff
je 0x479854
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 0x479ee0
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 0x4799b8
cmp byte [ebp - 0x89], 0
je 0x47995a
lea ecx, [edi*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x479950
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4794ef
push ecx
push esi
call fcn.004be688
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 0x479d4c
mov edx, dword [ebp - 0x88]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4799a9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4794ef
push ecx
push edx
call fcn.004be688
add esp, 8
jmp 0x479d4c
cmp byte [ebp - 0x89], 0
je 0x4799f0
lea ecx, [edi*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x4799e6
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4794ef
push ecx
push esi
call fcn.004be688
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 0x479a45
mov edx, dword [ebp - 0x88]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x479a3b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4794ef
push ecx
push edx
call fcn.004be688
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.004b36f0
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 0x89], al
cmp ecx, 7
jbe 0x479ace
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x479abe
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x479db8
push ecx
push edx
call fcn.004be688
mov al, byte [ebp - 0x89]
add esp, 8
test al, al
je 0x479d33
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 0x479ee0
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 0x479b97
mov byte [ebp - 4], 2
cmp edi, 7
jbe 0x479d4c
lea ecx, [edi*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x479b88
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4794ef
push ecx
push esi
call fcn.004be688
add esp, 8
jmp 0x479d4c
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 0x479ee0
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 0x479ca9
cmp byte [ebp - 0x89], 0
je 0x479c4e
lea ecx, [edi*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x479c44
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4794ef
push ecx
push esi
call fcn.004be688
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 0x479d4c
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x479c9a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4794ef
push ecx
push edx
call fcn.004be688
add esp, 8
jmp 0x479d4c
cmp byte [ebp - 0x89], 0
je 0x479ce1
lea ecx, [edi*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x479cd7
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4794ef
push ecx
push esi
call fcn.004be688
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 0x479d33
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x479d29
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4794ef
push ecx
push edx
call fcn.004be688
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 0x479dbe
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 0x479610
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x479e71
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x479e67
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x479e67
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 0x479ddf
mov eax, dword [eax]
push eax
call fcn.004946d0
mov ecx, dword [ebp - 0x2c]
add esp, 4
cmp ecx, 7
jbe 0x479e24
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x479e1a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x479e1a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004be688
add esp, 8
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x479e5e
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x479e54
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x479db8
push ecx
push edx
call fcn.004be688
add esp, 8
mov byte [ebp - 0x89], 0
jmp 0x479e78
push ecx
push edx
call fcn.004be688
add esp, 8
mov byte [ebp - 0x89], 1
lea ecx, [ebp - 0xa0]
call fcn.004b3850
mov ecx, dword [ebp - 0x5c]
cmp ecx, 7
jbe 0x479ebf
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x479eb5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x479eb5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004be688
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.004beb23
mov esp, ebp
pop ebp
ret
call fcn.004b3980
int3