Function at 0x4790f0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c6798
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x4f4fa0]
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 0x47912a
mov eax, dword [esi]
push eax
call fcn.0047a060
add esp, 4
test al, al
je 0x47913e
mov al, 1
jmp 0x479dbb
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.00499ce0
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0x70]
cmp eax, esi
je 0x479194
mov ecx, eax
call fcn.004b3c30
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 0x4791d0
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4791c6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4791c6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004bec24
add esp, 8
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00498d90
mov esi, eax
add esp, 8
lea eax, [ebp - 0x70]
cmp eax, esi
je 0x479243
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x47921f
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x479215
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47926f
push edx
push ecx
call fcn.004bec24
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 0x47927f
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x479275
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x479275
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004bec24
add esp, 8
push 0x5c
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.004ada90
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 0x479d6d
xor ecx, ecx
nop dword [eax]
test ecx, ecx
je 0x479421
cmp esi, edi
jae 0x479308
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 0x479421
mov eax, 0x7ffffffe
sub eax, esi
cmp eax, 1
jb 0x479de0
lea ecx, [esi + 1]
mov eax, 0x7ffffffe
or ecx, 7
cmp ecx, eax
jbe 0x47933d
mov dword [ebp - 0x7c], eax
mov eax, 0xfffffffe
push eax
call fcn.0045f1c0
mov ecx, dword [ebp - 0x7c]
add esp, 4
jmp 0x4793a6
mov edx, edi
shr edx, 1
sub eax, edx
cmp edi, eax
jbe 0x479362
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 0x4793a6
lea eax, [edi + edx]
cmp ecx, eax
cmovb ecx, eax
mov dword [ebp - 0x7c], ecx
lea eax, [ecx + 1]
cmp eax, 0x7fffffff
ja 0x479ddb
add eax, eax
cmp eax, 0x1000
jb 0x479392
push eax
call fcn.0045f1c0
mov ecx, dword [ebp - 0x7c]
add esp, 4
jmp 0x4793a6
test eax, eax
je 0x4793a4
push eax
call sub.mfc140u.dll_operator_2
mov ecx, dword [ebp - 0x7c]
add esp, 4
jmp 0x4793a6
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 0x479408
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 0x4793fc
mov ecx, dword [esi - 4]
add edi, 0x23
sub esi, ecx
lea eax, [esi - 4]
cmp eax, 0x1f
ja 0x479d10
mov esi, ecx
push edi
push esi
call fcn.004bec24
add esp, 8
jmp 0x47941b
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 0x47943e
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x40]
call fcn.004b3e80
mov esi, dword [ebp - 0x30]
mov edi, dword [ebp - 0x2c]
test esi, esi
je 0x479cb2
cmp edi, 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
cmp esi, 1
jne 0x47948c
mov ecx, 0x4d7074
mov edx, esi
sub eax, ecx
mov dword [ebp - 0x78], eax
mov ax, word [ecx + eax]
cmp ax, word [ecx]
jne 0x47948c
mov eax, dword [ebp - 0x78]
add ecx, 2
sub edx, 1
jne 0x479473
jmp 0x479cb2
cmp edi, 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
cmp esi, 1
jne 0x4794c0
mov ecx, 0x4d6bf0
mov edx, esi
sub eax, ecx
mov dword [ebp - 0x78], eax
mov ax, word [ecx + eax]
cmp ax, word [ecx]
jne 0x4794c0
mov eax, dword [ebp - 0x78]
add ecx, 2
sub edx, 1
jne 0x4794a7
jmp 0x479cb2
cmp edi, 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.0047a060
add esp, 4
test al, al
jne 0x479cac
mov esi, dword [ebp - 0x30]
mov edi, dword [ebp - 0x2c]
test esi, esi
je 0x479505
lea ecx, [esi - 1]
cmp esi, ecx
jbe 0x479dd6
cmp edi, 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
cmp word [eax + ecx*2], 0x3a
je 0x479cb2
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 0x479558
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 0x4795f3
cmp eax, 0x7ffffffe
ja 0x479de0
mov edi, eax
or edi, 7
cmp edi, 0x7ffffffe
jbe 0x479588
mov eax, 0xfffffffe
mov edi, 0x7ffffffe
push eax
call fcn.0045f1c0
mov ecx, dword [ebp - 0x7c]
add esp, 4
jmp 0x4795cc
cmp edi, 0xa
mov eax, 0xa
cmovb edi, eax
lea eax, [edi + 1]
cmp eax, 0x7fffffff
ja 0x479ddb
add eax, eax
cmp eax, 0x1000
jb 0x4795b8
push eax
call fcn.0045f1c0
mov ecx, dword [ebp - 0x7c]
add esp, 4
jmp 0x4795cc
test eax, eax
je 0x4795ca
push eax
call sub.mfc140u.dll_operator_2
mov ecx, dword [ebp - 0x7c]
add esp, 4
jmp 0x4795cc
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.004b3a90
mov byte [ebp - 0x71], al
cmp edi, 8
jb 0x47963a
lea edi, [edi*2 + 2]
mov eax, esi
cmp edi, 0x1000
jb 0x47962d
mov esi, dword [esi - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x479d10
push edi
push esi
call fcn.004bec24
mov al, byte [ebp - 0x71]
add esp, 8
test al, al
je 0x4799fe
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 0x479dd6
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 0x4796b1
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 0x47974b
cmp ecx, 0x7ffffffe
ja 0x479de0
mov esi, ecx
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x4796e4
mov eax, 0xfffffffe
mov esi, 0x7ffffffe
push eax
call fcn.0045f1c0
mov ecx, dword [ebp - 0x78]
add esp, 4
mov edi, eax
jmp 0x47972c
cmp esi, 0xa
mov eax, 0xa
cmovb esi, eax
lea eax, [esi + 1]
cmp eax, 0x7fffffff
ja 0x479ddb
add eax, eax
cmp eax, 0x1000
jb 0x479716
push eax
call fcn.0045f1c0
mov ecx, dword [ebp - 0x78]
add esp, 4
mov edi, eax
jmp 0x47972c
test eax, eax
je 0x47972a
push eax
call sub.mfc140u.dll_operator_2
mov ecx, dword [ebp - 0x78]
add esp, 4
mov edi, eax
jmp 0x47972c
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 0x479772
mov ecx, edx
mov eax, esi
cmp word [eax], 0x5c
je 0x4797b6
add eax, 2
sub ecx, 1
jne 0x479764
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x479cac
lea ecx, [edx*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x4797a7
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4791c0
push ecx
push edi
call fcn.004bec24
add esp, 8
jmp 0x479cac
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x479772
lea esi, [eax + 1]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
cmp edx, esi
jb 0x479dd6
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 0x479825
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 0x4798bf
cmp ecx, 0x7ffffffe
ja 0x479de0
mov esi, ecx
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x479858
mov eax, 0xfffffffe
mov esi, 0x7ffffffe
push eax
call fcn.0045f1c0
mov ecx, dword [ebp - 0x78]
add esp, 4
mov edi, eax
jmp 0x4798a0
cmp esi, 0xa
mov eax, 0xa
cmovb esi, eax
lea eax, [esi + 1]
cmp eax, 0x7fffffff
ja 0x479ddb
add eax, eax
cmp eax, 0x1000
jb 0x47988a
push eax
call fcn.0045f1c0
mov ecx, dword [ebp - 0x78]
add esp, 4
mov edi, eax
jmp 0x4798a0
test eax, eax
je 0x47989e
push eax
call sub.mfc140u.dll_operator_2
mov ecx, dword [ebp - 0x78]
add esp, 4
mov edi, eax
jmp 0x4798a0
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 0x479978
cmp esi, 8
jb 0x47991d
lea esi, [esi*2 + 2]
mov eax, edi
cmp esi, 0x1000
jb 0x479913
mov edi, dword [edi - 4]
add esi, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4791c0
push esi
push edi
call fcn.004bec24
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 0x479cac
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x479969
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4791c0
push edx
push ecx
call fcn.004bec24
add esp, 8
jmp 0x479cac
cmp esi, 8
jb 0x4799ac
lea esi, [esi*2 + 2]
mov eax, edi
cmp esi, 0x1000
jb 0x4799a2
mov edi, dword [edi - 4]
add esi, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4791c0
push esi
push edi
call fcn.004bec24
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 0x4799fe
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4799f4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4791c0
push edx
push ecx
call fcn.004bec24
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 0x479a50
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 0x479ae2
cmp esi, 0x7ffffffe
ja 0x479de0
mov edi, esi
or edi, 7
cmp edi, 0x7ffffffe
jbe 0x479a7e
mov eax, 0xfffffffe
mov edi, 0x7ffffffe
push eax
call fcn.0045f1c0
add esp, 4
jmp 0x479abc
cmp edi, 0xa
mov eax, 0xa
cmovb edi, eax
lea eax, [edi + 1]
cmp eax, 0x7fffffff
ja 0x479ddb
add eax, eax
cmp eax, 0x1000
jb 0x479aab
push eax
call fcn.0045f1c0
add esp, 4
jmp 0x479abc
test eax, eax
je 0x479aba
push eax
call sub.mfc140u.dll_operator_2
add esp, 4
jmp 0x479abc
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.004b3a90
mov byte [ebp - 0x71], al
cmp edi, 8
jb 0x479b07
lea ecx, [edi + 1]
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.004b4680
mov al, byte [ebp - 0x71]
test al, al
je 0x479c93
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 0x479dd6
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.004b41a0
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 0x479ba8
mov byte [ebp - 4], 2
cmp esi, 8
jb 0x479cac
lea eax, [esi + 1]
mov esi, dword [ebp - 0x28]
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.004b4680
jmp 0x479cac
lea edx, [eax + 1]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
cmp edi, edx
jb 0x479dd6
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.004b41a0
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 0x479c54
cmp esi, 8
jb 0x479c25
lea eax, [esi + 1]
push eax
push edi
lea ecx, [ebp - 0x58]
call fcn.004b4680
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 0x479cac
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004b4680
jmp 0x479cac
cmp esi, 8
jb 0x479c66
lea eax, [esi + 1]
push eax
push edi
lea ecx, [ebp - 0x58]
call fcn.004b4680
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 0x479c93
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004b4680
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 0x479d16
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 0x4792e0
cmp edi, 8
jb 0x479d6d
mov ecx, dword [ebp - 0x40]
lea edi, [edi*2 + 2]
mov eax, ecx
cmp edi, 0x1000
jb 0x479d63
mov ecx, dword [ecx - 4]
add edi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x479d63
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 0x479d37
mov eax, dword [eax]
push eax
call fcn.004947b0
add esp, 4
lea ecx, [ebp - 0x28]
call fcn.004b3c30
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x479d5d
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.004b4680
mov byte [ebp - 0x71], 0
jmp 0x479d71
push edi
push ecx
call fcn.004bec24
add esp, 8
mov byte [ebp - 0x71], 1
lea ecx, [ebp - 0x90]
call fcn.004b3bb0
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x479db8
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x479dae
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x479dae
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004bec24
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.004bf1dd
mov esp, ebp
pop ebp
ret
call fcn.004b3d60
call fcn.004b3b90
call fcn.004b3d20
int3