Function at 0x408a38
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe30
push ebx
push esi
push edi
mov eax, 0x5c5e78
call fcn.00496c14
mov dl, 1
mov eax, dword [0x451048]
call fcn.00451148
mov dword [ebp - 0xbc], eax
mov edx, reloc.WSOCK32.DLL_bind
mov eax, dword [ebp - 0xbc]
call fcn.004a4488
mov word [ebp - 0xa8], 8
mov word [ebp - 0xa8], 0x14
mov edx, 0x5bf41b
lea eax, [ebp - 4]
call fcn.004a451c
inc dword [ebp - 0x9c]
mov edx, dword [eax]
mov cl, 1
mov eax, dword [ebp - 0xbc]
call fcn.0045132c
cmp al, 1
setne dl
and edx, 1
push edx
dec dword [ebp - 0x9c]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004a46c0
pop ecx
test cl, cl
je 0x408b0f
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x408afb
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 0x4092d2
mov esi, 0x4c0811
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, 0x5bf457
lea eax, [ebp - 0x10]
call fcn.004a451c
inc dword [ebp - 0x9c]
mov edx, dword [eax]
lea ecx, [ebp - 0xcc]
mov eax, dword [ebp - 0xbc]
call fcn.00451940
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004a46c0
push 0x104
lea ecx, [ebp - 0x1d0]
push ecx
call sub.KERNEL32.DLL_GetSystemDirectoryA
lea eax, [ebp - 0x20]
call fcn.00401ad8
push eax
inc dword [ebp - 0x9c]
mov edx, str.RSACi.rat
lea eax, [ebp - 0x1c]
call fcn.004a451c
inc dword [ebp - 0x9c]
lea edx, [ebp - 0x1c]
push edx
lea edx, [ebp - 0x1d0]
lea eax, [ebp - 0x18]
call fcn.004a451c
inc dword [ebp - 0x9c]
pop edx
pop ecx
call fcn.004a4718
lea eax, [ebp - 0x20]
push dword [eax]
mov word [ebp - 0xa8], 0x44
mov edx, str.FileName0
lea eax, [ebp - 0x14]
call fcn.004a451c
inc dword [ebp - 0x9c]
mov edx, dword [eax]
mov eax, dword [ebp - 0xbc]
pop ecx
call fcn.00451858
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.004a46c0
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004a46c0
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.004a46c0
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004a46c0
mov eax, dword [ebp - 0xbc]
call fcn.004511b8
mov word [ebp - 0xa8], 0x50
mov edx, str.SOFTWAREMicrosoftWindowsCurrentVersionpoliciesRatings.Default
lea eax, [ebp - 0x24]
call fcn.004a451c
inc dword [ebp - 0x9c]
mov edx, dword [eax]
mov cl, 1
mov eax, dword [ebp - 0xbc]
call fcn.0045132c
cmp al, 1
setne dl
and edx, 1
push edx
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.004a46c0
pop ecx
test cl, cl
je 0x408cdc
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x408cc8
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 0x4092d2
mov word [ebp - 0xa8], 0x74
mov edx, str.Allow_Unknowns
lea eax, [ebp - 0x30]
call fcn.004a451c
inc dword [ebp - 0x9c]
mov edx, dword [eax]
mov ecx, 1
mov eax, dword [ebp - 0xbc]
call fcn.004518fc
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.004a46c0
mov word [ebp - 0xa8], 0x80
mov edx, str.PleaseMom
lea eax, [ebp - 0x34]
call fcn.004a451c
inc dword [ebp - 0x9c]
mov edx, dword [eax]
xor ecx, ecx
mov eax, dword [ebp - 0xbc]
call fcn.004518fc
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.004a46c0
mov word [ebp - 0xa8], 0x8c
mov edx, str.Enabled
lea eax, [ebp - 0x38]
call fcn.004a451c
inc dword [ebp - 0x9c]
mov edx, dword [eax]
mov ecx, 1
mov eax, dword [ebp - 0xbc]
call fcn.004518fc
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.004a46c0
mov eax, dword [ebp - 0xbc]
call fcn.004511b8
mov word [ebp - 0xa8], 0x98
mov edx, str.SOFTWAREMicrosoftWindowsCurrentVersionpoliciesRatings.Defaulthttp:__www.rsac.org_ratingsv01.html
lea eax, [ebp - 0x3c]
call fcn.004a451c
inc dword [ebp - 0x9c]
mov edx, dword [eax]
mov cl, 1
mov eax, dword [ebp - 0xbc]
call fcn.0045132c
cmp al, 1
setne dl
and edx, 1
push edx
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.004a46c0
pop ecx
test cl, cl
je 0x408e3d
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
je 0x408e29
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 0x4092d2
mov word [ebp - 0xa8], 0xbc
mov edx, str.vslns
lea eax, [ebp - 0x48]
call fcn.004a451c
inc dword [ebp - 0x9c]
mov edx, dword [eax]
mov ecx, 4
mov eax, dword [ebp - 0xbc]
call fcn.004518fc
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004a46c0
mov word [ebp - 0xa8], 0xc8
mov edx, 0x5bf541
lea eax, [ebp - 0x4c]
call fcn.004a451c
inc dword [ebp - 0x9c]
mov edx, dword [eax]
mov ecx, 4
mov eax, dword [ebp - 0xbc]
call fcn.004518fc
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x4c]
mov edx, 2
call fcn.004a46c0
mov word [ebp - 0xa8], 0xd4
mov edx, 0x5bf543
lea eax, [ebp - 0x50]
call fcn.004a451c
inc dword [ebp - 0x9c]
mov edx, dword [eax]
mov ecx, 4
mov eax, dword [ebp - 0xbc]
call fcn.004518fc
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x50]
mov edx, 2
call fcn.004a46c0
mov word [ebp - 0xa8], 0xe0
mov edx, 0x5bf545
lea eax, [ebp - 0x54]
call fcn.004a451c
inc dword [ebp - 0x9c]
mov edx, dword [eax]
mov ecx, 4
mov eax, dword [ebp - 0xbc]
call fcn.004518fc
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x54]
mov edx, 2
call fcn.004a46c0
mov eax, dword [ebp - 0xbc]
call fcn.004511b8
mov word [ebp - 0xa8], 0xec
mov edx, 0x5bf547
lea eax, [ebp - 0x58]
call fcn.004a451c
inc dword [ebp - 0x9c]
mov edx, dword [eax]
mov cl, 1
mov eax, dword [ebp - 0xbc]
call fcn.0045132c
cmp al, 1
setne dl
and edx, 1
push edx
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x58]
mov edx, 2
call fcn.004a46c0
pop ecx
test cl, cl
je 0x408fe2
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
je 0x408fce
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 0x4092d2
mov eax, dword [ebp - 0xbc]
call fcn.004511b8
mov word [ebp - 0xa8], 0x110
mov edx, 0x5bf58d
lea eax, [ebp - 0x64]
call fcn.004a451c
inc dword [ebp - 0x9c]
mov edx, dword [eax]
mov cl, 1
mov eax, dword [ebp - 0xbc]
call fcn.0045132c
cmp al, 1
setne dl
and edx, 1
push edx
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x64]
mov edx, 2
call fcn.004a46c0
pop ecx
test cl, cl
je 0x409083
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x40906f
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 0x4092d2
mov eax, dword [ebp - 0xbc]
call fcn.004511b8
mov word [ebp - 0xa8], 0x134
mov edx, 0x5bf5dc
lea eax, [ebp - 0x70]
call fcn.004a451c
inc dword [ebp - 0x9c]
mov edx, dword [eax]
mov cl, 1
mov eax, dword [ebp - 0xbc]
call fcn.0045132c
cmp al, 1
setne dl
and edx, 1
push edx
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x70]
mov edx, 2
call fcn.004a46c0
pop ecx
test cl, cl
je 0x409124
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
je 0x409110
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 0x4092d2
mov word [ebp - 0xa8], 0x158
mov edx, str.dwFlags
lea eax, [ebp - 0x7c]
call fcn.004a451c
inc dword [ebp - 0x9c]
mov edx, dword [eax]
xor ecx, ecx
mov eax, dword [ebp - 0xbc]
call fcn.004518fc
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x7c]
mov edx, 2
call fcn.004a46c0
mov word [ebp - 0xa8], 0x164
mov edx, str.errLine
lea eax, [ebp - 0x80]
call fcn.004a451c
inc dword [ebp - 0x9c]
mov edx, dword [eax]
xor ecx, ecx
mov eax, dword [ebp - 0xbc]
call fcn.004518fc
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x80]
mov edx, 2
call fcn.004a46c0
mov eax, dword [ebp - 0xbc]
call fcn.004511b8
mov word [ebp - 0xa8], 0x170
mov edx, 0x5bf63d
lea eax, [ebp - 0x84]
call fcn.004a451c
inc dword [ebp - 0x9c]
mov edx, dword [eax]
mov cl, 1
mov eax, dword [ebp - 0xbc]
call fcn.0045132c
cmp al, 1
setne dl
and edx, 1
push edx
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x84]
mov edx, 2
call fcn.004a46c0
pop ecx
test cl, cl
je 0x409253
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0
je 0x409242
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 0x4092d2
mov ecx, dword [ebp - 0xbc]
mov dword [ebp - 0x94], ecx
cmp dword [ebp - 0x94], 0
je 0x409298
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 0x4092d2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret