Function at 0x467a80
Capabilities:
Create directory
Print debug messages
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eb8d9
mov eax, dword fs:[0]
push eax
mov eax, 0x4148
call fcn.004beed0
mov eax, dword [0x5441b4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x414c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x40d0], edx
cdq
xor ebx, ebx
mov dword [ebp - 0x40e4], ecx
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x4138], edx
lea edx, [ebp - 0x4154]
mov dword [ebp - 0x40b4], ecx
mov dword [ebp - 0x40ac], 0x466c60
mov dword [ebp - 0x40a8], 0x466c80
mov dword [ebp - 0x40e0], 0x466ca0
mov dword [ebp - 0x40dc], 0x466cc0
mov dword [ebp - 0x413c], eax
mov dword [ebp - 0x4144], ebx
mov dword [ebp - 0x4140], ebx
mov dword [ebp - 0x4154], 0x467a00
mov dword [ebp - 0x4150], 0x467a50
mov dword [ebp - 0x40a4], 0x468b80
mov dword [ebp - 0x40a0], 0x468be0
mov dword [ebp - 0x409c], 0x468bf0
mov dword [ebp - 0x4098], 0x468c50
mov dword [ebp - 0x4094], edx
mov dword [ebp - 0x408c], ebx
mov dword [ebp - 0x4090], ebx
call fcn.00468d70
lea eax, [ebp - 0x40a4]
push eax
lea ecx, [ebp - 0x4134]
push ecx
lea edx, [ebp - 0x40e0]
lea ecx, [ebp - 0x40ac]
mov dword [ebp - 0x4134], ebx
mov dword [ebp - 0x4130], ebx
mov dword [ebp - 0x412c], ebx
mov dword [ebp - 0x4128], ebx
mov dword [ebp - 0x4124], ebx
mov dword [ebp - 0x4120], ebx
mov dword [ebp - 0x411c], ebx
mov dword [ebp - 0x4118], ebx
mov dword [ebp - 0x4104], ebx
mov dword [ebp - 0x4100], ebx
mov dword [ebp - 0x40fc], ebx
mov dword [ebp - 0x40f8], ebx
mov dword [ebp - 0x40f4], ebx
mov dword [ebp - 0x40f0], ebx
mov dword [ebp - 0x40ec], ebx
call fcn.0046b250
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x467c02
lea edi, [ebp - 0x40ac]
lea eax, [ebp - 0x4134]
call fcn.004691e0
mov dword [ebp - 0x40b0], esi
cmp esi, ebx
je 0x467c36
lea edi, [ebp - 0x40ac]
lea eax, [ebp - 0x4134]
call fcn.004691e0
mov ecx, dword [ebp - 0x40b4]
push 8
push 0x5161c0
call fcn.004073c0
xor al, al
jmp 0x468475
xor edi, edi
mov dword [ebp - 0x40d4], 0xffffffff
mov dword [ebp - 0x40c8], ebx
mov dword [ebp - 0x40d8], ebx
mov dword [ebp - 0x40bc], edi
cmp dword [ebp - 0x4118], ebx
jbe 0x4683be
mov edx, dword [ebp - 0x4124]
add edx, 0x1d
mov dword [ebp - 0x40c4], edx
nop
mov eax, dword [ebp - 0x40d0]
mov esi, dword [eax]
cmp esi, ebx
je 0x467cc7
mov ecx, edi
mov dword [ebp - 0x40b8], ecx
fild dword [ebp - 0x40b8]
test ecx, ecx
jns 0x467c94
fadd dword [0x516210]
mov edx, dword [ebp - 0x4118]
fild dword [ebp - 0x4118]
test edx, edx
jns 0x467caa
fadd dword [0x516210]
fdivp st(1)
fmul qword [0x516208]
call fcn.004bf050
mov ecx, dword [ebp - 0x40d0]
mov edx, dword [ecx + 4]
push edx
push eax
call esi
add esp, 8
mov ecx, dword [ebp - 0x40f4]
mov eax, dword [ecx + edi*4 + 4]
sub eax, dword [ecx + edi*4]
je 0x4680a8
lea esi, [eax + eax + 2]
cmp esi, ebx
je 0x4680c9
push esi
call fcn.004b7340
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x4680c9
push esi
push ebx
push edi
call fcn.004be120
mov edx, dword [ebp - 0x40f4]
mov ecx, dword [ebp - 0x40bc]
mov eax, dword [edx + ecx*4]
mov ecx, dword [edx + ecx*4 + 4]
mov edx, dword [ebp - 0x40f0]
add esp, 0xc
sub ecx, eax
lea edx, [edx + eax*2]
je 0x467d3d
mov eax, edi
sub edx, edi
jmp 0x467d30
mov si, word [edx + eax]
mov word [eax], si
add eax, 2
dec ecx
jne 0x467d30
xor eax, eax
mov word [ebp - 0x4c], ax
mov eax, edi
mov dword [ebp - 0x38], 7
mov dword [ebp - 0x3c], ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x467d52
sub eax, edx
sar eax, 1
push eax
push edi
lea ecx, [ebp - 0x4c]
call fcn.004073c0
mov dword [ebp - 4], ebx
xor eax, eax
cmp dword [ebp - 0x3c], ebx
jbe 0x467dae
mov esi, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x4c]
jmp 0x467d80
mov edx, ecx
cmp esi, 8
jae 0x467d8a
lea edx, [ebp - 0x4c]
cmp word [edx + eax*2], 0x2f
jne 0x467da8
cmp esi, 8
jae 0x467d99
lea ecx, [ebp - 0x4c]
mov edx, 0x5c
mov word [ecx + eax*2], dx
mov esi, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x4c]
inc eax
cmp eax, dword [ebp - 0x3c]
jb 0x467d80
push edi
call fcn.004b7789
mov esi, dword [ebp - 0x40e4]
add esp, 4
xor eax, eax
mov word [ebp - 0x30], ax
mov eax, esi
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x467dd2
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [ebp - 0x30]
call fcn.004073c0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x20]
lea eax, [ecx - 1]
cmp ecx, eax
jbe 0x4680ea
cmp dword [ebp - 0x1c], 8
mov ecx, dword [ebp - 0x30]
jae 0x467e09
lea ecx, [ebp - 0x30]
cmp word [ecx + eax*2], 0x5c
je 0x467e1f
push 1
mov eax, 0x50b670
lea ecx, [ebp - 0x30]
call fcn.004065e0
push ebx
lea ecx, [ebp - 0x4c]
push ecx
or eax, 0xffffffff
lea esi, [ebp - 0x30]
call fcn.004064e0
lea edx, [ebp - 0x40e0]
push edx
lea eax, [ebp - 0x40ac]
push eax
lea ecx, [ebp - 0x40c0]
push ecx
lea edx, [ebp - 0x40cc]
push edx
lea eax, [ebp - 0x40d8]
push eax
mov eax, dword [ebp - 0x40bc]
lea ecx, [ebp - 0x40c8]
push ecx
lea edx, [ebp - 0x40d4]
push edx
push eax
lea ecx, [ebp - 0x40a4]
push ecx
lea eax, [ebp - 0x4134]
mov dword [ebp - 0x40cc], ebx
mov dword [ebp - 0x40c0], ebx
call fcn.0046b640
add esp, 0x24
mov dword [ebp - 0x40b0], eax
cmp eax, ebx
jne 0x4680f4
mov edx, dword [ebp - 0x40c4]
cmp byte [edx - 4], 0
je 0x467f1d
mov eax, dword [ebp - 0x30]
mov edi, 8
cmp dword [ebp - 0x1c], edi
jae 0x467eb1
mov eax, esi
push ebx
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
cmp eax, 0xa1
je 0x468156
cmp eax, 0xce
je 0x468156
cmp eax, 3
je 0x468156
cmp dword [ebp - 0x1c], edi
jb 0x467eea
mov eax, dword [ebp - 0x30]
push eax
call fcn.004b6106
add esp, 4
xor ecx, ecx
mov esi, 7
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x30], cx
cmp dword [ebp - 0x38], edi
jb 0x467f13
mov edx, dword [ebp - 0x4c]
push edx
call fcn.004b6106
add esp, 4
mov dword [ebp - 0x3c], ebx
xor eax, eax
jmp 0x46807a
lea ecx, [ebp - 0x30]
push ecx
lea edi, [ebp - 0x40b8]
mov dword [ebp - 0x40b8], 0x5c
call fcn.004041a0
cmp eax, 0xffffffff
je 0x467f75
push eax
push ebx
lea edx, [ebp - 0x68]
push edx
lea ecx, [ebp - 0x30]
call fcn.00406370
mov eax, dword [ebp - 0x68]
mov esi, 8
cmp dword [ebp - 0x54], esi
jae 0x467f59
lea eax, [ebp - 0x68]
push ebx
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
cmp dword [ebp - 0x54], esi
jb 0x467f7a
mov eax, dword [ebp - 0x68]
push eax
call fcn.004b6106
add esp, 4
jmp 0x467f7a
mov esi, 8
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x1c], esi
jae 0x467f85
lea eax, [ebp - 0x30]
push ebx
push 0x80
push 2
push ebx
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x40b8], esi
cmp esi, 0xffffffff
jne 0x467fb7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jne 0x468225
mov edx, dword [ebp - 0x40c8]
mov ebx, dword [ebp - 0x40c0]
mov eax, dword [ebp - 0x40cc]
lea ecx, [ebp - 0x40b8]
lea eax, [eax + edx]
push ecx
lea edi, [ebp - 0x40c0]
mov dword [ebp - 0x40c0], ebx
call fcn.00468720
add esp, 4
test eax, eax
jne 0x4682cb
cmp dword [ebp - 0x40c0], ebx
jne 0x4682cb
cmp esi, 0xffffffff
je 0x468011
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x468011
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x40c4]
cmp byte [ecx], 0
mov ebx, 8
je 0x468037
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x1c], ebx
jae 0x46802c
lea eax, [ebp - 0x30]
mov edx, dword [ecx - 9]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [ebp - 0x1c], ebx
jb 0x468048
mov eax, dword [ebp - 0x30]
push eax
call fcn.004b6106
add esp, 4
xor edi, edi
xor ecx, ecx
mov esi, 7
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], edi
mov word [ebp - 0x30], cx
cmp dword [ebp - 0x38], ebx
jb 0x468073
mov edx, dword [ebp - 0x4c]
push edx
call fcn.004b6106
add esp, 4
xor eax, eax
mov dword [ebp - 0x3c], edi
xor ebx, ebx
add dword [ebp - 0x40c4], 0x20
mov word [ebp - 0x4c], ax
mov eax, dword [ebp - 0x40bc]
inc eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x40bc], eax
cmp eax, dword [ebp - 0x4118]
jae 0x4683be
mov edi, eax
jmp 0x467c70
mov ecx, dword [ebp - 0x40b4]
push 0x19
push str.SzArEx_GetFileNameUtf16
mov dword [ebp - 0x40b0], 8
call fcn.004073c0
jmp 0x4683be
mov ecx, dword [ebp - 0x40b4]
push 9
push str.SzAlloc
mov dword [ebp - 0x40b0], 2
call fcn.004073c0
jmp 0x4683be
push str.invalid_string_position
call fcn.0046faa7
mov ecx, dword [ebp - 0x40b4]
push 0x10
push str.SzArEx_Extract
call fcn.004073c0
mov edi, 8
cmp dword [ebp - 0x1c], edi
jb 0x46811c
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.004b6106
add esp, 4
xor edx, edx
mov esi, 7
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x30], dx
cmp dword [ebp - 0x38], edi
jb 0x468145
mov eax, dword [ebp - 0x4c]
push eax
call fcn.004b6106
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
mov word [ebp - 0x4c], cx
jmp 0x4683be
push str.can_not_create_output_folder_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea edx, [ebp - 0x84]
push 0x51612c
push edx
lea ebx, [ebp - 0x4c]
mov dword [ebp - 0x40b0], 9
call fcn.004095e0
push eax
mov eax, 0x516050
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 2
call fcn.004044b0
add esp, 0xc
mov esi, dword [ebp - 0x40b4]
mov edi, eax
mov byte [ebp - 4], 3
call fcn.00406400
mov ebx, 8
cmp dword [ebp - 0x54], ebx
jb 0x4681bb
mov eax, dword [ebp - 0x68]
push eax
call fcn.004b6106
add esp, 4
xor esi, esi
xor ecx, ecx
mov edi, 7
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x58], esi
mov word [ebp - 0x68], cx
cmp dword [ebp - 0x70], ebx
jb 0x4681e2
mov edx, dword [ebp - 0x84]
push edx
call fcn.004b6106
add esp, 4
cmp dword [ebp - 0x1c], ebx
jb 0x4681f3
mov eax, dword [ebp - 0x30]
push eax
call fcn.004b6106
add esp, 4
xor ecx, ecx
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], esi
mov word [ebp - 0x30], cx
cmp dword [ebp - 0x38], ebx
jb 0x468217
mov edx, dword [ebp - 0x4c]
push edx
call fcn.004b6106
add esp, 4
xor eax, eax
mov dword [ebp - 0x38], edi
mov word [ebp - 0x4c], ax
jmp 0x4683b9
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push str.can_not_open_output_file_n
call esi
cmp dword [ebp - 0x1c], 8
mov eax, dword [ebp - 0x30]
jae 0x46823e
lea eax, [ebp - 0x30]
push eax
call esi
lea ecx, [ebp - 0x84]
push 0x51613c
push ecx
lea ebx, [ebp - 0x4c]
mov dword [ebp - 0x40b0], 9
call fcn.004095e0
push eax
mov eax, 0x516050
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 4
call fcn.004044b0
add esp, 0xc
mov esi, dword [ebp - 0x40b4]
mov edi, eax
mov byte [ebp - 4], 5
call fcn.00406400
mov edi, 8
cmp dword [ebp - 0x54], edi
jb 0x46829b
mov edx, dword [ebp - 0x68]
push edx
call fcn.004b6106
add esp, 4
xor esi, esi
xor eax, eax
mov ebx, 7
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], esi
mov word [ebp - 0x68], ax
cmp dword [ebp - 0x70], edi
jb 0x46837b
mov ecx, dword [ebp - 0x84]
push ecx
call fcn.004b6106
add esp, 4
jmp 0x46837b
push str.can_not_write_output_file_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp esi, 0xffffffff
je 0x4682ec
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x4682ec
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea eax, [ebp - 0x84]
push 0x5161b4
push eax
lea ebx, [ebp - 0x4c]
mov dword [ebp - 0x40b0], 9
call fcn.004095e0
push eax
mov eax, 0x516050
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 6
call fcn.004044b0
add esp, 0xc
mov esi, dword [ebp - 0x40b4]
mov ebx, 7
mov edi, eax
mov byte [ebp - 4], bl
call fcn.00406400
mov edi, 8
cmp dword [ebp - 0x54], edi
jb 0x46834a
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.004b6106
add esp, 4
xor esi, esi
xor edx, edx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], esi
mov word [ebp - 0x68], dx
cmp dword [ebp - 0x70], edi
jb 0x46836c
mov eax, dword [ebp - 0x84]
push eax
call fcn.004b6106
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x74], esi
mov word [ebp - 0x84], cx
cmp dword [ebp - 0x1c], edi
jb 0x46838c
mov edx, dword [ebp - 0x30]
push edx
call fcn.004b6106
add esp, 4
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov word [ebp - 0x30], ax
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], ebx
cmp dword [ebp - 0x38], edi
jb 0x4683b0
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.004b6106
add esp, 4
xor edx, edx
mov word [ebp - 0x4c], dx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], esi
xor ebx, ebx
mov eax, dword [ebp - 0x40c8]
push eax
lea ecx, [ebp - 0x40ac]
push ecx
call dword [ebp - 0x40a8]
mov edx, dword [ebp - 0x4104]
push edx
lea eax, [ebp - 0x40ac]
push eax
call dword [ebp - 0x40a8]
mov ecx, dword [ebp - 0x4100]
push ecx
lea edx, [ebp - 0x40ac]
push edx
call dword [ebp - 0x40a8]
mov eax, dword [ebp - 0x40fc]
push eax
lea ecx, [ebp - 0x40ac]
push ecx
call dword [ebp - 0x40a8]
mov edx, dword [ebp - 0x40f8]
push edx
lea eax, [ebp - 0x40ac]
push eax
call dword [ebp - 0x40a8]
mov ecx, dword [ebp - 0x40f4]
push ecx
lea edx, [ebp - 0x40ac]
push edx
call dword [ebp - 0x40a8]
mov eax, dword [ebp - 0x40f0]
push eax
lea ecx, [ebp - 0x40ac]
push ecx
call dword [ebp - 0x40a8]
add esp, 0x38
lea eax, [ebp - 0x40ac]
lea esi, [ebp - 0x4134]
mov dword [ebp - 0x40f0], ebx
mov dword [ebp - 0x40ec], ebx
call fcn.00469120
xor eax, eax
cmp dword [ebp - 0x40b0], ebx
sete al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004b6111
mov esp, ebp
pop ebp
ret