Function at 0x408a58
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe30
push ebx
push esi
push edi
mov eax, 0x5c7f14
call fcn.00496be4
mov dl, 1
mov eax, dword [0x451018]
call fcn.00451118
mov dword [ebp - 0xbc], eax
mov edx, reloc.WSOCK32.DLL_bind
mov eax, dword [ebp - 0xbc]
call fcn.004a4458
mov word [ebp - 0xa8], 8
mov word [ebp - 0xa8], 0x14
mov edx, 0x5c14bf
lea eax, [ebp - 4]
call fcn.004a44ec
inc dword [ebp - 0x9c]
mov edx, dword [eax]
mov cl, 1
mov eax, dword [ebp - 0xbc]
call fcn.004512fc
cmp al, 1
setne dl
and edx, 1
push edx
dec dword [ebp - 0x9c]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004a4690
pop ecx
test cl, cl
je 0x408b2f
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x408b1b
mov edx, dword [ebp - 0xc]
mov ecx, dword [edx]
mov dword [ebp - 8], ecx
mov word [ebp - 0xa8], 0x2c
mov edx, 3
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0xa8], 0x20
xor eax, eax
mov edx, dword [ebp - 0xb8]
mov dword fs:[0], edx
jmp 0x4092f2
mov esi, 0x4c28b8
lea edi, [ebp - 0xcc]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
mov word [ebp - 0xa8], 8
push 0x10
mov word [ebp - 0xa8], 0x38
mov edx, 0x5c14fb
lea eax, [ebp - 0x10]
call fcn.004a44ec
inc dword [ebp - 0x9c]
mov edx, dword [eax]
lea ecx, [ebp - 0xcc]
mov eax, dword [ebp - 0xbc]
call fcn.00451910
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004a4690
push 0x104
lea ecx, [ebp - 0x1d0]
push ecx
call sub.KERNEL32.DLL_GetSystemDirectoryA
lea eax, [ebp - 0x20]
call fcn.00401af8
push eax
inc dword [ebp - 0x9c]
mov edx, str.RSACi.rat
lea eax, [ebp - 0x1c]
call fcn.004a44ec
inc dword [ebp - 0x9c]
lea edx, [ebp - 0x1c]
push edx
lea edx, [ebp - 0x1d0]
lea eax, [ebp - 0x18]
call fcn.004a44ec
inc dword [ebp - 0x9c]
pop edx
pop ecx
call fcn.004a46e8
lea eax, [ebp - 0x20]
push dword [eax]
mov word [ebp - 0xa8], 0x44
mov edx, str.FileName0
lea eax, [ebp - 0x14]
call fcn.004a44ec
inc dword [ebp - 0x9c]
mov edx, dword [eax]
mov eax, dword [ebp - 0xbc]
pop ecx
call fcn.00451828
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.004a4690
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004a4690
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.004a4690
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004a4690
mov eax, dword [ebp - 0xbc]
call fcn.00451188
mov word [ebp - 0xa8], 0x50
mov edx, str.SOFTWAREMicrosoftWindowsCurrentVersionpoliciesRatings.Default
lea eax, [ebp - 0x24]
call fcn.004a44ec
inc dword [ebp - 0x9c]
mov edx, dword [eax]
mov cl, 1
mov eax, dword [ebp - 0xbc]
call fcn.004512fc
cmp al, 1
setne dl
and edx, 1
push edx
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.004a4690
pop ecx
test cl, cl
je 0x408cfc
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x408ce8
mov edx, dword [ebp - 0x2c]
mov ecx, dword [edx]
mov dword [ebp - 0x28], ecx
mov word [ebp - 0xa8], 0x68
mov edx, 3
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0xa8], 0x5c
xor eax, eax
mov edx, dword [ebp - 0xb8]
mov dword fs:[0], edx
jmp 0x4092f2
mov word [ebp - 0xa8], 0x74
mov edx, str.Allow_Unknowns
lea eax, [ebp - 0x30]
call fcn.004a44ec
inc dword [ebp - 0x9c]
mov edx, dword [eax]
mov ecx, 1
mov eax, dword [ebp - 0xbc]
call fcn.004518cc
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.004a4690
mov word [ebp - 0xa8], 0x80
mov edx, str.PleaseMom
lea eax, [ebp - 0x34]
call fcn.004a44ec
inc dword [ebp - 0x9c]
mov edx, dword [eax]
xor ecx, ecx
mov eax, dword [ebp - 0xbc]
call fcn.004518cc
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.004a4690
mov word [ebp - 0xa8], 0x8c
mov edx, str.Enabled
lea eax, [ebp - 0x38]
call fcn.004a44ec
inc dword [ebp - 0x9c]
mov edx, dword [eax]
mov ecx, 1
mov eax, dword [ebp - 0xbc]
call fcn.004518cc
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.004a4690
mov eax, dword [ebp - 0xbc]
call fcn.00451188
mov word [ebp - 0xa8], 0x98
mov edx, str.SOFTWAREMicrosoftWindowsCurrentVersionpoliciesRatings.Defaulthttp:__www.rsac.org_ratingsv01.html
lea eax, [ebp - 0x3c]
call fcn.004a44ec
inc dword [ebp - 0x9c]
mov edx, dword [eax]
mov cl, 1
mov eax, dword [ebp - 0xbc]
call fcn.004512fc
cmp al, 1
setne dl
and edx, 1
push edx
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.004a4690
pop ecx
test cl, cl
je 0x408e5d
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
je 0x408e49
mov edx, dword [ebp - 0x44]
mov ecx, dword [edx]
mov dword [ebp - 0x40], ecx
mov word [ebp - 0xa8], 0xb0
mov edx, 3
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0xa8], 0xa4
xor eax, eax
mov edx, dword [ebp - 0xb8]
mov dword fs:[0], edx
jmp 0x4092f2
mov word [ebp - 0xa8], 0xbc
mov edx, str.vslns
lea eax, [ebp - 0x48]
call fcn.004a44ec
inc dword [ebp - 0x9c]
mov edx, dword [eax]
mov ecx, 4
mov eax, dword [ebp - 0xbc]
call fcn.004518cc
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004a4690
mov word [ebp - 0xa8], 0xc8
mov edx, 0x5c15e5
lea eax, [ebp - 0x4c]
call fcn.004a44ec
inc dword [ebp - 0x9c]
mov edx, dword [eax]
mov ecx, 4
mov eax, dword [ebp - 0xbc]
call fcn.004518cc
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x4c]
mov edx, 2
call fcn.004a4690
mov word [ebp - 0xa8], 0xd4
mov edx, 0x5c15e7
lea eax, [ebp - 0x50]
call fcn.004a44ec
inc dword [ebp - 0x9c]
mov edx, dword [eax]
mov ecx, 4
mov eax, dword [ebp - 0xbc]
call fcn.004518cc
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x50]
mov edx, 2
call fcn.004a4690
mov word [ebp - 0xa8], 0xe0
mov edx, 0x5c15e9
lea eax, [ebp - 0x54]
call fcn.004a44ec
inc dword [ebp - 0x9c]
mov edx, dword [eax]
mov ecx, 4
mov eax, dword [ebp - 0xbc]
call fcn.004518cc
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x54]
mov edx, 2
call fcn.004a4690
mov eax, dword [ebp - 0xbc]
call fcn.00451188
mov word [ebp - 0xa8], 0xec
mov edx, 0x5c15eb
lea eax, [ebp - 0x58]
call fcn.004a44ec
inc dword [ebp - 0x9c]
mov edx, dword [eax]
mov cl, 1
mov eax, dword [ebp - 0xbc]
call fcn.004512fc
cmp al, 1
setne dl
and edx, 1
push edx
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x58]
mov edx, 2
call fcn.004a4690
pop ecx
test cl, cl
je 0x409002
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
je 0x408fee
mov edx, dword [ebp - 0x60]
mov ecx, dword [edx]
mov dword [ebp - 0x5c], ecx
mov word [ebp - 0xa8], 0x104
mov edx, 3
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0xa8], 0xf8
xor eax, eax
mov edx, dword [ebp - 0xb8]
mov dword fs:[0], edx
jmp 0x4092f2
mov eax, dword [ebp - 0xbc]
call fcn.00451188
mov word [ebp - 0xa8], 0x110
mov edx, 0x5c1631
lea eax, [ebp - 0x64]
call fcn.004a44ec
inc dword [ebp - 0x9c]
mov edx, dword [eax]
mov cl, 1
mov eax, dword [ebp - 0xbc]
call fcn.004512fc
cmp al, 1
setne dl
and edx, 1
push edx
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x64]
mov edx, 2
call fcn.004a4690
pop ecx
test cl, cl
je 0x4090a3
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x40908f
mov edx, dword [ebp - 0x6c]
mov ecx, dword [edx]
mov dword [ebp - 0x68], ecx
mov word [ebp - 0xa8], 0x128
mov edx, 3
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0xa8], 0x11c
xor eax, eax
mov edx, dword [ebp - 0xb8]
mov dword fs:[0], edx
jmp 0x4092f2
mov eax, dword [ebp - 0xbc]
call fcn.00451188
mov word [ebp - 0xa8], 0x134
mov edx, 0x5c1680
lea eax, [ebp - 0x70]
call fcn.004a44ec
inc dword [ebp - 0x9c]
mov edx, dword [eax]
mov cl, 1
mov eax, dword [ebp - 0xbc]
call fcn.004512fc
cmp al, 1
setne dl
and edx, 1
push edx
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x70]
mov edx, 2
call fcn.004a4690
pop ecx
test cl, cl
je 0x409144
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
je 0x409130
mov edx, dword [ebp - 0x78]
mov ecx, dword [edx]
mov dword [ebp - 0x74], ecx
mov word [ebp - 0xa8], 0x14c
mov edx, 3
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0xa8], 0x140
xor eax, eax
mov edx, dword [ebp - 0xb8]
mov dword fs:[0], edx
jmp 0x4092f2
mov word [ebp - 0xa8], 0x158
mov edx, str.dwFlags
lea eax, [ebp - 0x7c]
call fcn.004a44ec
inc dword [ebp - 0x9c]
mov edx, dword [eax]
xor ecx, ecx
mov eax, dword [ebp - 0xbc]
call fcn.004518cc
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x7c]
mov edx, 2
call fcn.004a4690
mov word [ebp - 0xa8], 0x164
mov edx, str.errLine
lea eax, [ebp - 0x80]
call fcn.004a44ec
inc dword [ebp - 0x9c]
mov edx, dword [eax]
xor ecx, ecx
mov eax, dword [ebp - 0xbc]
call fcn.004518cc
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x80]
mov edx, 2
call fcn.004a4690
mov eax, dword [ebp - 0xbc]
call fcn.00451188
mov word [ebp - 0xa8], 0x170
mov edx, 0x5c16e1
lea eax, [ebp - 0x84]
call fcn.004a44ec
inc dword [ebp - 0x9c]
mov edx, dword [eax]
mov cl, 1
mov eax, dword [ebp - 0xbc]
call fcn.004512fc
cmp al, 1
setne dl
and edx, 1
push edx
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x84]
mov edx, 2
call fcn.004a4690
pop ecx
test cl, cl
je 0x409273
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0
je 0x409262
mov edx, dword [ebp - 0x8c]
mov ecx, dword [edx]
mov dword [ebp - 0x88], ecx
mov word [ebp - 0xa8], 0x188
mov edx, 3
mov eax, dword [ebp - 0x8c]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0xa8], 0x17c
xor eax, eax
mov edx, dword [ebp - 0xb8]
mov dword fs:[0], edx
jmp 0x4092f2
mov ecx, dword [ebp - 0xbc]
mov dword [ebp - 0x94], ecx
cmp dword [ebp - 0x94], 0
je 0x4092b8
mov eax, dword [ebp - 0x94]
mov edx, dword [eax]
mov dword [ebp - 0x90], edx
mov word [ebp - 0xa8], 0x1a0
mov edx, 3
mov eax, dword [ebp - 0x94]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0xa8], 0x194
mov al, 1
mov edx, dword [ebp - 0xb8]
mov dword fs:[0], edx
jmp 0x4092f2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret