Function at 0x4251a9
Capabilities:
Get common file path

Disassembly:
push 0x8d0
mov eax, 0x4a0512
call fcn.0047bb4d
mov eax, dword [ebp + 8]
mov dword [ebp - 0x8cc], eax
xor ebx, ebx
push 0x400
lea eax, [ebp - 0x814]
push eax
mov dword [ebp - 0x8c4], ebx
mov dword [ebp - 0x8c0], ebx
mov byte [ebp - 0x8b6], bl
mov byte [ebp - 0x8b5], 1
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryA]
test eax, eax
jne 0x425207
push 0x4b7af0
xor ecx, ecx
inc ecx
call fcn.0040d57f
pop ecx
xor al, al
jmp 0x4254b1
call fcn.004267ec
mov edi, eax
mov dword [ebp - 0x8d4], edi
mov dword [ebp - 0x8c8], ebx
cmp dword [edi], ebx
je 0x4254a0
mov esi, edi
push 0x4b7b74
push dword [esi]
call fcn.0047b180
pop ecx
pop ecx
test eax, eax
jne 0x425242
mov byte [ebp - 0x8b6], 1
jmp 0x425489
push dword [esi]
lea eax, [ebp - 0x814]
push eax
lea eax, [ebp - 0x414]
push 0x4b7b80
push eax
call fcn.0042724c
lea eax, [ebp - 0x844]
push eax
lea eax, [ebp - 0x414]
push eax
mov dword [ebp - 0x824], ebx
mov dword [ebp - 0x820], ebx
call fcn.0047a9e5
add esp, 0x18
test eax, eax
jne 0x425489
push 0x54
call fcn.00477df1
mov edi, eax
pop ecx
mov dword [ebp - 0x8d0], edi
mov dword [ebp - 4], ebx
cmp edi, ebx
je 0x4252c1
mov ecx, edi
call fcn.00404c9b
mov byte [ebp - 4], 1
lea ecx, [edi + 0x1c]
call fcn.00404c9b
mov byte [ebp - 4], 2
lea ecx, [edi + 0x38]
call fcn.00404c9b
mov byte [ebp - 4], bl
jmp 0x4252c3
xor edi, edi
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x8d0], edi
cmp edi, ebx
je 0x4254b9
lea eax, [ebp - 0x824]
push eax
call fcn.0047afb4
pop ecx
push eax
lea eax, [ebp - 0x8b4]
push eax
call fcn.0040c667
pop ecx
pop ecx
mov dword [ebp - 4], 4
push 0xffffffffffffffff
lea esi, [edi + 0x38]
push ebx
mov ecx, esi
call fcn.00404d40
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8b4]
call fcn.00403d16
cmp dword [esi + 0x14], 8
mov eax, dword [edi + 0x48]
jb 0x425321
mov ecx, dword [esi]
jmp 0x425323
mov ecx, esi
push 0xa
add eax, eax
pop edx
cmp dx, word [eax + ecx - 2]
jne 0x42533e
cmp dword [esi + 0x14], 8
jb 0x425337
mov esi, dword [esi]
xor ecx, ecx
mov word [eax + esi - 2], cx
cmp byte [ebp - 0x8b6], bl
jne 0x4253a1
mov ecx, dword [ebp - 0x824]
mov eax, dword [ebp - 0x820]
mov edx, ecx
or edx, eax
je 0x4253a1
mov edx, dword [ebp - 0x8c4]
or edx, dword [ebp - 0x8c0]
jne 0x425374
mov dword [ebp - 0x8c4], ecx
mov dword [ebp - 0x8c0], eax
jmp 0x4253a1
sub ecx, dword [ebp - 0x8c4]
sbb eax, dword [ebp - 0x8c0]
cdq
xor eax, edx
xor ecx, edx
sub ecx, edx
sbb eax, edx
mov dword [ebp - 0x8d8], eax
js 0x4253a1
jg 0x42539b
cmp ecx, 0xb4
jbe 0x4253a1
mov byte [ebp - 0x8b5], bl
lea eax, [ebp - 0x860]
push eax
mov eax, 0x4a9a00
call fcn.00404cae
mov dword [ebp - 4], 5
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x860]
lea ecx, [edi + 0x1c]
call fcn.00404d40
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x860]
call fcn.00403d16
lea edx, [edi + 0x1c]
lea ecx, [ebp - 0x414]
call fcn.004250e0
test al, al
jne 0x4253f9
push 0x4b7ab8
push 2
pop ecx
call fcn.0040d57f
pop ecx
lea eax, [ebp - 0x414]
push 0x5c
push eax
call fcn.0047b210
pop ecx
pop ecx
cmp eax, ebx
jne 0x42543f
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x87c]
push eax
call fcn.0040c667
pop ecx
pop ecx
mov dword [ebp - 4], 6
push 0xffffffffffffffff
push ebx
mov ecx, edi
call fcn.00404d40
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x87c]
jmp 0x42546a
inc eax
push eax
lea eax, [ebp - 0x898]
push eax
call fcn.0040c667
pop ecx
pop ecx
mov dword [ebp - 4], 7
push 0xffffffffffffffff
push ebx
mov ecx, edi
call fcn.00404d40
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x898]
call fcn.00403d16
mov esi, dword [ebp - 0x8cc]
add esi, 0x4c
lea ecx, [ebp - 0x8d0]
call fcn.00426b65
mov edi, dword [ebp - 0x8d4]
inc dword [ebp - 0x8c8]
mov eax, dword [ebp - 0x8c8]
lea esi, [edi + eax*4]
cmp dword [esi], ebx
jne 0x425224
mov al, byte [ebp - 0x8b5]
mov ecx, dword [ebp - 0x8cc]
mov byte [ecx + 0x39], al
mov al, 1
call fcn.0047bbd0
ret 4
push 0x4b7b88
jmp 0x4251f7