Function at 0x10040160
Capabilities:
Get common file path
Read .ini file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x12bc
call fcn.10126240
mov eax, dword [0x1017455c]
xor eax, esp
mov dword [esp + 0x12b8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor ebx, ebx
push 0x103
lea ecx, [esp + 0x16d]
push ebx
push ecx
mov dword [esp + 0x1c], eax
mov byte [esp + 0x174], bl
call fcn.10116880
add esp, 0xc
push 0x103
lea edx, [esp + 0xdbd]
push ebx
push edx
mov byte [esp + 0xdc4], bl
call fcn.10116880
add esp, 0xc
push 0x103
lea eax, [esp + 0x58d]
push ebx
push eax
mov byte [esp + 0x594], bl
call fcn.10116880
add esp, 0xc
push 0x103
lea ecx, [esp + 0x485]
push ebx
push ecx
mov byte [esp + 0x48c], bl
call fcn.10116880
add esp, 0xc
push 0x207
lea edx, [esp + 0x79d]
push ebx
push edx
mov byte [esp + 0x7a4], bl
call fcn.10116880
add esp, 0xc
push 0x207
lea eax, [esp + 0xbb5]
push ebx
push eax
mov byte [esp + 0xbbc], bl
call fcn.10116880
add esp, 0xc
push 0x103
lea ecx, [esp + 0x37d]
push ebx
push ecx
mov byte [esp + 0x384], bl
call fcn.10116880
add esp, 0xc
push 0x103
lea edx, [esp + 0x9a5]
push ebx
push edx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
mov byte [esp + 0x9ac], bl
call fcn.10116880
add esp, 0xc
lea edi, [esp + 0x378]
mov dword [esp + 0x20], ebx
call fcn.10039e30
cmp eax, 1
jne 0x100404e5
xor eax, eax
lea ecx, [ecx]
mov cl, byte [esp + eax + 0x378]
mov byte [esp + eax + 0x9a0], cl
inc eax
cmp cl, bl
jne 0x100402a0
cmp byte [esp + 0x9a0], bl
je 0x100402eb
lea eax, [esp + 0x9a0]
inc eax
cmp byte [eax], bl
jne 0x100402c3
lea ecx, [esp + 0x9a0]
sub eax, ecx
je 0x100402eb
cmp byte [esp + eax + 0x99f], 0x5c
je 0x100402eb
push 0x10149ea8
mov edx, ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x9a0]
dec eax
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x100402f3
mov ecx, dword [str.eupdate.ini]
mov edx, dword [0x101494e4]
mov dword [eax], ecx
mov ecx, dword [0x101494e8]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
push 1
push ebx
xor edx, edx
lea ecx, [esp + 0x9a8]
call fcn.10044660
add esp, 8
test eax, eax
jne 0x100404e5
call fcn.1006c2f0
mov esi, eax
cmp dword [0x101936b4], ebx
je 0x1004034f
push esi
push str._UPD__SMBCorp:_d
push ebx
call fcn.10053700
add esp, 0xc
cmp esi, ebx
je 0x100404a0
push 0x103
lea edx, [esp + 0x37d]
push ebx
push edx
mov byte [esp + 0x384], bl
call fcn.10116880
add esp, 0xc
push 0x104
lea eax, [esp + 0x37c]
push eax
push 0x1013f817
mov edx, str.server
mov ecx, str.eScan
call fcn.100436c0
add esp, 0xc
cmp byte [esp + 0x378], 0x30
jne 0x100403ed
lea ecx, [esp + 0x9a0]
push ecx
push 0x104
lea edx, [esp + 0x278]
push edx
push 0x10151e40
push str.SecServer
push str.Config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [esp + 0x270], 0x31
jne 0x100403e4
mov edi, 1
mov dword [esp + 0x18], edi
jmp 0x100404b2
mov dword [esp + 0x18], ebx
jmp 0x100404b6
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x9a0]
push eax
push 0x104
lea ecx, [esp + 0x278]
push ecx
push 0x1013f817
push str.DownloadFromAnotherServer
push str.Config
call esi
cmp byte [esp + 0x270], 0x31
mov edi, 1
jne 0x1004049a
lea edx, [esp + 0x9a0]
push edx
push 0x104
lea eax, [esp + 0x278]
push eax
push 0x1013f817
push str.httphost
push str.Config
mov dword [esp + 0x34], edi
call esi
push str.mwti.
lea ecx, [esp + 0x274]
call fcn.10047020
add esp, 4
cmp eax, 0xffffffff
jne 0x100404b2
push str.escanav.
lea ecx, [esp + 0x274]
call fcn.10047020
add esp, 4
cmp eax, 0xffffffff
jne 0x100404b2
push str.microworldsystems.
lea ecx, [esp + 0x274]
call fcn.10047020
add esp, 4
jmp 0x100404b2
mov dword [esp + 0x24], edi
jmp 0x100404b2
call fcn.10040100
test eax, eax
je 0x100404b6
mov edi, 1
mov dword [esp + 0x14], edi
mov dword [esp + 0x20], edi
cmp dword [0x101936b4], ebx
je 0x100404e5
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x1c]
push eax
push ecx
push edx
push str._UPD__ISSSrvr:__d___PrimSrvr:__d___SecndSr:__d___UpdAgnt:__d___PUAvx:__d_
push ebx
call fcn.10053700
add esp, 0x1c
mov eax, dword [esp + 0x10]
lea edx, [esp + 0xbb0]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x100404f2
cmp byte [esp + 0xbb0], bl
je 0x10040538
lea eax, [esp + 0xbb0]
lea esp, [esp]
inc eax
cmp byte [eax], bl
jne 0x10040510
lea ecx, [esp + 0xbb0]
sub eax, ecx
je 0x10040538
cmp byte [esp + eax + 0xbaf], 0x5c
je 0x10040538
push 0x10149ea8
mov edx, ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0xbb0]
dec eax
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x10040540
mov ecx, dword [str.plugins]
mov edx, dword [0x10150300]
mov dword [eax], ecx
mov dword [eax + 4], edx
lea eax, [esp + 0x168]
push eax
call fcn.10069280
cmp byte [esp + 0x168], bl
jne 0x10040595
lea ecx, [esp + 0x168]
push str.__ESCANDRIVE__pub_avx
push ecx
call fcn.1010d6a8
add esp, 8
push 1
lea edx, [esp + 0x16c]
push edx
call sym.EncDec.dll_IsItEnvStringType
jmp 0x100405b0
push ebx
push str._avx
lea eax, [esp + 0x170]
push str.update
push eax
call fcn.10047ed0
add esp, 0x10
cmp dword [0x101936b4], ebx
je 0x100405ce
lea ecx, [esp + 0x168]
push ecx
push str._UPD__PubAVX__Folder___s_
push ebx
call fcn.10053700
add esp, 0xc
lea edx, [esp + 0x168]
push ebx
push edx
call fcn.10044cc0
add esp, 8
mov edi, eax
cmp dword [esp + 0x20], ebx
jne 0x100406ea
push str.:pub_avx
lea ecx, [esp + 0x16c]
call fcn.10047020
add esp, 4
cmp eax, 0xffffffff
je 0x100406ea
lea esi, [esp + 0x168]
call fcn.10049c80
mov al, byte [esp + 0x168]
xor edx, edx
cmp al, bl
je 0x100407b9
mov ecx, esi
cmp al, 0x5c
jne 0x1004062c
inc edx
mov al, byte [ecx + 1]
inc ecx
cmp al, bl
jne 0x10040627
cmp edx, 2
jl 0x100407b9
push str._avx
lea ecx, [esp + 0x16c]
call fcn.10047020
add esp, 4
cmp eax, 0xffffffff
je 0x100407b9
xor eax, eax
lea esp, [esp]
mov cl, byte [esp + eax + 0x168]
mov byte [esp + eax + 0x690], cl
inc eax
cmp cl, bl
jne 0x10040660
lea eax, [esp + 0x690]
push 0x5c
push eax
call fcn.1010e930
add esp, 8
cmp eax, ebx
je 0x100407b9
mov byte [eax], bl
cmp dword [0x101936b4], ebx
je 0x100406d0
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
push ebx
push ecx
mov ecx, dword [esp + 0x1c]
push edx
push eax
push ecx
push str._UPD__B__SOHOSrvr:__d___PrimSrvr:__d___ScndSrvr:__d___UpdAgnt:__d___PubAvxNeeded:__d_
push ebx
call fcn.10053700
add esp, 0x1c
lea edx, [esp + 0x690]
push edx
push str._UPD__Removing_PubFolder:__s_
push ebx
call fcn.10053700
add esp, 0xc
push ebx
push ebx
push ebx
push ebx
push 1
push ebx
push ebx
lea eax, [esp + 0x6ac]
push eax
call fcn.100468d0
jmp 0x10040e5f
cmp edi, ebx
jne 0x100407b9
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x168]
push ecx
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x20]
push ecx
push edx
push eax
push str._UPD__A__SOHOSrvr:__d___PrimSrvr:__d___ScndSrvr:__d___UpdAgnt:__d___PubAvxNeeded:__d___PubAvx:__s_
push ebx
call fcn.10053700
mov ecx, 0x1013f817
lea esi, [esp + 0x188]
call fcn.10048270
mov ecx, esi
push ebx
push ecx
call fcn.10044cc0
add esp, 0x28
cmp eax, 1
jne 0x10040e5f
push ebx
mov edx, esi
mov esi, dword [esp + 0x14]
push eax
push edx
mov edx, str.bdcore
mov ecx, esi
call fcn.10048680
push ebx
push 1
lea eax, [esp + 0x170]
push eax
mov edx, str.avc3
mov ecx, esi
call fcn.10048680
push ebx
push 1
lea ecx, [esp + 0x170]
push ecx
mov edx, str..avc3
mov ecx, esi
call fcn.10048680
push ebx
push 1
lea edx, [esp + 0x170]
push edx
mov edx, str.update.bin
mov ecx, esi
call fcn.10048680
push ebx
push 1
lea eax, [esp + 0x170]
push eax
mov edx, str.avcuf
mov ecx, esi
call fcn.10048680
mov edi, esi
jmp 0x100407c6
cmp edi, 1
jne 0x10040e5f
mov edi, dword [esp + 0x10]
lea ecx, [esp + 0x168]
push ecx
lea edx, [esp + 0x58c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp byte [esp + 0x588], bl
je 0x10040818
lea eax, [esp + 0x588]
lea esp, [esp]
inc eax
cmp byte [eax], bl
jne 0x100407f0
lea ecx, [esp + 0x588]
sub eax, ecx
je 0x10040818
cmp byte [esp + eax + 0x587], 0x5c
je 0x10040818
push 0x10149ea8
mov edx, ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push str.plugins
lea eax, [esp + 0x58c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [esp + 0x588]
push ebx
push ecx
call fcn.10044cc0
add esp, 8
test eax, eax
jne 0x10040893
mov ecx, 0x1013f817
lea esi, [esp + 0x588]
call fcn.10048270
mov edx, esi
push ebx
push edx
call fcn.10044cc0
add esp, 8
cmp eax, 1
jne 0x10040893
lea eax, [esp + 0x168]
push eax
push str.plugins
mov ecx, edi
call fcn.10048540
push ebx
mov ecx, 0x10151ff0
mov ebx, esi
call fcn.10048370
add esp, 0xc
mov ecx, esi
call fcn.1003fe50
mov edi, dword [esp + 0x10]
xor ebx, ebx
lea ecx, [esp + 0x588]
call fcn.1003fe50
lea ecx, [esp + 0xbb0]
call fcn.1003fe50
cmp dword [0x101936b4], ebx
je 0x100408ca
lea ecx, [esp + 0x168]
push ecx
push edi
push str._UPD__InstallToPubAvx_A__BDC___s__Folder___s_
push ebx
call fcn.10053700
add esp, 0x10
lea edx, [esp + 0xdb8]
push edx
lea eax, [esp + 0x16c]
push eax
push edi
call sym.EncDec.dll_InstallToPubAvx
cmp dword [0x101936b4], ebx
je 0x100408ff
lea ecx, [esp + 0xdb8]
push ecx
push eax
push str._UPD__InstallToPubAvx_A_Returns__u__LocalErr___s_
push ebx
call fcn.10053700
add esp, 0x10
push edi
lea edx, [esp + 0x79c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp byte [esp + 0x798], bl
je 0x1004094c
lea eax, [esp + 0x798]
mov edi, edi
inc eax
cmp byte [eax], bl
jne 0x10040920
lea ecx, [esp + 0x798]
sub eax, ecx
je 0x1004094c
cmp byte [esp + eax + 0x797], 0x5c
je 0x1004094c
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x10149ea8
mov edx, ecx
push edx
call edi
jmp 0x10040952
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push str.versions.dat
lea eax, [esp + 0x79c]
push eax
call edi
lea ecx, [esp + 0x28]
push 1
push ecx
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x7a0]
call fcn.10044660
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
add esp, 8
cmp eax, ebx
jne 0x10040b06
cmp dword [esp + 0x14], ebx
jbe 0x10040ae4
test byte [esp + 0x28], 7
je 0x100409a9
push 0x80
lea edx, [esp + 0x79c]
push edx
call esi
cmp byte [esp + 0x798], bl
je 0x10040e5f
push 0x103
lea eax, [esp + 0x2d]
push ebx
push eax
mov byte [esp + 0x34], bl
call fcn.10116880
add esp, 0xc
push 0x104
lea ecx, [esp + 0x2c]
push ecx
push 0x1013fc40
mov edx, str.UpdateOnlyAVC
mov ecx, str.eScan
call fcn.100436c0
add esp, 0xc
cmp byte [esp + 0x28], 0x31
jne 0x10040dcd
push 0x103
lea edx, [esp + 0x275]
push ebx
push edx
mov byte [esp + 0x27c], bl
call fcn.10116880
add esp, 0xc
push 0x103
lea eax, [esp + 0xaad]
push ebx
push eax
mov byte [esp + 0xab4], bl
call fcn.10116880
add esp, 0xc
push 0x103
lea ecx, [esp + 0x37d]
push ebx
push ecx
mov byte [esp + 0x384], bl
call fcn.10116880
add esp, 0xc
lea edx, [esp + 0x270]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
jne 0x10040a7a
push 0x10148094
lea eax, [esp + 0x274]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea esi, [esp + 0x270]
call fcn.10049c80
lea ecx, [esp + 0x798]
push 0x5c
push ecx
call fcn.1010e930
add esp, 8
cmp eax, ebx
je 0x10040b93
mov byte [eax], bl
xor eax, eax
jmp 0x10040ab0
mov cl, byte [esp + eax + 0x798]
mov byte [esp + eax + 0xaa8], cl
inc eax
cmp cl, bl
jne 0x10040ab0
lea ecx, [esp + 0xaa8]
call fcn.10049c40
lea eax, [esp + 0xaa8]
dec eax
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x10040ad7
jmp 0x10040bc8
test byte [esp + 0x28], 7
je 0x10040afa
push 0x80
lea eax, [esp + 0x79c]
push eax
call esi
lea eax, [esp + 0x798]
call fcn.10033960
mov ecx, dword [esp + 0x10]
push ecx
lea edx, [esp + 0x79c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0x798]
call fcn.10049c40
push str.plugins_versions.dat
lea eax, [esp + 0x79c]
push eax
call edi
lea ecx, [esp + 0x28]
push 1
push ecx
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x7a0]
call fcn.10044660
add esp, 8
test eax, eax
je 0x10040b5b
mov byte [esp + 0x798], bl
jmp 0x10040b71
test byte [esp + 0x28], 7
je 0x10040b71
push 0x80
lea edx, [esp + 0x79c]
push edx
call esi
cmp dword [esp + 0x14], ebx
ja 0x100409a9
lea eax, [esp + 0x798]
call fcn.10033960
mov byte [esp + 0x798], bl
jmp 0x10040e5f
mov eax, dword [esp + 0x10]
lea edx, [esp + 0xaa8]
sub edx, eax
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
cmp cl, bl
jne 0x10040ba0
lea ecx, [esp + 0xaa8]
call fcn.10049c40
lea eax, [esp + 0xaa8]
dec eax
mov edi, edi
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x10040bc0
mov edx, dword [str.versions.dat]
mov ecx, dword [0x101517bc]
mov dword [eax], edx
mov edx, dword [0x101517c0]
mov dword [eax + 4], ecx
mov cl, byte [0x101517c4]
mov dword [eax + 8], edx
mov byte [eax + 0xc], cl
xor eax, eax
lea ecx, [ecx]
mov cl, byte [esp + eax + 0x270]
mov byte [esp + eax + 0x378], cl
inc eax
cmp cl, bl
jne 0x10040bf0
lea ecx, [esp + 0x378]
call fcn.10049c40
lea eax, [esp + 0x378]
dec eax
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x10040c17
mov edx, dword [str.versions.dat]
mov ecx, dword [0x101517bc]
mov dword [eax], edx
mov edx, dword [0x101517c0]
mov dword [eax + 4], ecx
mov cl, byte [0x101517c4]
mov dword [eax + 8], edx
mov byte [eax + 0xc], cl
lea eax, [esp + 0x378]
call fcn.10033960
push 1
push ebx
xor edx, edx
lea ecx, [esp + 0xab0]
call fcn.10044660
add esp, 8
test eax, eax
jne 0x10040e5f
lea edx, [esp + 0xaa8]
push edx
call fcn.100581b0
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x10040d62
push 0x103
lea eax, [esp + 0x695]
push ebx
push eax
mov byte [esp + 0x69c], bl
call fcn.10116880
add esp, 0xc
push 0x102
mov eax, esi
lea ecx, [esp + 0x694]
call fcn.10046580
add esp, 4
test eax, eax
je 0x10040d59
nop
lea ecx, [esp + 0x690]
push ecx
call fcn.100454f0
add esp, 4
cmp byte [esp + 0x690], bl
je 0x10040d3b
push str.update.
lea ecx, [esp + 0x694]
call fcn.10047020
add esp, 4
cmp eax, 0xffffffff
jne 0x10040d24
push 0x10152074
lea ecx, [esp + 0x694]
call fcn.10047020
add esp, 4
cmp eax, 0xffffffff
jne 0x10040d24
push str.plugins
lea ecx, [esp + 0x694]
call fcn.10047020
add esp, 4
cmp eax, 0xffffffff
jne 0x10040d3b
lea edx, [esp + 0x690]
push edx
lea ecx, [esp + 0x37c]
call fcn.100462c0
add esp, 4
push 0x102
mov eax, esi
lea ecx, [esp + 0x694]
call fcn.10046580
add esp, 4
test eax, eax
jne 0x10040cc0
push esi
call fcn.1010f263
add esp, 4
push 1
push ebx
xor edx, edx
lea ecx, [esp + 0x380]
call fcn.10044660
add esp, 8
test eax, eax
jne 0x10040e5f
push ebx
push 1
lea eax, [esp + 0x170]
push eax
mov edx, str.versions.dat
lea ecx, [esp + 0x27c]
call fcn.10048680
push ebx
push 1
lea ecx, [esp + 0x170]
push ecx
mov edx, str.versions.sig
lea ecx, [esp + 0x27c]
call fcn.10048680
push ebx
push 1
lea edx, [esp + 0x170]
push edx
lea ecx, [esp + 0x27c]
jmp 0x10040e55
lea eax, [esp + 0x798]
push 0x5c
push eax
call fcn.1010e930
add esp, 8
push ebx
lea ecx, [esp + 0x16c]
push 1
mov edx, str.versions.dat
push ecx
cmp eax, ebx
je 0x10040e26
lea ecx, [esp + 0x7a4]
mov byte [eax], bl
call fcn.10048680
push ebx
push 1
lea edx, [esp + 0x170]
push edx
mov edx, str.versions.sig
lea ecx, [esp + 0x7a4]
call fcn.10048680
lea ecx, [esp + 0x798]
jmp 0x10040e4a
mov esi, dword [esp + 0x1c]
mov ecx, esi
call fcn.10048680
push ebx
push 1
lea edx, [esp + 0x170]
push edx
mov edx, str.versions.sig
mov ecx, esi
call fcn.10048680
mov ecx, esi
push ebx
push 1
lea eax, [esp + 0x170]
push eax
mov edx, str.versions.id
call fcn.10048680
call fcn.1006a170
test eax, eax
jne 0x10040fe9
mov ecx, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push ecx
lea edx, [esp + 0x484]
push edx
call esi
cmp byte [esp + 0x480], bl
je 0x10040ebd
lea eax, [esp + 0x480]
inc eax
cmp byte [eax], bl
jne 0x10040e91
lea ecx, [esp + 0x480]
sub eax, ecx
je 0x10040ebd
cmp byte [esp + eax + 0x47f], 0x5c
je 0x10040ebd
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x10149ea8
mov edx, ecx
push edx
call edi
jmp 0x10040ec3
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push str.AVCBACK
lea eax, [esp + 0x484]
push eax
call edi
lea ecx, [esp + 0x480]
push ebx
push ecx
call fcn.10044cc0
add esp, 8
cmp eax, 1
je 0x10040f4d
mov ecx, 0x1013f817
lea esi, [esp + 0x480]
call fcn.10048270
cmp eax, 1
jne 0x10040fbe
push 0x3ff
lea edx, [esp + 0xec5]
push ebx
push edx
mov byte [esp + 0xecc], bl
call fcn.10116880
add esp, 0xc
mov eax, esi
push eax
lea ecx, [esp + 0xec4]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0xec0]
call fcn.10049c40
push str.plugins
lea edx, [esp + 0xec4]
push edx
call edi
jmp 0x10040fad
push 0x3ff
lea eax, [esp + 0xec5]
push ebx
push eax
mov byte [esp + 0xecc], bl
call fcn.10116880
add esp, 0xc
lea ecx, [esp + 0x480]
push ecx
lea edx, [esp + 0xec4]
push edx
call esi
lea ecx, [esp + 0xec0]
call fcn.10049c40
push str.plugins
lea eax, [esp + 0xec4]
push eax
call edi
lea ecx, [esp + 0xec0]
push ebx
push ecx
call fcn.10044cc0
add esp, 8
cmp eax, 1
je 0x10040fbe
mov ecx, 0x1013f817
lea esi, [esp + 0xec0]
call fcn.10048270
lea edx, [esp + 0x480]
push ebx
push edx
call fcn.10044cc0
add esp, 8
cmp eax, 1
jne 0x10040fe9
push ebx
mov ecx, str..___
lea ebx, [esp + 0x484]
call fcn.10048370
add esp, 4
mov ecx, dword [esp + 0x12c4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1010d699
mov esp, ebp
pop ebp
ret 4