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

Disassembly:
push 0xffffffffffffffff
push 0x44a73a
mov eax, dword fs:[0]
push eax
sub esp, 0x44c
mov eax, dword [0x4590b0]
xor eax, esp
mov dword [esp + 0x448], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4590b0]
xor eax, esp
push eax
lea eax, [esp + 0x460]
mov dword fs:[0], eax
mov edx, dword [0x45c424]
mov ebp, dword [esp + 0x474]
xor eax, eax
mov word [esp + 0x48], ax
mov eax, dword [edx + 0xc]
mov ecx, 0x45c424
call eax
lea ecx, [eax + 0x10]
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x470]
xor ebx, ebx
add eax, 0xffffff9b
mov dword [esp + 0x468], ebx
cmp eax, 0x10
ja case.default.0x42724c
jmp dword [eax*4 + 0x4277fc]
lea esi, [esp + 0x18]
call fcn.004024c0
mov ecx, esi
push ecx
push 0x68
mov byte [esp + 0x470], 1
call fcn.004271d0
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx - 8]
mov edx, 1
sub edx, dword [ecx - 4]
mov esi, 0x104
sub eax, esi
add esp, 8
or eax, edx
jge 0x42729a
mov ecx, esi
lea eax, [esp + 0x18]
call fcn.00401e20
mov ecx, dword [esp + 0x18]
cmp dword [ecx - 8], esi
mov eax, ecx
jge 0x4272ab
push 0x80070057
call fcn.00401e90
mov dword [ecx - 0xc], esi
mov ecx, dword [esp + 0x18]
xor edx, edx
push eax
mov word [ecx + 0x208], dx
call dword [0x44d2c0]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.00437a5b
add esp, 8
cmp eax, ebx
jl 0x4272a1
mov ecx, dword [esp + 0x18]
cmp eax, dword [ecx - 8]
jg 0x4272a1
mov dword [ecx - 0xc], eax
mov ecx, dword [esp + 0x18]
xor edx, edx
mov word [ecx + eax*2], dx
lea eax, [esp + 0x18]
lea edi, [esp + 0x14]
call fcn.004032b0
lea ecx, [esp + 0x18]
mov byte [esp + 0x468], bl
call fcn.00401aa0
jmp 0x42776f
lea esi, [esp + 0x18]
call fcn.004024c0
mov edx, esi
push edx
push 0x69
mov byte [esp + 0x470], 2
call fcn.004271d0
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx - 8]
mov edx, 1
sub edx, dword [ecx - 4]
mov esi, 0x104
sub eax, esi
add esp, 8
or eax, edx
jge 0x427356
mov ecx, esi
lea eax, [esp + 0x18]
call fcn.00401e20
mov ecx, dword [esp + 0x18]
cmp dword [ecx - 8], esi
mov eax, ecx
jge 0x427367
push 0x80070057
call fcn.00401e90
mov dword [ecx - 0xc], esi
mov edx, dword [esp + 0x18]
xor ecx, ecx
push eax
mov word [edx + 0x208], cx
call dword [0x44d2c0]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.00437a5b
add esp, 8
cmp eax, ebx
jl 0x4272a1
mov ecx, dword [esp + 0x18]
cmp eax, dword [ecx - 8]
jg 0x4272a1
mov dword [ecx - 0xc], eax
mov edx, dword [esp + 0x18]
xor ecx, ecx
mov word [edx + eax*2], cx
jmp 0x4272ed
lea eax, [esp + 0x250]
push eax
push 0x104
call dword [0x44d0c0]
dec eax
cmp eax, 0x102
ja 0x4273dd
lea edx, [esp + 0x250]
jmp 0x427766
lea ecx, [esp + 0x14]
call fcn.00401aa0
jmp 0x4277d0
push 0x104
lea ecx, [esp + 0x4c]
push ecx
push ebx
call dword [0x44d220]
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x4c]
call fcn.00401f90
lea edi, [esp + 0x14]
mov byte [esp + 0x468], 3
call fcn.004032b0
lea ecx, [esp + 0x40]
mov byte [esp + 0x468], bl
call fcn.00401aa0
jmp 0x42776f
push 0x104
lea eax, [esp + 0x4c]
push eax
push 0x400000
call dword [0x44d220]
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x4c]
call fcn.00401f90
lea edi, [esp + 0x14]
mov byte [esp + 0x468], 4
call fcn.004032b0
lea ecx, [esp + 0x38]
mov byte [esp + 0x468], bl
call fcn.00401aa0
jmp 0x42776f
push 0x104
lea edx, [esp + 0x4c]
push edx
call dword [0x44d0c4]
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x4c]
call fcn.00401f90
lea edi, [esp + 0x14]
mov byte [esp + 0x468], 5
call fcn.004032b0
lea ecx, [esp + 0x28]
mov byte [esp + 0x468], bl
call fcn.00401aa0
jmp 0x42776f
push 0x104
lea ecx, [esp + 0x4c]
push ecx
call dword [0x44d0c8]
lea edx, [esp + 0x44]
push edx
lea ecx, [esp + 0x4c]
call fcn.00401f90
lea edi, [esp + 0x14]
mov byte [esp + 0x468], 6
call fcn.004032b0
lea ecx, [esp + 0x44]
mov byte [esp + 0x468], bl
call fcn.00401aa0
jmp 0x42776f
lea eax, [esp + 0x48]
push eax
push ebx
push ebx
push 0x26
push ebx
call dword [0x44d298]
test eax, eax
jl 0x4273dd
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x4c]
call fcn.00401f90
lea edi, [esp + 0x14]
mov byte [esp + 0x468], 7
call fcn.004032b0
lea ecx, [esp + 0x30]
mov byte [esp + 0x468], bl
call fcn.00401aa0
jmp 0x42776f
lea edx, [esp + 0x48]
push edx
push ebx
push ebx
push 0x20
push ebx
call dword [0x44d298]
test eax, eax
jl 0x4273dd
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x4c]
call fcn.00401f90
lea edi, [esp + 0x14]
mov byte [esp + 0x468], 8
call fcn.004032b0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x468], bl
call fcn.00401aa0
jmp 0x42776f
lea ecx, [esp + 0x48]
push ecx
push ebx
push ebx
push 0x17
push ebx
call dword [0x44d298]
test eax, eax
jl 0x4273dd
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x4c]
call fcn.00401f90
lea edi, [esp + 0x14]
mov byte [esp + 0x468], 9
call fcn.004032b0
lea ecx, [esp + 0x20]
mov byte [esp + 0x468], bl
call fcn.00401aa0
jmp 0x42776f
lea eax, [esp + 0x48]
push eax
push ebx
push ebx
push 2
push ebx
call dword [0x44d298]
test eax, eax
jl 0x4273dd
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x4c]
call fcn.00401f90
lea edi, [esp + 0x14]
mov byte [esp + 0x468], 0xa
call fcn.004032b0
lea ecx, [esp + 0x24]
mov byte [esp + 0x468], bl
call fcn.00401aa0
jmp 0x42776f
lea edx, [esp + 0x48]
push edx
push ebx
push ebx
push 0x1a
push ebx
call dword [0x44d298]
test eax, eax
jl 0x4273dd
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x4c]
call fcn.00401f90
lea edi, [esp + 0x14]
mov byte [esp + 0x468], 0xb
call fcn.004032b0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x468], bl
call fcn.00401aa0
jmp 0x42776f
lea ecx, [esp + 0x48]
push ecx
push ebx
push ebx
push 0x28
push ebx
call dword [0x44d298]
test eax, eax
jl 0x4273dd
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x4c]
call fcn.00401f90
lea edi, [esp + 0x14]
mov byte [esp + 0x468], 0xc
call fcn.004032b0
lea ecx, [esp + 0x34]
mov byte [esp + 0x468], bl
call fcn.00401aa0
jmp 0x42776f
call fcn.004278d0
cmp dword [eax], 3
jl 0x4273dd
lea eax, [esp + 0x48]
push eax
push ebx
push ebx
push 0x1a
push ebx
call dword [0x44d298]
test eax, eax
jl 0x4273dd
push 0x450df0
lea ecx, [esp + 0x4c]
push ecx
call dword [0x44d2b4]
jmp 0x427762
lea edx, [esp + 0x48]
push edx
push ebx
push ebx
push 0x1c
push ebx
call dword [0x44d298]
test eax, eax
jl 0x4273dd
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x4c]
call fcn.00401f90
lea edi, [esp + 0x14]
mov byte [esp + 0x468], 0xd
call fcn.004032b0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x468], bl
call fcn.00401aa0
jmp 0x42776f
lea ecx, [esp + 0x48]
push ecx
push ebx
push ebx
push 0x23
push ebx
call dword [0x44d298]
test eax, eax
jl 0x4273dd
lea edx, [esp + 0x48]
lea edi, [esp + 0x14]
call fcn.00401f50
lea eax, [esp + 0x14]
mov edi, ebp
call fcn.004032b0
mov dword [esp + 0x468], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4277a5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
jmp 0x4277d2
lea eax, [ecx - 0x10]
mov dword [esp + 0x468], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4277d0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
mov ecx, dword [esp + 0x460]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x448]
xor ecx, esp
call fcn.00435d7f
add esp, 0x458
ret