Function at 0x1002bb87
Capabilities:
Get common file path

Disassembly:
push 0x30
mov eax, 0x10083706
call fcn.1006a09e
mov eax, dword [0x100b27b4]
mov ebx, 0x100b27b4
mov ecx, ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
and dword [ebp - 4], 0
mov edi, 0x104
push edi
lea esi, [ebp - 0x18]
call fcn.10002938
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
call fcn.10002668
push ecx
mov eax, esp
mov dword [ebp - 0x2c], esp
push eax
mov ecx, str.OCExclude.dat
call fcn.10002a34
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x24], esp
mov esi, esp
call fcn.10002aac
add eax, 0x10
mov dword [esi], eax
lea esi, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.10009d65
pop ecx
pop ecx
lea edi, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.100023e1
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
call fcn.10002b29
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0xf8]
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push eax
push ecx
call fcn.1000724e
pop ecx
pop ecx
call fcn.10009531
and dword [ebp - 0x24], 0
pop ecx
mov byte [ebp - 0xd], al
lea esi, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.1000d992
mov eax, dword [0x100b27b4]
mov ecx, ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x18]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x2c], esp
mov esi, esp
mov dword [ebp - 0x2c], eax
call fcn.10002aac
add eax, 0x10
mov dword [esi], eax
call fcn.10007b09
pop ecx
test al, al
je 0x1002bd47
xor eax, eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x14], eax
push 3
push 1
push closesocket
mov byte [ebp - 4], 5
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
push eax
call fcn.1000b010
test eax, eax
jne 0x1002bd34
lea eax, [ebp - 0x14]
push eax
lea esi, [ebp - 0x38]
call fcn.1000afda
test eax, eax
jne 0x1002bd21
mov esi, dword [ebp - 0x38]
lea eax, [esi + 1]
push eax
call fcn.1005fb39
cmp byte [ebp - 0xd], 0
pop ecx
mov dword [ebp - 0x20], eax
je 0x1002bd12
push esi
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.1000af9d
test eax, eax
jne 0x1002bd12
push esi
push dword [ebp - 0x20]
lea eax, [ebp - 0x28]
push eax
call fcn.100071da
add esp, 0xc
lea edi, [ebp - 0x1c]
mov byte [ebp - 4], 6
call fcn.100023e1
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
call fcn.10002b29
mov edi, dword [ebp + 8]
cmp dword [ebp - 0x20], 0
je 0x1002bd21
push dword [ebp - 0x20]
call fcn.10060146
pop ecx
cmp dword [ebp - 0x14], 0
je 0x1002bd34
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [ebp - 0x14], 0
mov byte [ebp - 4], 4
cmp dword [ebp - 0x14], 0
je 0x1002bd47
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [edi + 0x18]
sub eax, 0x10
call fcn.10002aac
add eax, 0x10
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 7
cmp byte [edi + 0x24], 0
je 0x1002bd88
call fcn.1001a54d
push eax
call fcn.1001d113
cmp eax, 1
je 0x1002bd88
lea eax, [edi + 0x1c]
mov ecx, dword [eax]
cmp dword [ecx - 0xc], 0
je 0x1002bd88
lea edi, [ebp - 0x20]
call fcn.100023e1
mov edi, dword [ebp + 8]
mov eax, dword [0x100b27b4]
mov ecx, ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 8
mov eax, dword [edi + 0x20]
push ecx
sub eax, 0x10
mov dword [ebp + 8], esp
mov esi, esp
call fcn.10002aac
add eax, 0x10
mov dword [esi], eax
call fcn.1002bed8
push dword [edi + 0xf8]
mov esi, eax
lea eax, [ebp + 8]
push eax
mov ebx, edx
call fcn.1000724e
push ebx
push esi
mov byte [ebp - 4], 9
push dword [eax]
lea eax, [ebp - 0x14]
push dword [ebp - 0x20]
push str.EXCLVersion1Tags_sOfferID_sExpiry_I64d_r_n
call fcn.1000261c
mov byte [ebp - 4], 8
mov eax, dword [ebp + 8]
add esp, 0x1c
add eax, 0xfffffff0
call fcn.10002b29
mov edi, dword [ebp - 0x14]
push dword [edi - 0xc]
lea eax, [ebp - 0x1c]
push edi
call fcn.10004293
xor esi, esi
mov dword [ebp + 8], esi
push 2
push esi
push 0x40000000
mov byte [ebp - 4], 0xa
push dword [ebp - 0x18]
lea eax, [ebp + 8]
push eax
call fcn.1000b010
test eax, eax
jne 0x1002be87
push 0xfde9
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x1c]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x34], esp
mov ebx, esp
call fcn.10002aac
add eax, 0x10
mov dword [ebx], eax
call fcn.1000714f
add esp, 0xc
push dword [ebp - 0x28]
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp + 8]
push eax
call fcn.1000af6a
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
cmp dword [ebp + 8], esi
je 0x1002be77
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp + 8], esi
cmp dword [ebp - 0x18], esi
je 0x1002be89
push dword [ebp - 0x18]
call fcn.10060146
pop ecx
jmp 0x1002be89
xor bl, bl
lea esi, [ebp - 0x24]
call fcn.1000d9e3
cmp dword [ebp + 8], 0
je 0x1002bea0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [edi - 0x10]
call fcn.10002b29
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.10002b29
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.10002b29
lea esi, [ebp - 0x24]
call fcn.1000d9e3
mov eax, dword [ebp - 0x2c]
call fcn.10002b29
mov al, bl
call fcn.1006a176
ret 4