Function at 0x10004ba0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016c80e
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x101c6270]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x84], ebx
mov eax, dword [ebx]
call dword [eax + 0x34]
push 0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x10004c11
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x10004c11
mov dword [ebx + 0x20], 0x25000007
xor al, al
mov dword [ebx + 0x1c], 0x20000007
jmp 0x10004e75
push 0x54
lea eax, [ebp - 0x64]
push 0
push eax
call fcn.1012bf20
mov eax, dword [ebx]
add esp, 0xc
mov ecx, ebx
call dword [eax + 0xc]
mov edx, eax
mov dword [ebp - 0x6c], 0
mov ecx, edx
mov dword [ebp - 0x68], 7
xor eax, eax
mov word [ebp - 0x7c], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10004c43
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x7c]
call fcn.10004470
push 0x50
mov dword [ebp - 4], 0
call fcn.1010f668
mov dword [ebp - 0x80], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x7c]
cmp dword [ebp - 0x68], 8
cmovae ecx, dword [ebp - 0x7c]
push ecx
mov ecx, eax
call fcn.1001f2d0
mov esi, eax
mov byte [ebp - 4], 0
push 0x3118
mov dword [ebx + 0x1bc], esi
call fcn.1010f668
add esp, 4
mov dword [ebp - 0x80], eax
push 0
push 0
push 0
push esi
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.10027100
mov edi, eax
mov byte [ebp - 4], 0
push str.Http
lea eax, [ebp - 0x58]
mov dword [ebp - 0x88], edi
push 6
push eax
mov dword [ebp - 0x64], 1
mov dword [ebp - 0x60], 0x400000
mov dword [ebp - 0x4c], 0xffffffff
call fcn.101397a4
mov dword [edi + 0xc], sym.AdDLM.dll_unsigned_long_int___stdcall_readerStreamThread_void__
add esp, 0xc
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0xe4]
call eax
test al, al
jne 0x10004d6a
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0xe8]
call eax
test al, al
jne 0x10004d6a
push str.File
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x48], 1
push 6
push eax
mov dword [ebp - 0x44], 0x400000
mov dword [ebp - 0x30], 0xffffffff
call fcn.101397a4
mov eax, dword [ebx]
add esp, 0xc
mov ecx, ebx
call dword [eax + 0x34]
push eax
call fcn.100067b0
mov esi, eax
mov ecx, ebx
lea eax, [ebp - 0x64]
push eax
push edi
mov dword [esi + 0xc], sym.AdDLM.dll_unsigned_long_int___stdcall_writerStreamThread_void__
mov edx, dword [ebx]
call dword [edx + 8]
mov edx, dword [ebx]
lea eax, [ebp - 0x48]
push eax
push esi
mov ecx, ebx
call dword [edx + 8]
jmp 0x10004e5e
push 0xc8
call fcn.1010f668
add esp, 4
mov dword [ebp - 0x80], eax
mov ecx, eax
call fcn.10026bb0
push str.Lzma
mov dword [ebp - 0x80], eax
push 6
mov dword [eax + 0xc], sym.AdDLM.dll_unsigned_long_int___stdcall_readerWriterStreamThread_void__
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x48], 2
mov dword [ebp - 0x44], 0x400000
mov dword [ebp - 0x40], 0x400000
mov dword [ebp - 0x30], 0xffffffff
call fcn.101397a4
push 0x20620
call fcn.1010f668
add esp, 0x10
mov dword [ebp - 0x8c], eax
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.10022670
mov ebx, eax
mov byte [ebp - 4], 0
mov ecx, ebx
mov edx, dword [ebx]
call dword [edx + 0x18]
mov ecx, dword [ebp - 0x84]
mov edi, eax
mov edx, dword [ecx]
call dword [edx + 0x34]
mov esi, dword [edi]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x78]
push eax
mov ecx, edi
call dword [esi + 0x14]
push str.xTar
lea eax, [ebp - 0x20]
mov dword [ebp - 0x2c], 1
push 6
push eax
mov dword [ebp - 0x28], 0x400000
mov dword [ebp - 0x14], 0xffffffff
call fcn.101397a4
mov esi, dword [ebp - 0x84]
lea ecx, [ebp - 0x64]
add esp, 0xc
mov dword [ebx + 0xc], sym.AdDLM.dll_unsigned_long_int___stdcall_writerStreamThread_void__
mov eax, dword [esi]
push ecx
push dword [ebp - 0x88]
mov ecx, esi
call dword [eax + 8]
mov eax, dword [esi]
lea ecx, [ebp - 0x48]
push ecx
push dword [ebp - 0x80]
mov ecx, esi
call dword [eax + 8]
mov eax, dword [esi]
lea ecx, [ebp - 0x2c]
push ecx
push ebx
mov ecx, esi
call dword [eax + 8]
mov eax, dword [ebp - 0x68]
cmp eax, 8
jb 0x10004e73
inc eax
lea ecx, [ebp - 0x7c]
push eax
push dword [ebp - 0x7c]
call fcn.10004630
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1010f54f
mov esp, ebp
pop ebp
ret