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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e68a9
mov eax, dword fs:[0]
push eax
mov eax, 0x4148
call fcn.004ba440
mov eax, dword [0x53f1e4]
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], 0x462310
mov dword [ebp - 0x40a8], 0x462330
mov dword [ebp - 0x40e0], 0x462350
mov dword [ebp - 0x40dc], 0x462370
mov dword [ebp - 0x413c], eax
mov dword [ebp - 0x4144], ebx
mov dword [ebp - 0x4140], ebx
mov dword [ebp - 0x4154], 0x4630b0
mov dword [ebp - 0x4150], 0x463100
mov dword [ebp - 0x40a4], 0x464230
mov dword [ebp - 0x40a0], 0x464290
mov dword [ebp - 0x409c], 0x4642a0
mov dword [ebp - 0x4098], 0x464300
mov dword [ebp - 0x4094], edx
mov dword [ebp - 0x408c], ebx
mov dword [ebp - 0x4090], ebx
call fcn.00464420
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.00466900
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x4632b2
lea edi, [ebp - 0x40ac]
lea eax, [ebp - 0x4134]
call fcn.00464890
mov dword [ebp - 0x40b0], esi
cmp esi, ebx
je 0x4632e6
lea edi, [ebp - 0x40ac]
lea eax, [ebp - 0x4134]
call fcn.00464890
mov ecx, dword [ebp - 0x40b4]
push 8
push 0x510d68
call fcn.00404960
xor al, al
jmp 0x463b25
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 0x463a6e
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 0x463377
mov ecx, edi
mov dword [ebp - 0x40b8], ecx
fild dword [ebp - 0x40b8]
test ecx, ecx
jns 0x463344
fadd dword [0x510db8]
mov edx, dword [ebp - 0x4118]
fild dword [ebp - 0x4118]
test edx, edx
jns 0x46335a
fadd dword [0x510db8]
fdivp st(1)
fmul qword [0x510db0]
call fcn.004ba5c0
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 0x463758
lea esi, [eax + eax + 2]
cmp esi, ebx
je 0x463779
push esi
call fcn.004b2b1c
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x463779
push esi
push ebx
push edi
call fcn.004b96b0
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 0x4633ed
mov eax, edi
sub edx, edi
jmp 0x4633e0
mov si, word [edx + eax]
mov word [eax], si
add eax, 2
dec ecx
jne 0x4633e0
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 0x463402
sub eax, edx
sar eax, 1
push eax
push edi
lea ecx, [ebp - 0x4c]
call fcn.00404960
mov dword [ebp - 4], ebx
xor eax, eax
cmp dword [ebp - 0x3c], ebx
jbe 0x46345e
mov esi, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x4c]
jmp 0x463430
mov edx, ecx
cmp esi, 8
jae 0x46343a
lea edx, [ebp - 0x4c]
cmp word [edx + eax*2], 0x2f
jne 0x463458
cmp esi, 8
jae 0x463449
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 0x463430
push edi
call fcn.004b2f65
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 0x463482
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [ebp - 0x30]
call fcn.00404960
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x20]
lea eax, [ecx - 1]
cmp ecx, eax
jbe 0x46379a
cmp dword [ebp - 0x1c], 8
mov ecx, dword [ebp - 0x30]
jae 0x4634b9
lea ecx, [ebp - 0x30]
cmp word [ecx + eax*2], 0x5c
je 0x4634cf
push 1
mov eax, 0x5062dc
lea ecx, [ebp - 0x30]
call fcn.00403f00
push ebx
lea ecx, [ebp - 0x4c]
push ecx
or eax, 0xffffffff
lea esi, [ebp - 0x30]
call fcn.00403e00
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.00466cf0
add esp, 0x24
mov dword [ebp - 0x40b0], eax
cmp eax, ebx
jne 0x4637a4
mov edx, dword [ebp - 0x40c4]
cmp byte [edx - 4], 0
je 0x4635cd
mov eax, dword [ebp - 0x30]
mov edi, 8
cmp dword [ebp - 0x1c], edi
jae 0x463561
mov eax, esi
push ebx
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
cmp eax, 0xa1
je 0x463806
cmp eax, 0xce
je 0x463806
cmp eax, 3
je 0x463806
cmp dword [ebp - 0x1c], edi
jb 0x46359a
mov eax, dword [ebp - 0x30]
push eax
call fcn.004b1676
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 0x4635c3
mov edx, dword [ebp - 0x4c]
push edx
call fcn.004b1676
add esp, 4
mov dword [ebp - 0x3c], ebx
xor eax, eax
jmp 0x46372a
lea ecx, [ebp - 0x30]
push ecx
lea edi, [ebp - 0x40b8]
mov dword [ebp - 0x40b8], 0x5c
call fcn.00406990
cmp eax, 0xffffffff
je 0x463625
push eax
push ebx
lea edx, [ebp - 0x68]
push edx
lea ecx, [ebp - 0x30]
call fcn.00403cb0
mov eax, dword [ebp - 0x68]
mov esi, 8
cmp dword [ebp - 0x54], esi
jae 0x463609
lea eax, [ebp - 0x68]
push ebx
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
cmp dword [ebp - 0x54], esi
jb 0x46362a
mov eax, dword [ebp - 0x68]
push eax
call fcn.004b1676
add esp, 4
jmp 0x46362a
mov esi, 8
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x1c], esi
jae 0x463635
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 0x463667
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jne 0x4638d5
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.00463dd0
add esp, 4
test eax, eax
jne 0x46397b
cmp dword [ebp - 0x40c0], ebx
jne 0x46397b
cmp esi, 0xffffffff
je 0x4636c1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x4636c1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x40c4]
cmp byte [ecx], 0
mov ebx, 8
je 0x4636e7
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x1c], ebx
jae 0x4636dc
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 0x4636f8
mov eax, dword [ebp - 0x30]
push eax
call fcn.004b1676
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 0x463723
mov edx, dword [ebp - 0x4c]
push edx
call fcn.004b1676
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 0x463a6e
mov edi, eax
jmp 0x463320
mov ecx, dword [ebp - 0x40b4]
push 0x19
push str.SzArEx_GetFileNameUtf16
mov dword [ebp - 0x40b0], 8
call fcn.00404960
jmp 0x463a6e
mov ecx, dword [ebp - 0x40b4]
push 9
push str.SzAlloc
mov dword [ebp - 0x40b0], 2
call fcn.00404960
jmp 0x463a6e
push str.invalid_string_position
call fcn.0046b1a1
mov ecx, dword [ebp - 0x40b4]
push 0x10
push str.SzArEx_Extract
call fcn.00404960
mov edi, 8
cmp dword [ebp - 0x1c], edi
jb 0x4637cc
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.004b1676
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 0x4637f5
mov eax, dword [ebp - 0x4c]
push eax
call fcn.004b1676
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
mov word [ebp - 0x4c], cx
jmp 0x463a6e
push str.can_not_create_output_folder_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea edx, [ebp - 0x84]
push 0x510cd4
push edx
lea ebx, [ebp - 0x4c]
mov dword [ebp - 0x40b0], 9
call fcn.0040add0
push eax
mov eax, 0x510bf8
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 2
call fcn.004039a0
add esp, 0xc
mov esi, dword [ebp - 0x40b4]
mov edi, eax
mov byte [ebp - 4], 3
call fcn.00404350
mov ebx, 8
cmp dword [ebp - 0x54], ebx
jb 0x46386b
mov eax, dword [ebp - 0x68]
push eax
call fcn.004b1676
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 0x463892
mov edx, dword [ebp - 0x84]
push edx
call fcn.004b1676
add esp, 4
cmp dword [ebp - 0x1c], ebx
jb 0x4638a3
mov eax, dword [ebp - 0x30]
push eax
call fcn.004b1676
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 0x4638c7
mov edx, dword [ebp - 0x4c]
push edx
call fcn.004b1676
add esp, 4
xor eax, eax
mov dword [ebp - 0x38], edi
mov word [ebp - 0x4c], ax
jmp 0x463a69
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 0x4638ee
lea eax, [ebp - 0x30]
push eax
call esi
lea ecx, [ebp - 0x84]
push 0x510ce4
push ecx
lea ebx, [ebp - 0x4c]
mov dword [ebp - 0x40b0], 9
call fcn.0040add0
push eax
mov eax, 0x510bf8
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 4
call fcn.004039a0
add esp, 0xc
mov esi, dword [ebp - 0x40b4]
mov edi, eax
mov byte [ebp - 4], 5
call fcn.00404350
mov edi, 8
cmp dword [ebp - 0x54], edi
jb 0x46394b
mov edx, dword [ebp - 0x68]
push edx
call fcn.004b1676
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 0x463a2b
mov ecx, dword [ebp - 0x84]
push ecx
call fcn.004b1676
add esp, 4
jmp 0x463a2b
push str.can_not_write_output_file_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp esi, 0xffffffff
je 0x46399c
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x46399c
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea eax, [ebp - 0x84]
push 0x510d5c
push eax
lea ebx, [ebp - 0x4c]
mov dword [ebp - 0x40b0], 9
call fcn.0040add0
push eax
mov eax, 0x510bf8
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 6
call fcn.004039a0
add esp, 0xc
mov esi, dword [ebp - 0x40b4]
mov ebx, 7
mov edi, eax
mov byte [ebp - 4], bl
call fcn.00404350
mov edi, 8
cmp dword [ebp - 0x54], edi
jb 0x4639fa
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.004b1676
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 0x463a1c
mov eax, dword [ebp - 0x84]
push eax
call fcn.004b1676
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 0x463a3c
mov edx, dword [ebp - 0x30]
push edx
call fcn.004b1676
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 0x463a60
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.004b1676
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.004647d0
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.004b1681
mov esp, ebp
pop ebp
ret