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

Disassembly:
push ebp
sub esp, 0x104
lea ebp, [esp - 4]
mov eax, dword [0x4a521c]
xor eax, ebp
mov dword [ebp + 0x104], eax
push 0x2c
mov eax, 0x476327
call fcn.0045644c
mov ebx, dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
mov edi, dword [ebp + 0x110]
xor esi, esi
lea eax, [ebp]
push eax
push esi
push esi
push 0x23
push esi
mov dword [ebp - 4], esi
call ebx
test eax, eax
jl 0x41be36
call fcn.00433ebe
push eax
lea ecx, [ebp - 0x18]
call fcn.00403512
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.00403a2e
push 0x48432c
push 2
push 2
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.Mw8LEzcpHzEOj0aPykPKj4AIiEoOhM1PylFRQ
call fcn.004023b9
lea eax, [ebp - 0x20]
push eax
call fcn.00403cea
add esp, 0x28
push dword [eax]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.00407435
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.00401264
mov esi, dword [ebp - 0x18]
push esi
push 4
push 4
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.Mzo9LDE8GzowAUgKKC0QLDYAPSw2LBsoNxI9STkfC041OTFJLQITQTwPExc9Hx8BNTwUPiopRUU
call fcn.004023b9
lea eax, [ebp - 0x20]
push eax
call fcn.00403cea
add esp, 0x28
push dword [eax]
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.00407435
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.00401264
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 0
call fcn.00401264
xor esi, esi
lea eax, [ebp]
push eax
push esi
push esi
push 0x26
push esi
call ebx
test eax, eax
jl 0x41beaf
call fcn.00433ebe
push eax
lea ecx, [ebp - 0x18]
call fcn.00403512
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.00403a2e
mov esi, dword [ebp - 0x18]
push esi
push 3
push 3
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.KAA2MT8BOQowAjVTOT05AigBFwwtAkgJMyoPTystED4
call fcn.004023b9
lea eax, [ebp - 0x20]
push eax
call fcn.00403cea
add esp, 0x28
push dword [eax]
mov ecx, edi
mov byte [ebp - 4], 5
call fcn.00407435
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.00401264
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 0
call fcn.00401264
xor esi, esi
lea eax, [ebp]
push eax
push esi
push esi
push 0x1c
push esi
call ebx
test eax, eax
jl 0x41c055
call fcn.00433ebe
push eax
lea ecx, [ebp - 0x18]
call fcn.00403512
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 6
call fcn.00403a2e
push esi
push 5
pop esi
push esi
push esi
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.NhIAMTMsGwo7AhcKNDwMygsFDo2PC06OzwTTSg8LjkoHz0oKxIpQTcsKUk5KQw2NB8xLCwSIQg8SBdBPToLIjYpMTQsLAtPPg8PSDQrST4
call fcn.004023b9
lea eax, [ebp - 0x20]
push eax
call fcn.00403cea
add esp, 0x28
push dword [eax]
mov ecx, edi
call fcn.0040361c
mov ecx, dword [ebp - 0x20]
cmp eax, 0xffffffff
setg bl
add ecx, 0xfffffff0
call fcn.00401264
test bl, bl
je 0x41bfc1
push esi
push esi
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.NhA5QTQ8OSo7DwtAPA9AIDUAMQ01AiE5NywpVzMAQE4oH0AeOxEfQTwAGwI0PR81MxEUPiopRUU
call fcn.004023b9
lea eax, [ebp - 0x14]
push eax
call fcn.00403cea
add esp, 0x28
push dword [eax]
mov byte [ebp - 4], 7
push 3
push 3
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.KCk5TTAsMUAzKzlXOTo1DA
call fcn.004023b9
lea eax, [ebp - 0x20]
push eax
call fcn.00403cea
add esp, 0x28
push dword [eax]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 8
call fcn.00407435
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.00401264
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], 6
call fcn.00401264
push dword [ebp - 0x18]
push 2
push 2
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.LDoAHDcpHzEoOhM1PywpID8AEy02OhsoIClFRQ
call fcn.004023b9
lea eax, [ebp - 0x14]
push eax
call fcn.00403cea
add esp, 0x28
mov byte [ebp - 4], 9
jmp 0x41c02a
push 0
push 2
push 2
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.PykUHDcpHzEoOhM1PywpID8AEy0gKUVF
call fcn.004023b9
lea eax, [ebp - 0x14]
push eax
call fcn.00403cea
add esp, 0x28
push dword [eax]
mov ecx, edi
call fcn.0040361c
mov ecx, dword [ebp - 0x14]
cmp eax, 0xffffffff
setg bl
add ecx, 0xfffffff0
call fcn.00401264
test bl, bl
je 0x41c03e
push dword [ebp - 0x18]
push esi
push esi
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.NhEPNDQ7SDs0KQsLKDkMOTYAQTo2PC06OzwTTSg8LjkoHz0oKxIpQTcsKUk5KQw2NB8xLCwSIQg8DzlLOTsULDUAPS0oERcIKi0tRQ
call fcn.004023b9
lea eax, [ebp - 0x14]
push eax
call fcn.00403cea
add esp, 0x28
mov byte [ebp - 4], 0xa
push dword [eax]
mov ecx, edi
call fcn.00407435
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00401264
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.00401264
mov ebx, dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
xor esi, esi
lea eax, [ebp]
push eax
push esi
push esi
push 0x1a
push esi
call ebx
test eax, eax
jl 0x41c0cc
call fcn.00433ebe
push eax
lea ecx, [ebp - 0x18]
call fcn.00403512
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xb
call fcn.00403a2e
mov esi, dword [ebp - 0x18]
push esi
push 4
push 4
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.NQIPICsSKUA3LjUKKC0QKDYBCDo3Kx86PQEfAD0sEzEzEUgMKilFRQ
call fcn.004023b9
lea eax, [ebp - 0x14]
push eax
call fcn.00403cea
add esp, 0x28
push dword [eax]
mov ecx, edi
mov byte [ebp - 4], 0xc
call fcn.00407435
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00401264
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 0
call fcn.00401264
push 5
pop esi
push esi
push esi
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.Nh89NDQ8PUArPTlLMw9BLDYAQTo1LDVAKzsTST0RSE80Ow9BOyw1DDQSTEU
call fcn.004023b9
lea eax, [ebp - 0x14]
push eax
call fcn.00403cea
mov eax, dword [eax]
mov ecx, dword [edi]
add esp, 0x28
push eax
push ecx
call fcn.004581f2
pop ecx
pop ecx
mov ecx, dword [ebp - 0x14]
cmp eax, 0xffffffff
setg bl
add ecx, 0xfffffff0
call fcn.00401264
test bl, bl
je 0x41c169
lea eax, [ebp - 0x18]
push eax
call fcn.00422c4c
pop ecx
push dword [ebp - 0x18]
mov byte [ebp - 4], 0xd
push esi
push esi
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.NhA9KDY8PUAzKQsXNC06NCgsFDo1LDVAKzsTST0RSE80Ow9BOyw1DDQSTEU
call fcn.004023b9
lea eax, [ebp - 0x14]
push eax
call fcn.00403cea
add esp, 0x28
push dword [eax]
mov ecx, edi
mov byte [ebp - 4], 0xe
call fcn.00407435
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00401264
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.00401264
push esi
push esi
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.NQIIOjcrEwsxKQtAOSo2NCgsFDkxOx8JNisfACg6C002ARcgPAIpQTACMUk5KhsXNTkxSTw8KSssPS1F
call fcn.004023b9
lea eax, [ebp - 0x14]
push eax
call fcn.00403cea
mov eax, dword [eax]
mov ecx, dword [edi]
add esp, 0x28
push eax
push ecx
call fcn.004581f2
pop ecx
pop ecx
mov ecx, dword [ebp - 0x14]
cmp eax, 0xffffffff
setg bl
add ecx, 0xfffffff0
call fcn.00401264
test bl, bl
je 0x41c35a
call fcn.00433ebe
push eax
lea ecx, [ebp - 0x1c]
call fcn.00403512
lea eax, [ebp]
push eax
xor ebx, ebx
push ebx
push ebx
push 0x1a
push ebx
mov byte [ebp - 4], 0xf
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jl 0x41c34f
call fcn.00433ebe
push eax
lea ecx, [ebp - 0x18]
call fcn.00403512
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x10
call fcn.00403a2e
push esi
push esi
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.NhEPLTcsE0A0KRdAOR8MMzUAMQ01Ai05NywpCzkqQDMoH0AeKzwpQTcsNUk5LQAyMysPSTssQDk7SBNLPRA1IjYfPSg5Ow87NywLSjQSLjYzOxQ5NRI1TjUsPUk0Oz45NitJMTssKQorLExF
call fcn.004023b9
lea eax, [ebp - 0x14]
push eax
call fcn.00403cea
add esp, 0x28
mov eax, dword [eax]
push dword [eax - 0xc]
lea ecx, [ebp - 0x18]
push eax
mov byte [ebp - 4], 0x11
call fcn.0040386d
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0x10
call fcn.00401264
lea ecx, [ebp - 0x38]
call fcn.004410e1
push ebx
push 3
push 3
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.NDsXDDARSC0xEQtF
mov byte [ebp - 4], 0x12
call fcn.004023b9
lea eax, [ebp - 0x20]
push eax
call fcn.00403cea
add esp, 0x28
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 0x13
call fcn.004039d7
add esp, 0xc
push dword [eax]
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x14
call fcn.00441176
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401264
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0x12
call fcn.00401264
cmp esi, ebx
je 0x41c2fd
lea ecx, [ebp - 0x38]
call fcn.00440de5
mov esi, eax
mov eax, dword [ebp - 0x38]
push 0x10
lea ecx, [ebp - 0x38]
call dword [eax + 0x38]
cmp eax, ebx
je 0x41c2a7
lea ecx, [ebp - 0x38]
call fcn.004410a6
cmp eax, ebx
jne 0x41c2a7
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x38]
call fcn.004413b0
mov eax, dword [eax]
push dword [eax - 0xc]
lea ecx, [ebp - 0x18]
push eax
mov byte [ebp - 4], 0x15
call fcn.0040386d
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0x12
call fcn.00401264
mov esi, dword [ebp - 0x18]
push esi
push 5
push 5
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.NQIPLDk8KUA2KwsPKDxJOjYAQTkxOx8JNisfACg6C002ARcgPAIpQTACMUk5KhsXNTkxSTw8KSssPS1F
call fcn.004023b9
lea eax, [ebp - 0x20]
push eax
call fcn.00403cea
add esp, 0x28
push dword [eax]
mov ecx, edi
mov byte [ebp - 4], 0x16
call fcn.00407435
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.00401264
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x10
call fcn.00441107
lea ecx, [esi - 0x10]
call fcn.00401264
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.00401264
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x104]
xor ecx, ebp
call fcn.0045640a
add ebp, 0x108
leave
ret