Function at 0x1000254e
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, 0x100102f8
call fcn.1000897c
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 0x10002794
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, esi
jne 0x10002794
push 3
lea eax, [ebp - 0x14]
push esi
push eax
call fcn.10008450
mov edi, 0x100
push edi
lea eax, [ebp + 0x358]
push esi
push eax
call fcn.10008450
push edi
lea eax, [ebp + 0x54]
push esi
push eax
call fcn.10008450
push edi
lea eax, [ebp + 0x154]
push esi
push eax
call fcn.10008450
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.10008c30
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.10001f36
push esi
lea ecx, [ebp + 0x1c]
mov dword [ebp - 4], esi
mov dword [ebp + 0x34], edi
call fcn.10001f36
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 1
call fcn.10008140
pop ecx
mov edi, 0x10011404
test eax, eax
jbe 0x10002670
lea eax, [ebp + 0x358]
push eax
call fcn.10008140
pop ecx
test eax, eax
jbe 0x10002670
push ebx
lea ecx, [ebp + 0x1c]
call fcn.10002405
jmp 0x10002691
lea eax, [ebp + 0x254]
push eax
lea ecx, [ebp + 0x1c]
call fcn.10002405
push edi
lea ecx, [ebp + 0x1c]
call fcn.100023e8
push ebx
lea ecx, [ebp + 0x1c]
call fcn.100023e8
lea eax, [ebp + 0x254]
push eax
lea ecx, [ebp + 0x38]
call fcn.10002405
push edi
lea ecx, [ebp + 0x38]
call fcn.100023e8
push dword [ebp - 0x20]
lea ecx, [ebp + 0x38]
call fcn.100023e8
push dword [ebp - 0x1c]
call fcn.1000144d
pop ecx
push eax
lea ecx, [ebp + 0x38]
call fcn.100023e8
push dword [ebp - 0x10]
lea ecx, [ebp + 0x38]
call fcn.100023e8
cmp dword [ebp + 0x50], 0x10
mov eax, dword [ebp + 0x3c]
jae 0x100026dd
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.10001f36
cmp dword [ebp - 0x10], 0xffffffff
je 0x1000275e
cmp dword [ebp + 0x34], 0x10
mov eax, dword [ebp + 0x20]
jae 0x10002723
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 0x10002748
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 0x10002754
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 0x1000276e
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
push 1
lea ecx, [ebp]
call fcn.10001f73
push esi
push 1
lea ecx, [ebp + 0x1c]
call fcn.10001f73
push esi
push 1
lea ecx, [ebp + 0x38]
call fcn.10001f73
mov eax, dword [ebp - 0x18]
jmp 0x10002796
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.100083a8
add ebp, 0x45c
leave
ret