Function at 0x10129ea0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
cmp dword [ecx + 0x38], 0
jge 0x10129ea0
jmp 0x10129d30
push ebp
lea ebp, [esp - 0x418]
sub esp, 0x418
push 0xfffffffffffffffe
push 0x101f3178
push 0x1015d650
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x101fe070]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x414], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, ecx
mov eax, dword [ebp + 0x420]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x424]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x428]
mov dword [ebp - 0x20], eax
xor bl, bl
mov byte [ebp - 0x19], bl
push 0x412
push 0
lea eax, [ebp]
push eax
call fcn.1015e8b0
add esp, 0xc
lea eax, [ebp]
push eax
mov ecx, edi
call fcn.101299e0
cmp byte [edi + 0x30], bl
je 0x10129de2
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10129e07
test al, 0x10
jne 0x10129e07
call fcn.1012b7a0
push 0
lea ecx, [ebp]
push ecx
mov ecx, eax
call fcn.1012ba70
test al, al
je 0x10129e07
mov dword [edi + 0x34], 0
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
mov dword [ebp - 4], 0
test esi, esi
jne 0x10129e0b
mov dword [ebp - 4], 0xfffffffe
xor al, al
jmp 0x10129e6c
push str.ExtractArchive
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10129e3a
mov dword [edi + 0x34], esi
push edi
push 0x101298a0
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call eax
add esp, 0x14
test eax, eax
sete bl
mov byte [ebp - 0x19], bl
mov dword [edi + 0x34], 0
mov dword [ebp - 4], 0xfffffffe
jmp 0x10129e5f
test esi, esi
je 0x10129e6a
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov al, bl
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x414]
xor ecx, ebp
call fcn.1015c023
lea esp, [ebp + 0x418]
pop ebp
ret 0xc
push ebp
lea ebp, [esp - 0x418]
sub esp, 0x418
push 0xfffffffffffffffe
push 0x101f3198
push 0x1015d650
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x101fe070]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x414], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, ecx
mov eax, dword [ebp + 0x420]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x424]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x428]
mov dword [ebp - 0x20], eax
xor bl, bl
mov byte [ebp - 0x19], bl
push 0x412
push 0
lea eax, [ebp]
push eax
call fcn.1015e8b0
add esp, 0xc
lea eax, [ebp]
push eax
mov ecx, edi
call fcn.101299e0
cmp byte [edi + 0x30], bl
je 0x10129f52
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10129f77
test al, 0x10
jne 0x10129f77
call fcn.1012b7a0
push 0
lea ecx, [ebp]
push ecx
mov ecx, eax
call fcn.1012ba70
test al, al
je 0x10129f77
mov dword [edi + 0x34], 0
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
mov dword [ebp - 4], 0
test esi, esi
jne 0x10129f7b
mov dword [ebp - 4], 0xfffffffe
xor al, al
jmp 0x10129fdf
push str.ExtractArchive2
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10129fad
mov dword [edi + 0x34], esi
push dword [edi + 0x38]
push edi
push 0x101298a0
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call eax
add esp, 0x18
test eax, eax
sete bl
mov byte [ebp - 0x19], bl
mov dword [edi + 0x34], 0
mov dword [ebp - 4], 0xfffffffe
jmp 0x10129fd2
test esi, esi
je 0x10129fdd
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov al, bl
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x414]
xor ecx, ebp
call fcn.1015c023
lea esp, [ebp + 0x418]
pop ebp
ret 0xc