Function at 0x100025bb
Capabilities:
Get common file path
Get file size

Disassembly:
push ebp
sub esp, 0x458
lea ebp, [esp - 4]
mov eax, dword [0x10015450]
xor eax, ebp
mov dword [ebp + 0x458], eax
push 0x14
mov eax, 0x10010368
call fcn.100089ec
mov eax, dword [ebp + 0x464]
mov ebx, dword [ebp + 0x468]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x470]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x474]
mov dword [ebp - 0x10], eax
mov eax, dword [0x1001611c]
xor esi, esi
mov dword [ebp - 0x18], esi
cmp eax, esi
je 0x10002801
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, esi
jne 0x10002801
push 3
lea eax, [ebp - 0x14]
push esi
push eax
call fcn.100084c0
mov edi, 0x100
push edi
lea eax, [ebp + 0x358]
push esi
push eax
call fcn.100084c0
push edi
lea eax, [ebp + 0x54]
push esi
push eax
call fcn.100084c0
push edi
lea eax, [ebp + 0x154]
push esi
push eax
call fcn.100084c0
lea eax, [ebp + 0x154]
push eax
lea eax, [ebp + 0x54]
push eax
lea eax, [ebp + 0x358]
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
call fcn.10008ca0
add esp, 0x44
push 0x104
lea eax, [ebp + 0x254]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0xf
pop edi
push esi
lea ecx, [ebp + 0x38]
mov dword [ebp + 0x50], edi
call fcn.10001fa3
push esi
lea ecx, [ebp + 0x1c]
mov dword [ebp - 4], esi
mov dword [ebp + 0x34], edi
call fcn.10001fa3
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 1
call fcn.100081b0
pop ecx
mov edi, 0x1001140c
test eax, eax
jbe 0x100026dd
lea eax, [ebp + 0x358]
push eax
call fcn.100081b0
pop ecx
test eax, eax
jbe 0x100026dd
push ebx
lea ecx, [ebp + 0x1c]
call fcn.10002472
jmp 0x100026fe
lea eax, [ebp + 0x254]
push eax
lea ecx, [ebp + 0x1c]
call fcn.10002472
push edi
lea ecx, [ebp + 0x1c]
call fcn.10002455
push ebx
lea ecx, [ebp + 0x1c]
call fcn.10002455
lea eax, [ebp + 0x254]
push eax
lea ecx, [ebp + 0x38]
call fcn.10002472
push edi
lea ecx, [ebp + 0x38]
call fcn.10002455
push dword [ebp - 0x20]
lea ecx, [ebp + 0x38]
call fcn.10002455
push dword [ebp - 0x1c]
call fcn.100014ba
pop ecx
push eax
lea ecx, [ebp + 0x38]
call fcn.10002455
push dword [ebp - 0x10]
lea ecx, [ebp + 0x38]
call fcn.10002455
cmp dword [ebp + 0x50], 0x10
mov eax, dword [ebp + 0x3c]
jae 0x1000274a
lea eax, [ebp + 0x3c]
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileA]
push esi
push 0x80
push 3
push esi
push 1
mov ebx, SysReAllocString
push ebx
push eax
call edi
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
lea ecx, [ebp]
mov dword [ebp + 0x18], 0xf
call fcn.10001fa3
cmp dword [ebp - 0x10], 0xffffffff
je 0x100027cb
cmp dword [ebp + 0x34], 0x10
mov eax, dword [ebp + 0x20]
jae 0x10002790
lea eax, [ebp + 0x20]
push esi
push 0x80
push 3
push esi
push 1
push ebx
push eax
call edi
mov edi, eax
cmp edi, 0xffffffff
je 0x100027b5
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0x50], 0x10
mov eax, dword [ebp + 0x3c]
jae 0x100027c1
lea eax, [ebp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x18], eax
mov eax, dword [0x1001611c]
cmp eax, esi
je 0x100027db
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
push 1
lea ecx, [ebp]
call fcn.10001fe0
push esi
push 1
lea ecx, [ebp + 0x1c]
call fcn.10001fe0
push esi
push 1
lea ecx, [ebp + 0x38]
call fcn.10001fe0
mov eax, dword [ebp - 0x18]
jmp 0x10002803
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x458]
xor ecx, ebp
call fcn.10008418
add ebp, 0x45c
leave
ret