Function at 0x4089e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe30
push ebx
push esi
push edi
mov eax, 0x5c2f10
call fcn.00496b84
mov dl, 1
mov eax, dword [0x450fb8]
call fcn.004510b8
mov dword [ebp - 0xbc], eax
mov edx, reloc.WSOCK32.DLL_bind
mov eax, dword [ebp - 0xbc]
call fcn.004a43f8
mov word [ebp - 0xa8], 8
mov word [ebp - 0xa8], 0x14
mov edx, 0x5bc49b
lea eax, [ebp - 4]
call fcn.004a448c
inc dword [ebp - 0x9c]
mov edx, dword [eax]
mov cl, 1
mov eax, dword [ebp - 0xbc]
call fcn.0045129c
cmp al, 1
setne dl
and edx, 1
push edx
dec dword [ebp - 0x9c]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004a4630
pop ecx
test cl, cl
je 0x408ab7
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x408aa3
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 0x40927a
mov esi, 0x4c160e
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, 0x5bc4d7
lea eax, [ebp - 0x10]
call fcn.004a448c
inc dword [ebp - 0x9c]
mov edx, dword [eax]
lea ecx, [ebp - 0xcc]
mov eax, dword [ebp - 0xbc]
call fcn.004518b0
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004a4630
push 0x104
lea ecx, [ebp - 0x1d0]
push ecx
call sub.KERNEL32.DLL_GetSystemDirectoryA
lea eax, [ebp - 0x20]
call fcn.00401ab4
push eax
inc dword [ebp - 0x9c]
mov edx, str.RSACi.rat
lea eax, [ebp - 0x1c]
call fcn.004a448c
inc dword [ebp - 0x9c]
lea edx, [ebp - 0x1c]
push edx
lea edx, [ebp - 0x1d0]
lea eax, [ebp - 0x18]
call fcn.004a448c
inc dword [ebp - 0x9c]
pop edx
pop ecx
call fcn.004a4688
lea eax, [ebp - 0x20]
push dword [eax]
mov word [ebp - 0xa8], 0x44
mov edx, str.FileName0
lea eax, [ebp - 0x14]
call fcn.004a448c
inc dword [ebp - 0x9c]
mov edx, dword [eax]
mov eax, dword [ebp - 0xbc]
pop ecx
call fcn.004517c8
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.004a4630
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004a4630
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.004a4630
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004a4630
mov eax, dword [ebp - 0xbc]
call fcn.00451128
mov word [ebp - 0xa8], 0x50
mov edx, str.SOFTWAREMicrosoftWindowsCurrentVersionpoliciesRatings.Default
lea eax, [ebp - 0x24]
call fcn.004a448c
inc dword [ebp - 0x9c]
mov edx, dword [eax]
mov cl, 1
mov eax, dword [ebp - 0xbc]
call fcn.0045129c
cmp al, 1
setne dl
and edx, 1
push edx
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.004a4630
pop ecx
test cl, cl
je 0x408c84
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x408c70
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 0x40927a
mov word [ebp - 0xa8], 0x74
mov edx, str.Allow_Unknowns
lea eax, [ebp - 0x30]
call fcn.004a448c
inc dword [ebp - 0x9c]
mov edx, dword [eax]
mov ecx, 1
mov eax, dword [ebp - 0xbc]
call fcn.0045186c
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.004a4630
mov word [ebp - 0xa8], 0x80
mov edx, str.PleaseMom
lea eax, [ebp - 0x34]
call fcn.004a448c
inc dword [ebp - 0x9c]
mov edx, dword [eax]
xor ecx, ecx
mov eax, dword [ebp - 0xbc]
call fcn.0045186c
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.004a4630
mov word [ebp - 0xa8], 0x8c
mov edx, str.Enabled
lea eax, [ebp - 0x38]
call fcn.004a448c
inc dword [ebp - 0x9c]
mov edx, dword [eax]
mov ecx, 1
mov eax, dword [ebp - 0xbc]
call fcn.0045186c
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.004a4630
mov eax, dword [ebp - 0xbc]
call fcn.00451128
mov word [ebp - 0xa8], 0x98
mov edx, str.SOFTWAREMicrosoftWindowsCurrentVersionpoliciesRatings.Defaulthttp:__www.rsac.org_ratingsv01.html
lea eax, [ebp - 0x3c]
call fcn.004a448c
inc dword [ebp - 0x9c]
mov edx, dword [eax]
mov cl, 1
mov eax, dword [ebp - 0xbc]
call fcn.0045129c
cmp al, 1
setne dl
and edx, 1
push edx
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.004a4630
pop ecx
test cl, cl
je 0x408de5
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
je 0x408dd1
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 0x40927a
mov word [ebp - 0xa8], 0xbc
mov edx, str.vslns
lea eax, [ebp - 0x48]
call fcn.004a448c
inc dword [ebp - 0x9c]
mov edx, dword [eax]
mov ecx, 4
mov eax, dword [ebp - 0xbc]
call fcn.0045186c
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004a4630
mov word [ebp - 0xa8], 0xc8
mov edx, 0x5bc5c1
lea eax, [ebp - 0x4c]
call fcn.004a448c
inc dword [ebp - 0x9c]
mov edx, dword [eax]
mov ecx, 4
mov eax, dword [ebp - 0xbc]
call fcn.0045186c
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x4c]
mov edx, 2
call fcn.004a4630
mov word [ebp - 0xa8], 0xd4
mov edx, 0x5bc5c3
lea eax, [ebp - 0x50]
call fcn.004a448c
inc dword [ebp - 0x9c]
mov edx, dword [eax]
mov ecx, 4
mov eax, dword [ebp - 0xbc]
call fcn.0045186c
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x50]
mov edx, 2
call fcn.004a4630
mov word [ebp - 0xa8], 0xe0
mov edx, 0x5bc5c5
lea eax, [ebp - 0x54]
call fcn.004a448c
inc dword [ebp - 0x9c]
mov edx, dword [eax]
mov ecx, 4
mov eax, dword [ebp - 0xbc]
call fcn.0045186c
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x54]
mov edx, 2
call fcn.004a4630
mov eax, dword [ebp - 0xbc]
call fcn.00451128
mov word [ebp - 0xa8], 0xec
mov edx, 0x5bc5c7
lea eax, [ebp - 0x58]
call fcn.004a448c
inc dword [ebp - 0x9c]
mov edx, dword [eax]
mov cl, 1
mov eax, dword [ebp - 0xbc]
call fcn.0045129c
cmp al, 1
setne dl
and edx, 1
push edx
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x58]
mov edx, 2
call fcn.004a4630
pop ecx
test cl, cl
je 0x408f8a
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
je 0x408f76
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 0x40927a
mov eax, dword [ebp - 0xbc]
call fcn.00451128
mov word [ebp - 0xa8], 0x110
mov edx, 0x5bc60d
lea eax, [ebp - 0x64]
call fcn.004a448c
inc dword [ebp - 0x9c]
mov edx, dword [eax]
mov cl, 1
mov eax, dword [ebp - 0xbc]
call fcn.0045129c
cmp al, 1
setne dl
and edx, 1
push edx
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x64]
mov edx, 2
call fcn.004a4630
pop ecx
test cl, cl
je 0x40902b
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x409017
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 0x40927a
mov eax, dword [ebp - 0xbc]
call fcn.00451128
mov word [ebp - 0xa8], 0x134
mov edx, 0x5bc65c
lea eax, [ebp - 0x70]
call fcn.004a448c
inc dword [ebp - 0x9c]
mov edx, dword [eax]
mov cl, 1
mov eax, dword [ebp - 0xbc]
call fcn.0045129c
cmp al, 1
setne dl
and edx, 1
push edx
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x70]
mov edx, 2
call fcn.004a4630
pop ecx
test cl, cl
je 0x4090cc
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
je 0x4090b8
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 0x40927a
mov word [ebp - 0xa8], 0x158
mov edx, str.dwFlags
lea eax, [ebp - 0x7c]
call fcn.004a448c
inc dword [ebp - 0x9c]
mov edx, dword [eax]
xor ecx, ecx
mov eax, dword [ebp - 0xbc]
call fcn.0045186c
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x7c]
mov edx, 2
call fcn.004a4630
mov word [ebp - 0xa8], 0x164
mov edx, str.errLine
lea eax, [ebp - 0x80]
call fcn.004a448c
inc dword [ebp - 0x9c]
mov edx, dword [eax]
xor ecx, ecx
mov eax, dword [ebp - 0xbc]
call fcn.0045186c
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x80]
mov edx, 2
call fcn.004a4630
mov eax, dword [ebp - 0xbc]
call fcn.00451128
mov word [ebp - 0xa8], 0x170
mov edx, 0x5bc6bd
lea eax, [ebp - 0x84]
call fcn.004a448c
inc dword [ebp - 0x9c]
mov edx, dword [eax]
mov cl, 1
mov eax, dword [ebp - 0xbc]
call fcn.0045129c
cmp al, 1
setne dl
and edx, 1
push edx
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x84]
mov edx, 2
call fcn.004a4630
pop ecx
test cl, cl
je 0x4091fb
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0
je 0x4091ea
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 0x40927a
mov ecx, dword [ebp - 0xbc]
mov dword [ebp - 0x94], ecx
cmp dword [ebp - 0x94], 0
je 0x409240
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 0x40927a
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret