Function at 0x10027bbd
Capabilities:
Get common file path

Disassembly:
mov eax, 0x100cdd30
call fcn.10030644
sub esp, 0x82c
push ebx
push esi
lea eax, [ebp - 0x838]
push edi
mov edi, ecx
xor ebx, ebx
push eax
push 0x400
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x14], ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x838]
lea ecx, [ebp - 0x10]
push eax
call fcn.100039ab
push str._img.img
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], ebx
call fcn.100039ab
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x10]
push eax
mov byte [ebp - 4], 1
call fcn.10003a64
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.1000278a
push dword [ebp + 0xc]
mov ecx, edi
call fcn.10027e15
mov esi, eax
cmp esi, ebx
je 0x10027cdf
cmp dword [esi + 0x104], ebx
jbe 0x10027cdf
lea ecx, [ebp - 0x24]
call fcn.100c1b92
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x10027c5d
mov eax, dword [eax]
jmp 0x10027c5f
xor eax, eax
push ebx
push 0x1001
push eax
lea ecx, [ebp - 0x24]
call fcn.100c1ca4
test eax, eax
jne 0x10027c95
push dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
call fcn.100039ab
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], bl
call fcn.100c1be7
lea ecx, [ebp - 0x10]
call fcn.1000278a
jmp 0x10027e01
mov eax, dword [edi + 0x4214]
push dword [esi + 0x104]
add eax, dword [esi + 0x100]
lea ecx, [ebp - 0x24]
push eax
call fcn.100c1dfb
lea ecx, [ebp - 0x24]
call fcn.100c1ebf
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x10]
mov ecx, esi
mov dword [esi], eax
call fcn.1001c3de
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], bl
call fcn.100c1be7
lea ecx, [ebp - 0x10]
call fcn.1000278a
jmp 0x10027dcb
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x24]
mov byte [ebp - 0x24], al
call fcn.1000418b
push dword [ebp + 0xc]
call fcn.10031058
pop ecx
push eax
lea ecx, [ebp - 0x24]
push dword [ebp + 0xc]
call fcn.10004232
mov esi, str.res:
mov byte [ebp - 4], 3
push esi
call fcn.10031058
pop ecx
push eax
push ebx
push esi
lea ecx, [ebp - 0x24]
call fcn.1001bddf
mov esi, eax
cmp esi, 0xffffffff
jle 0x10027ddd
mov edi, 0x100fc088
push edi
call fcn.10031058
pop ecx
push eax
push esi
push edi
lea ecx, [ebp - 0x24]
call fcn.1001bddf
cmp eax, esi
jle 0x10027ddd
sub eax, esi
add esi, 5
sub eax, 5
lea ecx, [ebp - 0x24]
push eax
lea eax, [ebp - 0x38]
push esi
push eax
call fcn.1001ba6d
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 4
cmp eax, ebx
je 0x10027d6d
mov eax, dword [eax]
jmp 0x10027d6f
xor eax, eax
mov ecx, dword [ebp - 0x34]
cmp ecx, ebx
jne 0x10027d7b
mov ecx, 0x100d6e28
push eax
push 0x100fb674
push ecx
mov ecx, dword [ebp - 0x28]
call fcn.10027a8f
test al, al
je 0x10027dcf
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp + 8]
cmp eax, ebx
mov dword [esi], eax
je 0x10027da4
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push 1
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 3
call fcn.1000418b
push 1
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], bl
call fcn.1000418b
mov ecx, dword [ebp - 0x10]
cmp ecx, ebx
je 0x10027dcb
call fcn.10002801
mov eax, esi
jmp 0x10027e04
push 1
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 3
call fcn.1000418b
push 1
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], bl
call fcn.1000418b
push dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
call fcn.100039ab
mov ecx, dword [ebp - 0x10]
cmp ecx, ebx
je 0x10027e01
call fcn.10002801
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8