Function at 0x10007fb0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x1006b5ee
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x100810f0]
xor eax, esp
mov dword [esp + 0x240], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100810f0]
xor eax, esp
push eax
lea eax, [esp + 0x258]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x268]
xor eax, eax
mov esi, ecx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], eax
mov dword [esp + 0x260], eax
mov eax, dword [0x100829cc]
mov edx, dword [eax + 0xc]
mov ecx, 0x100829cc
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x260], 1
mov eax, dword [0x100829cc]
mov edx, dword [eax + 0xc]
mov ecx, 0x100829cc
call edx
add eax, 0x10
mov dword [esp + 0x20], eax
mov byte [esp + 0x260], 2
mov eax, dword [esi + 0x50]
push str.0.8.4
push eax
push str._sres_mods_s_
lea edi, [esp + 0x2c]
call fcn.1000bd60
mov ecx, dword [esp + 0x278]
mov ebx, dword [esp + 0x2c]
add esp, 0xc
push ecx
push ebx
push str._s_s
lea edi, [esp + 0x20]
call fcn.1000bd60
add esp, 0xc
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10008121
push str.PluginCommand___cmd_UnZip_:_zip
call fcn.1000d080
add esp, 4
push ebp
mov ecx, str.false
call fcn.10002620
lea eax, [ebx - 0x10]
mov byte [esp + 0x260], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x100080c4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x260], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100080ec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x260], 0xffffffff
mov eax, dword [esp + 0x26c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000811a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebp
jmp 0x1000837b
mov esi, dword [esp + 0x14]
push esi
call fcn.10016c20
mov ebp, eax
xor edi, edi
add esp, 4
cmp ebp, edi
je 0x10008145
cmp dword [ebp], 1
sete al
test al, al
jne 0x100081de
push str.PluginCommand___cmd_UnZip_:
call fcn.1000d080
mov edi, dword [esp + 0x1c]
add esp, 4
push edi
mov ecx, str.false
call fcn.10002620
lea eax, [ebx - 0x10]
mov byte [esp + 0x260], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10008185
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [esp + 0x260], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100081a9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x260], 0xffffffff
mov eax, dword [esp + 0x26c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100081d7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
jmp 0x1000837b
xor ecx, ecx
mov dword [esp + 0x24], edi
mov word [esp + 0x28], cx
mov dword [esp + 0x250], edi
cmp dword [ebp], 1
je 0x10008202
mov dword [0x10083768], 0x80000
jmp 0x10008215
mov ecx, dword [ebp + 4]
push 0xffffffffffffffff
lea edx, [esp + 0x28]
call fcn.10016090
mov dword [0x10083768], eax
mov edx, dword [esp + 0x24]
push ebx
push edi
mov dword [esp + 0x24], edx
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
cmp dword [ebp], 1
je 0x10008237
mov dword [0x10083768], 0x80000
jmp 0x10008246
mov edi, dword [ebp + 4]
mov eax, ebx
call fcn.10016030
mov dword [0x10083768], eax
mov edi, dword [esp + 0x1c]
xor eax, eax
xor esi, esi
cmp edi, eax
jle 0x100082bf
jmp 0x10008256
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x24], eax
mov word [esp + 0x28], cx
mov dword [esp + 0x250], eax
cmp dword [ebp], 1
je 0x1000827a
mov dword [0x10083768], 0x80000
jmp 0x1000828c
mov ecx, dword [ebp + 4]
push esi
lea edx, [esp + 0x28]
call fcn.10016090
mov dword [0x10083768], eax
test byte [esp + 0x230], 0x10
jne 0x100082ba
cmp dword [ebp], 1
je 0x100082a8
mov dword [0x10083768], 0x80000
jmp 0x100082ba
mov ecx, dword [ebp + 4]
push esi
lea edx, [esp + 0x2c]
call fcn.10016820
mov dword [0x10083768], eax
inc esi
cmp esi, edi
jl 0x10008254
cmp dword [ebp], 1
je 0x100082d1
mov dword [0x10083768], 0x80000
jmp 0x100082f0
mov esi, dword [ebp + 4]
call fcn.10016bc0
mov dword [0x10083768], eax
test esi, esi
je 0x100082e7
call fcn.10016ce0
push ebp
call fcn.1004ea14
add esp, 4
mov esi, dword [esp + 0x18]
push esi
mov ecx, str.true
call fcn.10002620
lea eax, [ebx - 0x10]
mov byte [esp + 0x260], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10008323
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x260], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000834b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x260], 0xffffffff
mov eax, dword [esp + 0x26c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10008379
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x258]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x240]
xor ecx, esp
call fcn.1004ea1f
add esp, 0x250
ret 8