Function at 0x478e40
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c6398
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x4f4f98]
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], 8
jb 0x478e7a
mov eax, dword [esi]
push eax
call fcn.00479db0
add esp, 4
test al, al
je 0x478e8e
mov al, 1
jmp 0x479b0b
push esi
lea ecx, [ebp - 0x70]
call fcn.004613e0
push 0x5c
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00499920
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0x70]
cmp eax, esi
je 0x478ee4
mov ecx, eax
call fcn.004b3870
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 edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x478f20
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x478f16
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x478f16
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004be864
add esp, 8
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004989d0
mov esi, eax
add esp, 8
lea eax, [ebp - 0x70]
cmp eax, esi
je 0x478f93
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x478f6f
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x478f65
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x478fbf
push edx
push ecx
call fcn.004be864
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 edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x478fcf
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x478fc5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x478fc5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004be864
add esp, 8
push 0x5c
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.004ad6d0
add esp, 0xc
xor esi, esi
mov dword [ebp - 0x40], 0
mov edi, 7
mov dword [ebp - 0x30], esi
xor eax, eax
mov dword [ebp - 0x2c], edi
mov word [ebp - 0x40], ax
mov ecx, dword [ebp - 0x8c]
sub ecx, dword [ebp - 0x90]
mov dword [ebp - 0x84], eax
mov eax, 0x2aaaaaab
imul ecx
mov byte [ebp - 4], 2
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x479abd
xor ecx, ecx
nop dword [eax]
test ecx, ecx
je 0x479171
cmp esi, edi
jae 0x479058
lea eax, [esi + 1]
cmp edi, 8
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
mov dword [eax + esi*2], 0x5c
jmp 0x479171
mov eax, 0x7ffffffe
sub eax, esi
cmp eax, 1
jb 0x479b30
lea ecx, [esi + 1]
mov eax, 0x7ffffffe
or ecx, 7
cmp ecx, eax
jbe 0x47908d
mov dword [ebp - 0x7c], eax
mov eax, 0xfffffffe
push eax
call fcn.0045f1c0
mov ecx, dword [ebp - 0x7c]
add esp, 4
jmp 0x4790f6
mov edx, edi
shr edx, 1
sub eax, edx
cmp edi, eax
jbe 0x4790b2
mov eax, 0x7ffffffe
mov dword [ebp - 0x7c], eax
mov eax, 0xfffffffe
push eax
call fcn.0045f1c0
mov ecx, dword [ebp - 0x7c]
add esp, 4
jmp 0x4790f6
lea eax, [edi + edx]
cmp ecx, eax
cmovb ecx, eax
mov dword [ebp - 0x7c], ecx
lea eax, [ecx + 1]
cmp eax, 0x7fffffff
ja 0x479b2b
add eax, eax
cmp eax, 0x1000
jb 0x4790e2
push eax
call fcn.0045f1c0
mov ecx, dword [ebp - 0x7c]
add esp, 4
jmp 0x4790f6
test eax, eax
je 0x4790f4
push eax
call sub.mfc140u.dll_operator_2
mov ecx, dword [ebp - 0x7c]
add esp, 4
jmp 0x4790f6
xor eax, eax
mov dword [ebp - 0x2c], ecx
lea ecx, [esi + esi]
mov dword [ebp - 0x78], eax
lea edx, [esi + 1]
mov dword [ebp - 0x30], edx
lea esi, [ecx + eax]
mov dword [ebp - 0x7c], esi
push ecx
cmp edi, 8
jb 0x479158
mov esi, dword [ebp - 0x40]
push esi
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x7c]
lea edi, [edi*2 + 2]
add esp, 0xc
mov dword [eax], 0x5c
cmp edi, 0x1000
jb 0x47914c
mov ecx, dword [esi - 4]
add edi, 0x23
sub esi, ecx
lea eax, [esi - 4]
cmp eax, 0x1f
ja 0x479a60
mov esi, ecx
push edi
push esi
call fcn.004be864
add esp, 8
jmp 0x47916b
lea ecx, [ebp - 0x40]
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov dword [esi], 0x5c
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x40], eax
mov esi, dword [ebp - 0x84]
mov eax, dword [ebp - 0x90]
lea ecx, [esi + esi*2]
cmp dword [eax + ecx*8 + 0x14], 8
lea eax, [eax + ecx*8]
mov ecx, eax
jb 0x47918e
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x40]
call fcn.004b3ac0
mov esi, dword [ebp - 0x30]
mov edi, dword [ebp - 0x2c]
test esi, esi
je 0x479a02
cmp edi, 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
cmp esi, 1
jne 0x4791dc
mov ecx, 0x4d7074
mov edx, esi
sub eax, ecx
mov dword [ebp - 0x78], eax
mov ax, word [ecx + eax]
cmp ax, word [ecx]
jne 0x4791dc
mov eax, dword [ebp - 0x78]
add ecx, 2
sub edx, 1
jne 0x4791c3
jmp 0x479a02
cmp edi, 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
cmp esi, 1
jne 0x479210
mov ecx, 0x4d6bf0
mov edx, esi
sub eax, ecx
mov dword [ebp - 0x78], eax
mov ax, word [ecx + eax]
cmp ax, word [ecx]
jne 0x479210
mov eax, dword [ebp - 0x78]
add ecx, 2
sub edx, 1
jne 0x4791f7
jmp 0x479a02
cmp edi, 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.00479db0
add esp, 4
test al, al
jne 0x4799fc
mov esi, dword [ebp - 0x30]
mov edi, dword [ebp - 0x2c]
test esi, esi
je 0x479255
lea ecx, [esi - 1]
cmp esi, ecx
jbe 0x479b26
cmp edi, 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
cmp word [eax + ecx*2], 0x3a
je 0x479a02
mov eax, 2
mov dword [ebp - 0x28], 0
cmp esi, eax
mov dword [ebp - 0x14], 7
lea ecx, [ebp - 0x40]
cmovb eax, esi
cmp edi, 8
mov dword [ebp - 0x80], eax
cmovae ecx, dword [ebp - 0x40]
mov dword [ebp - 0x7c], ecx
cmp eax, 7
ja 0x4792a8
lea esi, [eax + eax]
mov dword [ebp - 0x18], eax
push esi
push ecx
lea eax, [ebp - 0x28]
push eax
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
xor eax, eax
mov word [ebp + esi - 0x28], ax
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 0x28]
jmp 0x479343
cmp eax, 0x7ffffffe
ja 0x479b30
mov edi, eax
or edi, 7
cmp edi, 0x7ffffffe
jbe 0x4792d8
mov eax, 0xfffffffe
mov edi, 0x7ffffffe
push eax
call fcn.0045f1c0
mov ecx, dword [ebp - 0x7c]
add esp, 4
jmp 0x47931c
cmp edi, 0xa
mov eax, 0xa
cmovb edi, eax
lea eax, [edi + 1]
cmp eax, 0x7fffffff
ja 0x479b2b
add eax, eax
cmp eax, 0x1000
jb 0x479308
push eax
call fcn.0045f1c0
mov ecx, dword [ebp - 0x7c]
add esp, 4
jmp 0x47931c
test eax, eax
je 0x47931a
push eax
call sub.mfc140u.dll_operator_2
mov ecx, dword [ebp - 0x7c]
add esp, 4
jmp 0x47931c
xor eax, eax
mov esi, dword [ebp - 0x80]
mov dword [ebp - 0x18], esi
add esi, esi
push esi
push ecx
push eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x14], edi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x78]
add esp, 0xc
xor ecx, ecx
mov word [esi + eax], cx
mov esi, eax
mov dword [ebp - 0x28], esi
push 0x4d6d90
lea ecx, [ebp - 0x28]
call fcn.004b36d0
mov byte [ebp - 0x71], al
cmp edi, 8
jb 0x47938a
lea edi, [edi*2 + 2]
mov eax, esi
cmp edi, 0x1000
jb 0x47937d
mov esi, dword [esi - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x479a60
push edi
push esi
call fcn.004be864
mov al, byte [ebp - 0x71]
add esp, 8
test al, al
je 0x47974e
xor eax, eax
mov dword [ebp - 0x58], 0
mov word [ebp - 0x58], ax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
cmp eax, 2
jb 0x479b26
add eax, 0xfffffffe
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
mov dword [ebp - 0x78], ecx
cmovae eax, dword [ebp - 0x40]
add eax, 4
mov dword [ebp - 0x80], eax
cmp ecx, 7
ja 0x479401
lea esi, [ecx + ecx]
mov dword [ebp - 0x48], ecx
push esi
push eax
lea eax, [ebp - 0x58]
push eax
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
xor eax, eax
mov word [ebp + esi - 0x58], ax
mov edi, dword [ebp - 0x58]
jmp 0x47949b
cmp ecx, 0x7ffffffe
ja 0x479b30
mov esi, ecx
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x479434
mov eax, 0xfffffffe
mov esi, 0x7ffffffe
push eax
call fcn.0045f1c0
mov ecx, dword [ebp - 0x78]
add esp, 4
mov edi, eax
jmp 0x47947c
cmp esi, 0xa
mov eax, 0xa
cmovb esi, eax
lea eax, [esi + 1]
cmp eax, 0x7fffffff
ja 0x479b2b
add eax, eax
cmp eax, 0x1000
jb 0x479466
push eax
call fcn.0045f1c0
mov ecx, dword [ebp - 0x78]
add esp, 4
mov edi, eax
jmp 0x47947c
test eax, eax
je 0x47947a
push eax
call sub.mfc140u.dll_operator_2
mov ecx, dword [ebp - 0x78]
add esp, 4
mov edi, eax
jmp 0x47947c
xor edi, edi
mov dword [ebp - 0x44], esi
lea esi, [ecx + ecx]
push esi
push dword [ebp - 0x80]
mov dword [ebp - 0x48], ecx
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
xor eax, eax
mov word [edi + esi], ax
mov dword [ebp - 0x58], edi
cmp dword [ebp - 0x44], 8
lea esi, [ebp - 0x58]
mov edx, dword [ebp - 0x48]
cmovae esi, edi
mov byte [ebp - 4], 3
test edx, edx
je 0x4794c2
mov ecx, edx
mov eax, esi
cmp word [eax], 0x5c
je 0x479506
add eax, 2
sub ecx, 1
jne 0x4794b4
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x4799fc
lea ecx, [edx*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x4794f7
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x478f10
push ecx
push edi
call fcn.004be864
add esp, 8
jmp 0x4799fc
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x4794c2
lea esi, [eax + 1]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
cmp edx, esi
jb 0x479b26
sub edx, esi
lea eax, [ebp - 0x58]
or ecx, 0xffffffff
cmp edx, 0xffffffff
cmovb ecx, edx
cmp dword [ebp - 0x44], 8
mov dword [ebp - 0x78], ecx
cmovae eax, edi
lea eax, [eax + esi*2]
mov dword [ebp - 0x80], eax
cmp ecx, 7
ja 0x479575
lea esi, [ecx + ecx]
mov dword [ebp - 0x18], ecx
push esi
push eax
lea eax, [ebp - 0x28]
push eax
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
xor eax, eax
mov word [ebp + esi - 0x28], ax
mov edi, dword [ebp - 0x28]
jmp 0x47960f
cmp ecx, 0x7ffffffe
ja 0x479b30
mov esi, ecx
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x4795a8
mov eax, 0xfffffffe
mov esi, 0x7ffffffe
push eax
call fcn.0045f1c0
mov ecx, dword [ebp - 0x78]
add esp, 4
mov edi, eax
jmp 0x4795f0
cmp esi, 0xa
mov eax, 0xa
cmovb esi, eax
lea eax, [esi + 1]
cmp eax, 0x7fffffff
ja 0x479b2b
add eax, eax
cmp eax, 0x1000
jb 0x4795da
push eax
call fcn.0045f1c0
mov ecx, dword [ebp - 0x78]
add esp, 4
mov edi, eax
jmp 0x4795f0
test eax, eax
je 0x4795ee
push eax
call sub.mfc140u.dll_operator_2
mov ecx, dword [ebp - 0x78]
add esp, 4
mov edi, eax
jmp 0x4795f0
xor edi, edi
mov dword [ebp - 0x14], esi
lea esi, [ecx + ecx]
push esi
push dword [ebp - 0x80]
mov dword [ebp - 0x18], ecx
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
xor eax, eax
mov word [edi + esi], ax
mov dword [ebp - 0x28], edi
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
push 1
push 0x4d6bf0
push 0
push dword [ebp - 0x18]
cmp esi, 8
cmovae eax, edi
push eax
call fcn.004610a0
add esp, 0x14
cmp eax, 0xffffffff
jne 0x4796c8
cmp esi, 8
jb 0x47966d
lea esi, [esi*2 + 2]
mov eax, edi
cmp esi, 0x1000
jb 0x479663
mov edi, dword [edi - 4]
add esi, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x478f10
push esi
push edi
call fcn.004be864
add esp, 8
mov edx, dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x4799fc
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4796b9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x478f10
push edx
push ecx
call fcn.004be864
add esp, 8
jmp 0x4799fc
cmp esi, 8
jb 0x4796fc
lea esi, [esi*2 + 2]
mov eax, edi
cmp esi, 0x1000
jb 0x4796f2
mov edi, dword [edi - 4]
add esi, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x478f10
push esi
push edi
call fcn.004be864
add esp, 8
mov edx, dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x47974e
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x479744
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x478f10
push edx
push ecx
call fcn.004be864
add esp, 8
mov esi, 2
mov dword [ebp - 0x28], 0
cmp dword [ebp - 0x30], esi
lea eax, [ebp - 0x40]
mov dword [ebp - 0x14], 7
cmovb esi, dword [ebp - 0x30]
cmp dword [ebp - 0x2c], 8
cmovae eax, dword [ebp - 0x40]
mov dword [ebp - 0x80], eax
cmp esi, 7
ja 0x4797a0
mov dword [ebp - 0x18], esi
add esi, esi
push esi
push eax
lea eax, [ebp - 0x28]
push eax
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
xor eax, eax
mov word [ebp + esi - 0x28], ax
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 0x28]
jmp 0x479832
cmp esi, 0x7ffffffe
ja 0x479b30
mov edi, esi
or edi, 7
cmp edi, 0x7ffffffe
jbe 0x4797ce
mov eax, 0xfffffffe
mov edi, 0x7ffffffe
push eax
call fcn.0045f1c0
add esp, 4
jmp 0x47980c
cmp edi, 0xa
mov eax, 0xa
cmovb edi, eax
lea eax, [edi + 1]
cmp eax, 0x7fffffff
ja 0x479b2b
add eax, eax
cmp eax, 0x1000
jb 0x4797fb
push eax
call fcn.0045f1c0
add esp, 4
jmp 0x47980c
test eax, eax
je 0x47980a
push eax
call sub.mfc140u.dll_operator_2
add esp, 4
jmp 0x47980c
xor eax, eax
mov dword [ebp - 0x18], esi
add esi, esi
push esi
push dword [ebp - 0x80]
mov dword [ebp - 0x78], eax
push eax
mov dword [ebp - 0x14], edi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x78]
add esp, 0xc
xor ecx, ecx
mov word [esi + eax], cx
mov esi, eax
mov dword [ebp - 0x28], esi
push 0x4d706c
lea ecx, [ebp - 0x28]
call fcn.004b36d0
mov byte [ebp - 0x71], al
cmp edi, 8
jb 0x479857
lea ecx, [edi + 1]
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.004b42c0
mov al, byte [ebp - 0x71]
test al, al
je 0x4799e3
xor eax, eax
mov dword [ebp - 0x28], 0
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
cmp eax, 2
jb 0x479b26
add eax, 0xfffffffe
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push ecx
add eax, 4
lea ecx, [ebp - 0x28]
push eax
call fcn.004b3de0
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edi, dword [ebp - 0x18]
cmp esi, 8
push 1
cmovae eax, dword [ebp - 0x28]
push 0x4d7074
push 0
push edi
push eax
mov byte [ebp - 4], 4
call fcn.004610a0
add esp, 0x14
cmp eax, 0xffffffff
jne 0x4798f8
mov byte [ebp - 4], 2
cmp esi, 8
jb 0x4799fc
lea eax, [esi + 1]
mov esi, dword [ebp - 0x28]
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.004b42c0
jmp 0x4799fc
lea edx, [eax + 1]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
cmp edi, edx
jb 0x479b26
sub edi, edx
lea eax, [ebp - 0x28]
or ecx, 0xffffffff
cmp edi, 0xffffffff
cmovb ecx, edi
cmp esi, 8
push ecx
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x58]
lea eax, [eax + edx*2]
push eax
call fcn.004b3de0
mov esi, dword [ebp - 0x44]
lea eax, [ebp - 0x58]
mov edi, dword [ebp - 0x58]
cmp esi, 8
push 1
push 0x4d7074
push 0
push dword [ebp - 0x48]
cmovae eax, edi
push eax
call fcn.004610a0
add esp, 0x14
cmp eax, 0xffffffff
jne 0x4799a4
cmp esi, 8
jb 0x479975
lea eax, [esi + 1]
push eax
push edi
lea ecx, [ebp - 0x58]
call fcn.004b42c0
xor eax, eax
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x44], 7
mov byte [ebp - 4], 2
cmp eax, 8
jb 0x4799fc
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004b42c0
jmp 0x4799fc
cmp esi, 8
jb 0x4799b6
lea eax, [esi + 1]
push eax
push edi
lea ecx, [ebp - 0x58]
call fcn.004b42c0
xor eax, eax
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x44], 7
mov byte [ebp - 4], 2
cmp eax, 8
jb 0x4799e3
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004b42c0
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wmkdir]
add esp, 4
test eax, eax
jne 0x479a66
mov esi, dword [ebp - 0x30]
mov edi, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x8c]
mov eax, 0x2aaaaaab
sub ecx, dword [ebp - 0x90]
inc dword [ebp - 0x84]
imul ecx
mov ecx, dword [ebp - 0x84]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ecx, eax
jb 0x479030
cmp edi, 8
jb 0x479abd
mov ecx, dword [ebp - 0x40]
lea edi, [edi*2 + 2]
mov eax, ecx
cmp edi, 0x1000
jb 0x479ab3
mov ecx, dword [ecx - 4]
add edi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x479ab3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push 0x4d7078
push eax
call fcn.0045ed60
add esp, 0xc
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 5
jb 0x479a87
mov eax, dword [eax]
push eax
call fcn.004943f0
add esp, 4
lea ecx, [ebp - 0x28]
call fcn.004b3870
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x479aad
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.004b42c0
mov byte [ebp - 0x71], 0
jmp 0x479ac1
push edi
push ecx
call fcn.004be864
add esp, 8
mov byte [ebp - 0x71], 1
lea ecx, [ebp - 0x90]
call fcn.004b37f0
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x479b08
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x479afe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x479afe
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004be864
add esp, 8
mov al, byte [ebp - 0x71]
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.004bee1d
mov esp, ebp
pop ebp
ret
call fcn.004b39a0
call fcn.004b37d0
call fcn.004b3960
int3