Function at 0x428fb0
Capabilities:
Get common file path
Get program files directory

Disassembly:
push 0xffffffffffffffff
push 0x4a761b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44c
push ebx
push ebp
push esi
mov esi, ecx
lea eax, [esp + 0x1c]
push edi
mov ecx, dword [esi + 4]
xor ebp, ebp
push eax
push ecx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
call dword [0x4ab5a8]
mov edx, dword [esi + 0x20]
add esi, 0x20
lea eax, [esp + 0x20]
lea ecx, [esp + 0x20]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x38], esi
call dword [edx + 0x38]
lea ecx, [esp + 0x10]
call fcn.00430cc0
mov edx, dword [0x4cb538]
mov ebx, dword [0x4ab69c]
lea ecx, [esp + 0x54]
mov dword [esp + 0x18], ebp
mov eax, dword [edx + 8]
push 0x100
push ecx
push 0x8f
push eax
mov dword [esp + 0x474], ebp
call ebx
cmp eax, ebp
jne 0x429049
mov word [esp + 0x54], bp
mov edx, 0x100
sub edx, eax
cmp edx, 1
jle 0x429079
lea eax, [esp + 0x54]
test eax, eax
je 0x429068
lea ecx, [esp + 0x54]
push ecx
call dword [0x4ab204]
lea edx, [esp + 0x54]
lea ecx, [esp + 0x14]
push edx
push eax
call fcn.00403c30
jmp 0x4290dc
push 0x1ff
lea ecx, [esp + 0x18]
mov edi, 0x200
call fcn.00403a10
mov esi, eax
cmp esi, ebp
je 0x4290cd
mov eax, dword [0x4cb538]
push edi
push esi
push 0x8f
mov eax, dword [eax + 8]
push eax
call ebx
cmp eax, ebp
jne 0x4290ab
mov word [esi], bp
mov ecx, edi
sub ecx, eax
cmp ecx, 1
jg 0x4290cd
add edi, 0x100
lea ecx, [esp + 0x14]
lea edx, [edi - 1]
push edx
call fcn.00403a10
mov esi, eax
cmp esi, ebp
jne 0x429092
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call fcn.00403ad0
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x2c]
push 0xffffffffffffffd8
lea ecx, [esp + 0x48]
push 0xffffffffffffffd8
push ecx
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], eax
call dword [0x4ab5f8]
push 1
lea edx, [esp + 0x48]
push 1
lea eax, [esp + 0x18]
push edx
push eax
push 0x8f
mov ecx, esi
call fcn.00434f30
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
push ebp
lea edx, [esp + 0x258]
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x258]
push 0x26
push edx
push ebp
rep stosd dword es:[edi], eax
call dword [0x4ab528]
lea eax, [esp + 0x254]
lea ecx, [esp + 0x14]
push eax
push 0x8d
push ecx
mov dword [esp + 0x24], ebp
call fcn.00412300
mov eax, dword [esp + 0x40]
mov edi, dword [esp + 0x44]
add esp, 0xc
add eax, 0x3c
mov dword [esp + 0x34], eax
lea edx, [esp + 0x34]
push 1
push 1
push ebp
lea eax, [esp + 0x1c]
push edx
add edi, 0x50
push eax
push 0x8d
mov ecx, esi
mov dword [esp + 0x50], edi
call fcn.00434ed0
mov ecx, dword [0x4cb538]
lea edx, [esp + 0x54]
push 0x100
push edx
mov eax, dword [ecx + 8]
push 0x8e
push eax
call ebx
cmp eax, ebp
jne 0x4291da
mov word [esp + 0x54], bp
mov ecx, 0x100
sub ecx, eax
cmp ecx, 1
jle 0x42920e
lea edx, [esp + 0x54]
test edx, edx
jne 0x4291f2
xor eax, eax
jmp 0x4291fd
lea eax, [esp + 0x54]
push eax
call dword [0x4ab204]
lea ecx, [esp + 0x54]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.00403c30
jmp 0x42928a
push 0x1ff
lea ecx, [esp + 0x18]
mov edi, 0x200
call fcn.00403a10
mov esi, eax
cmp esi, ebp
je 0x429263
mov edx, dword [0x4cb538]
push edi
push esi
push 0x8e
mov eax, dword [edx + 8]
push eax
call ebx
cmp eax, ebp
jne 0x429241
mov word [esi], bp
mov ecx, edi
sub ecx, eax
cmp ecx, 1
jg 0x429263
add edi, 0x100
lea ecx, [esp + 0x14]
lea edx, [edi - 1]
push edx
call fcn.00403a10
mov esi, eax
cmp esi, ebp
jne 0x429227
lea ecx, [esp + 0x14]
call fcn.0040bd00
mov eax, dword [esp + 0x14]
push eax
call dword [0x4ab204]
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x30]
mov dword [ecx - 8], eax
mov edx, dword [esp + 0x14]
mov word [edx + eax*2], bp
push 0x1e
lea eax, [esp + 0x38]
push ebp
push eax
call dword [0x4ab68c]
push 1
push 1
lea ecx, [esp + 0x3c]
push ebp
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x8e
mov ecx, esi
call fcn.00434ed0
lea ecx, [esp + 0x10]
mov dword [esp + 0x464], 0xffffffff
call fcn.00430ce0
mov ecx, dword [esp + 0x45c]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x458
ret