Function at 0x10065520
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x23c
mov eax, dword [0x1017455c]
xor eax, esp
mov dword [esp + 0x238], eax
mov eax, dword [esp + 0x244]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
push ebp
xor ebp, ebp
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x254]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x258]
push esi
push edi
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x34], ebp
cmp dword [0x101a26c4], ebp
jne 0x100656c3
push 0x103
lea edx, [esp + 0x149]
push ebp
push edx
mov byte [esp + 0x150], 0
call fcn.10116880
push 0x103
lea eax, [esp + 0x51]
push ebp
push eax
mov byte [esp + 0x58], 0
call fcn.10116880
add esp, 0x18
push 0x101a26c8
push str.DoNotLogToEventLog
mov ecx, str.SoftwareMicroWorld
mov edx, reloc.OLEAUT32.dll_SysReAllocString
mov dword [0x101a26c4], 1
call fcn.10031670
push 0x101a26cc
push str.LogAllEvents
mov ecx, str.SoftwareMicroWorld
mov edx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.10031670
lea edi, [esp + 0x144]
call fcn.10039e30
cmp eax, 1
je 0x10065614
mov ecx, edi
call fcn.10039fe0
lea ecx, [esp + 0x144]
push ecx
lea edx, [esp + 0x44]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp byte [esp + 0x40], 0
je 0x10065651
lea eax, [esp + 0x40]
inc eax
cmp byte [eax], 0
jne 0x10065632
lea ecx, [esp + 0x40]
sub eax, ecx
je 0x10065651
cmp byte [esp + eax + 0x3f], 0x5c
je 0x10065651
push 0x10149ea8
mov edx, ecx
push edx
call ebx
push str.vistaescanmon.lan
lea eax, [esp + 0x44]
push eax
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x40]
push ecx
push 0x104
push 0x101a23b0
push str.Description
push str.ColDescription
push str.eScanPro
call esi
lea edx, [esp + 0x40]
push edx
push 0x104
push 0x101a24b8
push str.Action
push str.ColAction
push str.eScanPro
call esi
lea eax, [esp + 0x40]
push eax
push 0x104
push 0x101a25c0
push str.Name
push str.ColName
push str.eScanPro
call esi
cmp dword [0x101a26c8], ebp
jne 0x100657f2
cmp dword [0x101a26cc], ebp
jne 0x100656f1
mov eax, dword [esp + 0x258]
cmp eax, 1
je 0x100656f1
cmp eax, 2
je 0x100656f1
cmp eax, 3
jne 0x100657f2
cmp dword [esp + 0x24], ebp
jne 0x10065707
cmp dword [esp + 0x2c], ebp
jne 0x10065707
cmp dword [esp + 0x20], ebp
je 0x100657f2
push 0x8000
call fcn.1010dced
push 0x8000
mov esi, eax
call fcn.1010dced
add esp, 8
mov ebp, eax
test esi, esi
je 0x100657e5
test ebp, ebp
je 0x100657dc
mov eax, dword [esp + 0x24]
mov byte [ebp], 0
mov byte [esi], 0
test eax, eax
je 0x10065766
cmp byte [eax], 0
je 0x10065766
push eax
push 0x101a23b0
push str._s_:__s
push ebp
call fcn.1010d6a8
add esp, 0x10
push ebp
push esi
call ebx
push 0x101563c8
push esi
call ebx
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x10065793
cmp byte [eax], 0
je 0x10065793
push eax
push 0x101a25c0
push str._s_:__s
push ebp
call fcn.1010d6a8
add esp, 0x10
push ebp
push esi
call ebx
push 0x101563c8
push esi
call ebx
mov eax, dword [esp + 0x20]
test eax, eax
je 0x100657c0
cmp byte [eax], 0
je 0x100657c0
push eax
push 0x101a24b8
push str._s_:__s
push ebp
call fcn.1010d6a8
add esp, 0x10
push ebp
push esi
call ebx
push 0x101563c8
push esi
call ebx
mov ecx, dword [esp + 0x250]
mov edi, dword [esp + 0x258]
mov eax, dword [esp + 0x30]
push ecx
push esi
call fcn.10065470
add esp, 8
push esi
call fcn.1010dc10
add esp, 4
test ebp, ebp
je 0x100657f2
push ebp
call fcn.1010dc10
add esp, 4
call fcn.100650f0
test eax, eax
je 0x10065844
test byte [0x101a3cac], 1
jne 0x10065815
or dword [0x101a3cac], 1
call fcn.1006d820
mov dword [0x101a3ca8], eax
cmp dword [0x101a3ca8], 0
jne 0x10065844
push 1
call fcn.100647a0
test eax, eax
je 0x10065844
push str.SendLogLineProc
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp + 0x38], eax
test eax, eax
jne 0x1006584b
push 2
call fcn.100647a0
xor eax, eax
jmp 0x10065a6e
mov esi, dword [esp + 0x30]
test esi, esi
je 0x1006588a
cmp byte [esi], 0
mov eax, esi
je 0x10065866
lea ebx, [ebx]
inc eax
cmp byte [eax], 0
jne 0x10065860
sub eax, esi
inc eax
push eax
call fcn.1010dced
add esp, 4
mov dword [esp + 0x28], eax
test eax, eax
je 0x10065a6a
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push esi
push eax
call edi
jmp 0x10065890
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov esi, dword [esp + 0x3c]
test esi, esi
je 0x100658c2
cmp byte [esi], 0
mov eax, esi
je 0x100658a6
nop
inc eax
cmp byte [eax], 0
jne 0x100658a0
sub eax, esi
inc eax
push eax
call fcn.1010dced
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
je 0x10065a15
push esi
push eax
call edi
mov esi, dword [esp + 0x24]
test esi, esi
je 0x100658f3
cmp byte [esi], 0
mov eax, esi
je 0x100658d7
inc eax
cmp byte [eax], 0
jne 0x100658d1
sub eax, esi
inc eax
push eax
call fcn.1010dced
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
je 0x10065a15
push esi
push eax
call edi
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x10065924
cmp byte [esi], 0
mov eax, esi
je 0x10065908
inc eax
cmp byte [eax], 0
jne 0x10065902
sub eax, esi
inc eax
push eax
call fcn.1010dced
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
je 0x10065a15
push esi
push eax
call edi
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x100659da
cmp byte [ebx], 0
mov eax, ebx
je 0x1006593d
inc eax
cmp byte [eax], 0
jne 0x10065937
sub eax, ebx
xor dl, dl
mov ebp, eax
mov byte [esp + 0x10], dl
mov byte [esp + 0x11], dl
lea edi, [esp + 0x10]
je 0x10065957
inc edi
cmp byte [edi], 0
jne 0x10065951
lea esi, [esp + 0x10]
test dl, dl
je 0x10065966
nop
inc esi
cmp byte [esi], 0
jne 0x10065960
lea ecx, [esp + 0x10]
test dl, dl
je 0x10065976
mov edi, edi
inc ecx
cmp byte [ecx], 0
jne 0x10065970
lea eax, [esp + 0x10]
test dl, dl
je 0x10065986
mov edi, edi
inc eax
cmp byte [eax], 0
jne 0x10065980
lea edx, [esp + 0x10]
add edx, edx
add edx, edx
sub eax, edx
add eax, ecx
add eax, esi
add eax, edi
lea eax, [eax + ebp + 0x22]
push eax
call fcn.1010dced
mov esi, eax
add esp, 4
test esi, esi
je 0x10065a19
cmp byte [esp + 0x10], 0
push ebx
jne 0x100659ba
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x100659de
lea ecx, [esp + 0x14]
push ecx
mov edx, ecx
push edx
mov eax, ecx
push eax
push ecx
push 0
push 0
push str.__u:_u___s_s_s_s___s
push esi
call fcn.1010d6a8
add esp, 0x24
jmp 0x100659de
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x264]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push edx
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x260]
push esi
push ecx
mov ecx, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x264]
push eax
push ecx
push edx
call dword [esp + 0x58]
mov dword [esp + 0x34], eax
jmp 0x10065a19
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
test eax, eax
je 0x10065a2a
push eax
call fcn.1010dc10
add esp, 4
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x10065a3b
push eax
call fcn.1010dc10
add esp, 4
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10065a4c
push eax
call fcn.1010dc10
add esp, 4
test esi, esi
je 0x10065a59
push esi
call fcn.1010dc10
add esp, 4
mov eax, dword [esp + 0x18]
test eax, eax
je 0x10065a6a
push eax
call fcn.1010dc10
add esp, 4
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x248]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1010d699
add esp, 0x23c
ret 0x18