Function at 0x41b1fb
Capabilities:
Get common file path
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14c
mov eax, dword [0x4343f0]
xor eax, esp
mov dword [esp + 0x148], eax
push ebx
push esi
push edi
xor ebx, ebx
push 0xff
lea eax, [esp + 0x55]
push ebx
push eax
mov edi, edx
mov esi, ecx
mov byte [esp + 0x5c], bl
call fcn.0040a3e0
add esp, 0xc
mov dword [esp + 0x24], ebx
mov dword [esp + 0x14], ebx
call fcn.004211db
test eax, eax
jne 0x41bd98
push ebx
push ebx
inc ebx
push ebx
push ebx
push edi
push esi
xor esi, esi
push esi
mov dword [esp + 0x2c], ebx
call dword [sym.imp.libav.dll_Ordinal_44284]
add esp, 0x1c
mov dword [0x437de8], eax
test eax, eax
jne 0x41b27a
push str._Cant_parse_command_line_options_n
call fcn.00421722
pop ecx
jmp 0x41b589
lea eax, [esp + 0x50]
push eax
push esi
push esi
call fcn.0041bdd7
neg eax
sbb eax, eax
and eax, 7
add eax, 0x1c
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
push 0x42fb30
mov edi, 0x100
lea eax, [esp + 0x54]
push edi
push eax
call fcn.004022ba
add esp, 0xc
call fcn.0041bead
push eax
lea eax, [esp + 0x54]
push edi
push eax
call fcn.004022ba
add esp, 0xc
lea eax, [esp + 0x50]
push eax
push edi
mov edi, 0x437bc0
push edi
call fcn.00401e1c
add esp, 0xc
push str.RPCA.conf
push 0x100
push edi
call fcn.004022ba
add esp, 0xc
lea eax, [esp + 0x50]
push eax
mov edi, 0x100
push edi
push 0x437cc0
call fcn.00401e1c
add esp, 0xc
push str.database
push edi
push 0x437cc0
call fcn.004022ba
mov edi, dword [sym.imp.libav.dll_Ordinal_44283]
add esp, 0xc
push str.help
push dword [0x437de8]
call edi
pop ecx
pop ecx
cmp dword [eax + 0x18], esi
je 0x41b349
call fcn.0041be53
push dword [0x437de8]
call dword [sym.imp.libav.dll_Ordinal_44285]
pop ecx
xor eax, eax
jmp 0x41b58b
push str.debug
push dword [0x437de8]
call edi
pop ecx
pop ecx
cmp dword [eax + 0x18], esi
je 0x41b364
mov word [0x436354], bx
push 0x437bc0
call fcn.0041ac4e
pop ecx
push dword [0x437de8]
mov dword [esp + 0x1c], eax
push esi
push ebx
push ebx
push esi
push esi
push 0x437bc0
call dword [sym.imp.libav.dll_Ordinal_44284]
add esp, 0x1c
mov dword [0x437de8], eax
test eax, eax
jne 0x41b3bb
mov esi, dword [esp + 0x18]
push esi
push str.ERROR:_Cant_open_parse_the_config_file__s_n
call fcn.0040175d
add eax, 0x40
push eax
call fcn.00401cf1
add esp, 0xc
push esi
call fcn.00401426
jmp 0x41b274
push dword [esp + 0x18]
call fcn.00401426
mov dword [esp], str.version
push dword [0x437de8]
call edi
pop ecx
pop ecx
cmp dword [eax + 0x18], esi
je 0x41b403
push str.DatabaseDirectory
push dword [0x437de8]
call edi
mov ecx, dword [eax + 8]
call fcn.00421230
push dword [0x437de8]
call dword [sym.imp.libav.dll_Ordinal_44285]
add esp, 0xc
jmp 0x41b342
push str.LogFileUnlock
push dword [0x437de8]
call edi
xor ecx, ecx
cmp dword [eax + 0x18], esi
push str.LogTime
push dword [0x437de8]
sete cl
mov word [0x4351b0], cx
call edi
mov ax, word [eax + 0x18]
push str.LogClean
push dword [0x437de8]
mov word [0x4364a8], ax
call edi
mov ax, word [eax + 0x18]
push str.LogFileMaxSize
push dword [0x437de8]
mov word [0x436464], ax
call edi
mov eax, dword [eax + 0x10]
push str.LogVerbose
push dword [0x437de8]
mov dword [0x4364b0], eax
call edi
mov ax, word [eax + 0x18]
add esp, 0x28
mov word [0x4364ac], ax
mov word [0x4364a4], ax
cmp dword [0x4364b0], esi
je 0x41b4a3
push str.LogRotate
push dword [0x437de8]
call edi
mov ax, word [eax + 0x18]
pop ecx
pop ecx
mov word [0x4364b4], ax
push str.SendBufTimeout
push dword [0x437de8]
call edi
mov ax, word [eax + 0x10]
push str.LogFile
push dword [0x437de8]
mov word [0x4351b4], ax
call edi
add esp, 0x10
cmp dword [eax + 0x18], esi
je 0x41b5a0
mov eax, dword [eax + 8]
mov dword [0x4364a0], eax
call fcn.0042118b
test eax, eax
jne 0x41b4fb
push str.ERROR:_LogFile_requires_full_path._n
call fcn.0040175d
add eax, 0x40
push eax
call fcn.00401cf1
pop ecx
pop ecx
jmp 0x41b543
lea ecx, [esp + 0x28]
call fcn.0041bef3
push 0x20
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.libav.dll_Ordinal_44209]
add esp, 0xc
push eax
push str._Started_at__s
call fcn.004216f0
pop ecx
pop ecx
test eax, eax
je 0x41b5a6
push str.ERROR:_Cant_initialize_the_internal_logger_n
call fcn.0040175d
add eax, 0x40
push eax
call fcn.00401cf1
pop ecx
pop ecx
mov dword [esp + 0x10], ebx
mov esi, dword [esp + 0x14]
test esi, esi
je 0x41b565
xor ebx, ebx
mov eax, dword [0x436460]
push dword [eax + ebx*4]
call dword [sym.imp.libav.dll_Ordinal_44331]
inc ebx
pop ecx
cmp ebx, esi
jb 0x41b54d
mov ebx, dword [esp + 0x10]
push dword [0x436460]
call fcn.00401426
pop ecx
call fcn.004216f3
push dword [0x437de8]
call dword [sym.imp.libav.dll_Ordinal_44285]
pop ecx
call dword [sym.imp.libav.dll_Ordinal_49]
mov eax, ebx
mov ecx, dword [esp + 0x154]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401276
mov esp, ebp
pop ebp
ret
mov dword [0x4364a0], esi
push str.DevLiblog
push dword [0x437de8]
call edi
pop ecx
pop ecx
cmp dword [eax + 0x18], esi
je 0x41b5c6
push 0x41d4de
call dword [sym.imp.libav.dll_Ordinal_33]
pop ecx
push esi
call dword [sym.imp.libav.dll_Ordinal_17]
pop ecx
test eax, eax
jne 0x41b53f
push str.Debug
push dword [0x437de8]
call edi
pop ecx
pop ecx
cmp dword [eax + 0x18], esi
je 0x41b5f9
call dword [sym.imp.libav.dll_Ordinal_6]
push 2
pop eax
mov word [0x4364a4], ax
push str.TCPSocket
push dword [0x437de8]
call edi
cmp dword [eax + 0x18], esi
mov ecx, esi
push str.LocalSocket
push dword [0x437de8]
cmovne ecx, ebx
mov dword [esp + 0x30], ecx
call edi
add esp, 0x10
cmp dword [eax + 0x18], esi
mov ecx, esi
cmovne ecx, ebx
cmp dword [esp + 0x20], esi
jne 0x41b638
test ecx, ecx
je 0x41b53f
push str.StreamMinPort
push dword [0x437de8]
call edi
mov eax, dword [eax + 0x10]
push str.StreamMaxPort
push dword [0x437de8]
mov dword [esp + 0x28], eax
call edi
mov ecx, dword [esp + 0x28]
mov eax, dword [eax + 0x10]
add esp, 0x10
cmp ecx, 0x400
jl 0x41b53f
cmp ecx, eax
jg 0x41b53f
cmp eax, 0xffff
jg 0x41b53f
call dword [sym.imp.libav.dll_Ordinal_11]
mov dword [0x436350], eax
test eax, eax
je 0x41b53f
push str.disable_cache
push dword [0x437de8]
call edi
pop ecx
pop ecx
cmp dword [eax + 0x18], esi
je 0x41b6bc
push esi
push ebx
push 0x18
push dword [0x436350]
call dword [sym.imp.libav.dll_Ordinal_12]
add esp, 0x10
push 0x1770
call dword [sym.imp.KERNEL32.dll_Sleep]
push str.DetectPUA
push dword [0x437de8]
call edi
pop ecx
pop ecx
cmp dword [eax + 0x18], esi
je 0x41b88f
or dword [0x43634c], 0x10
push str.ExcludePUA
push dword [0x437de8]
call edi
pop ecx
pop ecx
mov ecx, eax
xor eax, eax
mov dword [esp + 0x10], ecx
mov esi, eax
cmp dword [ecx + 0x18], eax
je 0x41b798
or dword [0x43634c], 0x200
mov edx, eax
mov dword [esp + 0x18], edx
mov ecx, dword [ecx + 8]
lea eax, [ecx + 1]
mov dword [esp + 0x1c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41b722
sub ecx, dword [esp + 0x1c]
lea eax, [ecx + 3]
add eax, edx
push eax
push esi
call fcn.0040220f
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x41b7c7
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
push dword [eax + 8]
add ecx, esi
push 0x42fce4
push ecx
call fcn.00401388
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov ecx, dword [eax + 8]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41b76a
sub ecx, edx
mov edx, dword [esp + 0x18]
inc edx
add edx, ecx
mov ecx, dword [esp + 0x10]
xor eax, eax
mov byte [edx + esi], al
mov ecx, dword [ecx + 0x28]
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], ecx
test ecx, ecx
jne 0x41b718
mov word [edx + esi], 0x2e
push str.IncludePUA
push dword [0x437de8]
call edi
mov edx, eax
xor eax, eax
pop ecx
pop ecx
mov dword [esp + 0x10], edx
cmp dword [edx + 0x18], eax
je 0x41b868
test esi, esi
je 0x41b7d8
push esi
call fcn.00401426
jmp 0x41b53e
push dword [0x436350]
call dword [sym.imp.libav.dll_Ordinal_9]
jmp 0x41b53e
or dword [0x43634c], 0x100
mov ecx, eax
mov dword [esp + 0x18], eax
mov edx, dword [edx + 8]
lea eax, [edx + 1]
mov dword [esp + 0x1c], eax
mov al, byte [edx]
inc edx
test al, al
jne 0x41b7f2
sub edx, dword [esp + 0x1c]
lea eax, [ecx + 3]
add eax, edx
push eax
push esi
call fcn.0040220f
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x41b53f
mov eax, dword [esp + 0x10]
push dword [eax + 8]
mov eax, dword [esp + 0x1c]
add eax, esi
push 0x42fce4
push eax
call fcn.00401388
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov edx, dword [eax + 8]
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x41b83a
sub edx, ecx
mov ecx, dword [esp + 0x18]
inc ecx
add ecx, edx
mov edx, dword [esp + 0x10]
xor eax, eax
mov byte [ecx + esi], al
mov edx, dword [edx + 0x28]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], edx
test edx, edx
jne 0x41b7e8
mov word [ecx + esi], 0x2e
test esi, esi
je 0x41b88d
push esi
push 6
push dword [0x436350]
call dword [sym.imp.libav.dll_Ordinal_13]
add esp, 0xc
push esi
test eax, eax
jne 0x41b7bd
call fcn.00401426
pop ecx
xor esi, esi
push str.StatsEnabled
push dword [0x437de8]
call edi
pop ecx
pop ecx
cmp dword [eax + 0x18], esi
je 0x41b8b0
push dword [0x436350]
call dword [sym.imp.libav.dll_Ordinal_70]
pop ecx
push str.StatsPEDisabled
push dword [0x437de8]
call edi
pop ecx
pop ecx
cmp dword [eax + 0x18], esi
je 0x41b8d7
push esi
push ebx
push 0x19
push dword [0x436350]
call dword [sym.imp.libav.dll_Ordinal_12]
add esp, 0x10
push str.StatsTimeout
push dword [0x437de8]
call edi
pop ecx
pop ecx
cmp dword [eax + 0x18], esi
je 0x41b90f
push str.StatsTimeout
push dword [0x437de8]
call edi
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x1a
push dword [0x436350]
call dword [sym.imp.libav.dll_Ordinal_12]
add esp, 0x18
push str.StatsHostID
push dword [0x437de8]
call edi
pop ecx
pop ecx
cmp dword [eax + 0x18], esi
je 0x41ba11
push str.StatsHostID
push dword [0x437de8]
call edi
mov eax, dword [eax + 8]
push 8
push str.default
push eax
mov dword [esp + 0x2c], eax
call fcn.00410e00
add esp, 0x14
test eax, eax
je 0x41ba11
push 5
push str.none
push dword [esp + 0x20]
call fcn.00410e00
add esp, 0xc
test eax, eax
jne 0x41b97e
push esi
push dword [0x436350]
call dword [sym.imp.libav.dll_Ordinal_46]
pop ecx
pop ecx
jmp 0x41b9fe
push 0xa
push str.anonymous
push dword [esp + 0x20]
call fcn.00410e00
add esp, 0xc
test eax, eax
jne 0x41b9af
push 9
pop ecx
mov esi, str.5b585e8f_3be5_11e3_bf0b_18037319526c
mov edi, 0x437dc0
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov edi, dword [sym.imp.libav.dll_Ordinal_44283]
xor esi, esi
jmp 0x41b9fe
mov ecx, dword [esp + 0x18]
mov edx, ecx
lea eax, [edx + 1]
mov dword [esp + 0x1c], eax
mov al, byte [edx]
inc edx
test al, al
jne 0x41b9bc
sub edx, dword [esp + 0x1c]
cmp edx, 0x24
jbe 0x41b9ed
push esi
push dword [0x436350]
call dword [sym.imp.libav.dll_Ordinal_42]
push dword [0x436350]
call dword [sym.imp.libav.dll_Ordinal_9]
add esp, 0xc
jmp 0x41b53f
mov edx, 0x437dc0
sub edx, ecx
mov al, byte [ecx]
mov byte [ecx + edx], al
inc ecx
test al, al
jne 0x41b9f4
push 0x41b16e
push dword [0x436350]
call dword [sym.imp.libav.dll_Ordinal_46]
pop ecx
pop ecx
push str.OfficialDatabaseOnly
push dword [0x437de8]
call edi
pop ecx
pop ecx
cmp dword [eax + 0x18], esi
je 0x41ba2f
or dword [0x43634c], 0x1000
push str.TemporaryDirectory
push dword [0x437de8]
call edi
pop ecx
pop ecx
cmp dword [eax + 0x18], esi
je 0x41ba5f
push dword [eax + 8]
push 0xd
push dword [0x436350]
call dword [sym.imp.libav.dll_Ordinal_13]
add esp, 0xc
test eax, eax
jne 0x41b53f
push 0x41d52d
push dword [0x436350]
call dword [sym.imp.libav.dll_Ordinal_34]
push str.LeaveTemporaryFiles
push dword [0x437de8]
call edi
add esp, 0x10
cmp dword [eax + 0x18], esi
je 0x41ba98
push esi
push ebx
push 0xe
push dword [0x436350]
call dword [sym.imp.libav.dll_Ordinal_12]
add esp, 0x10
push str.ForceToDisk
push dword [0x437de8]
call edi
pop ecx
pop ecx
cmp dword [eax + 0x18], esi
je 0x41babf
push esi
push ebx
push 0x17
push dword [0x436350]
call dword [sym.imp.libav.dll_Ordinal_12]
add esp, 0x10
push str.PhishingSignatures
push dword [0x437de8]
call edi
pop ecx
pop ecx
cmp dword [eax + 0x18], esi
je 0x41bada
or dword [0x43634c], 2
push str.Bytecode
push dword [0x437de8]
call edi
pop ecx
pop ecx
cmp dword [eax + 0x18], esi
je 0x41bc39
or dword [0x43634c], 0x2000
push str.BytecodeSecurity
push dword [0x437de8]
call edi
pop ecx
pop ecx
cmp dword [eax + 0x18], esi
je 0x41bb69
mov eax, dword [eax + 8]
push 0xc
push str.TrustSigned
push eax
mov dword [esp + 0x28], eax
call fcn.00410e00
add esp, 0xc
test eax, eax
jne 0x41bb2f
mov eax, ebx
jmp 0x41bb4d
push 9
push str.Paranoid
push dword [esp + 0x24]
call fcn.00410e00
add esp, 0xc
test eax, eax
jne 0x41b53f
push 2
pop eax
cdq
push edx
push eax
push 0xf
push dword [0x436350]
call dword [sym.imp.libav.dll_Ordinal_12]
add esp, 0x10
test eax, eax
jne 0x41b53f
push str.BytecodeUnsigned
push dword [0x437de8]
call edi
pop ecx
pop ecx
cmp dword [eax + 0x18], esi
je 0x41bb87
or dword [0x43634c], 0x8000
push str.BytecodeMode
push dword [0x437de8]
call edi
pop ecx
pop ecx
mov dword [esp + 0x1c], eax
cmp dword [eax + 0x18], esi
je 0x41bc0e
push 9
push str.ForceJIT
push dword [eax + 8]
call fcn.00410e00
add esp, 0xc
test eax, eax
jne 0x41bbb9
mov ecx, ebx
jmp 0x41bbf8
mov eax, dword [esp + 0x1c]
push 0x11
push str.ForceInterpreter
push dword [eax + 8]
call fcn.00410e00
add esp, 0xc
test eax, eax
jne 0x41bbd8
push 2
pop ecx
jmp 0x41bbf8
mov eax, dword [esp + 0x1c]
push 5
push str.Test
push dword [eax + 8]
call fcn.00410e00
add esp, 0xc
xor ecx, ecx
push 3
pop edx
test eax, eax
cmove ecx, edx
mov eax, ecx
cdq
push edx
push eax
push 0x11
push dword [0x436350]
call dword [sym.imp.libav.dll_Ordinal_12]
add esp, 0x10
push str.BytecodeTimeout
push dword [0x437de8]
call edi
pop ecx
pop ecx
cmp dword [eax + 0x18], esi
je 0x41bc39
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x10
push dword [0x436350]
call dword [sym.imp.libav.dll_Ordinal_12]
add esp, 0x10
push str.PhishingScanURLs
push dword [0x437de8]
call edi
pop ecx
pop ecx
cmp dword [eax + 0x18], esi
je 0x41bc54
or dword [0x43634c], 8
push str.DevACOnly
push dword [0x437de8]
call edi
pop ecx
pop ecx
cmp dword [eax + 0x18], esi
je 0x41bc7b
push esi
push ebx
push 0xa
push dword [0x436350]
call dword [sym.imp.libav.dll_Ordinal_12]
add esp, 0x10
push str.DevACDepth
push dword [0x437de8]
call edi
pop ecx
pop ecx
cmp dword [eax + 0x18], esi
je 0x41bca6
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0xc
push dword [0x436350]
call dword [sym.imp.libav.dll_Ordinal_12]
add esp, 0x10
push dword [0x43634c]
lea eax, [esp + 0x28]
push eax
push dword [0x436350]
push 0x437cc0
call dword [sym.imp.libav.dll_Ordinal_18]
add esp, 0x10
test eax, eax
jne 0x41b53f
push str.DisableCertCheck
push dword [0x437de8]
call edi
pop ecx
pop ecx
mov ecx, dword [0x436350]
cmp dword [eax + 0x18], esi
je 0x41bcf0
mov eax, dword [ecx + 0x70]
or dword [eax], 0x20000
push ecx
call dword [sym.imp.libav.dll_Ordinal_8]
pop ecx
test eax, eax
jne 0x41b53f
cmp dword [esp + 0x20], eax
je 0x41bd8b
push str.TCPAddr
push dword [0x437de8]
call edi
mov edi, eax
pop ecx
pop ecx
cmp dword [edi + 0x18], esi
je 0x41bd5c
mov esi, dword [edi + 8]
test esi, esi
je 0x41bd72
push 4
push 0x42feb0
push esi
call fcn.00410e00
xor ecx, ecx
test eax, eax
cmove esi, ecx
add esp, 8
lea edx, [esp + 0x18]
push esi
call fcn.0041fabc
pop ecx
pop ecx
cmp eax, 0xffffffff
je 0x41b53f
mov edi, dword [edi + 0x28]
test edi, edi
jne 0x41bd20
jmp 0x41bd72
push ecx
push esi
lea edx, [esp + 0x1c]
call fcn.0041fabc
pop ecx
pop ecx
cmp eax, 0xffffffff
je 0x41b53f
mov esi, dword [esp + 0x14]
test esi, esi
je 0x41bd8f
sub esp, 0xc
mov edx, esi
call fcn.0041e019
add esp, 0xc
mov ebx, eax
jmp 0x41bd8f
mov esi, dword [esp + 0x14]
mov dword [esp + 0x10], ebx
jmp 0x41b547
push 1
call fcn.00402868
int3