Function at 0x10071b20
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb60
mov eax, dword [0x10189710]
xor eax, esp
mov dword [esp + 0xb5c], eax
mov eax, dword [ebp + 8]
push esi
push edi
push 0x103
mov edi, ecx
lea ecx, [esp + 0x74d]
mov esi, edx
push 0
push ecx
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], eax
mov byte [esp + 0x754], 0
call fcn.1012e060
add esp, 0xc
push 0x207
lea edx, [esp + 0x95d]
push 0
push edx
mov byte [esp + 0x964], 0
call fcn.1012e060
add esp, 0xc
push 0x103
lea eax, [esp + 0x125]
push 0
push eax
mov byte [esp + 0x12c], 0
call fcn.1012e060
add esp, 0xc
push 0x103
lea ecx, [esp + 0x1d]
push 0
push ecx
mov byte [esp + 0x24], 0
call fcn.1012e060
add esp, 0xc
push 0x207
lea edx, [esp + 0x335]
push 0
push edx
mov byte [esp + 0x33c], 0
call fcn.1012e060
add esp, 0xc
test edi, edi
je 0x10071be7
mov byte [edi], 0
test esi, esi
je 0x10071bee
mov byte [esi], 0
test ebx, ebx
je 0x10071bf5
mov byte [ebx], 0
mov eax, dword [esp + 8]
test eax, eax
je 0x10071c00
mov byte [eax], 0
push 0x208
lea eax, [esp + 0x95c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x104
lea ecx, [esp + 0x74c]
lea edx, [esp + 0x95c]
call fcn.1005f370
add esp, 4
test eax, eax
je 0x10071c4a
lea ecx, [esp + 0x748]
push ecx
lea edx, [esp + 0x95c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0x120]
lea edx, [esp + 0x958]
call fcn.10060880
lea eax, [esp + 0x120]
push 0
push eax
call fcn.100612a0
add esp, 8
lea esi, [esp + 0x120]
call fcn.10065240
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
test edi, edi
je 0x10071cb8
lea ecx, [esp + 0x120]
push ecx
push edi
call esi
cmp byte [edi], 0
je 0x10071cb8
mov eax, edi
inc eax
cmp byte [eax], 0
jne 0x10071c97
sub eax, edi
je 0x10071cb8
cmp byte [eax + edi - 1], 0x5c
je 0x10071cb8
push 0x10158184
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
call edi
jmp 0x10071cbe
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x120]
push edx
lea eax, [esp + 0x1c]
push eax
call esi
cmp byte [esp + 0x18], 0
je 0x10071cf7
lea eax, [esp + 0x18]
inc eax
cmp byte [eax], 0
jne 0x10071cd8
lea ecx, [esp + 0x18]
sub eax, ecx
je 0x10071cf7
cmp byte [esp + eax + 0x17], 0x5c
je 0x10071cf7
push 0x10158184
mov edx, ecx
push edx
call edi
push str.MAILSCAN.INI
lea eax, [esp + 0x1c]
push eax
call edi
push 1
push 0
xor edx, edx
lea ecx, [esp + 0x20]
call fcn.10060eb0
add esp, 8
test eax, eax
jne 0x10071d35
push eax
lea ecx, [esp + 0x1c]
push str.escanbd
push ecx
call fcn.10063340
add esp, 0xc
cmp eax, 0xffffffff
je 0x10071f46
mov ecx, 0x104
lea edx, [esp + 0x330]
mov byte [esp + 0x18], 0
call fcn.10067a50
cmp byte [esp + 0x330], 0
je 0x10071d7e
lea edx, [esp + 0x330]
push edx
lea eax, [esp + 0x1c]
push eax
call esi
lea ecx, [esp + 0x18]
call fcn.10065200
push str.MAILSCAN.INI
lea ecx, [esp + 0x1c]
push ecx
call edi
jmp 0x10071edc
push 0x103
lea edx, [esp + 0x22d]
push 0
push edx
mov dword [esp + 0x1c], 0x104
mov byte [esp + 0x234], 0
call fcn.1012e060
add esp, 0xc
push 0x103
lea eax, [esp + 0x53d]
push 0
push eax
mov byte [esp + 0x544], 0
call fcn.1012e060
add esp, 0xc
push 0x103
lea ecx, [esp + 0x855]
push 0
push ecx
mov byte [esp + 0x85c], 0
call fcn.1012e060
add esp, 0xc
push 0x103
lea edx, [esp + 0x645]
push 0
push edx
mov byte [esp + 0x64c], 0
call fcn.1012e060
add esp, 0xc
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x860]
push ecx
lea edx, [esp + 0x654]
xor ecx, ecx
call fcn.10076200
test eax, eax
je 0x10071edc
lea edx, [esp + 0x640]
push edx
lea eax, [esp + 0x53c]
push str.SOFTWAREMicroWorldComponentWebscanCProducts_s
push eax
call fcn.10127dc0
add esp, 0xc
push str.Path
lea eax, [esp + 0x14]
lea edi, [esp + 0x22c]
lea ecx, [esp + 0x53c]
mov edx, reloc.WS2_32.dll_bind
call fcn.10059d80
cmp byte [esp + 0x228], 0
je 0x10071ed6
mov ecx, edi
push 0
push ecx
call fcn.100612a0
add esp, 8
test eax, eax
je 0x10071ed6
mov edx, edi
push edx
push 0x101b5708
call esi
mov eax, edi
push eax
lea ecx, [esp + 0x1c]
push ecx
mov dword [0x101b59b8], 0
call esi
lea ecx, [esp + 0x18]
call fcn.10065200
push str.MAILSCAN.INI
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 1
push 0
xor edx, edx
lea ecx, [esp + 0x20]
call fcn.10060eb0
add esp, 8
test eax, eax
je 0x10071ed6
mov byte [esp + 0x18], 0
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [esp + 8]
test eax, eax
je 0x10071eef
lea edx, [esp + 0x330]
push edx
push eax
call esi
mov eax, dword [esp + 0xc]
test eax, eax
je 0x10071eff
lea ecx, [esp + 0x18]
push ecx
push eax
call esi
test ebx, ebx
je 0x10071fd6
cmp byte [esp + 0x18], 0
je 0x10071f5a
lea edx, [esp + 0x18]
push edx
push 0x104
push ebx
push 0x1014d5e3
push str.ReportDirectory
push 0x10156244
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [ebx], 0
je 0x10071f5f
push 0
push ebx
call fcn.100612a0
add esp, 8
test eax, eax
jne 0x10071f5a
mov byte [ebx], al
jmp 0x10071f5f
lea eax, [esp + 0x120]
push eax
lea ecx, [esp + 0x334]
push ecx
call esi
jmp 0x10071edc
cmp byte [ebx], 0
jne 0x10071fcf
lea eax, [esp + 0x120]
push eax
push ebx
call esi
mov ecx, ebx
call fcn.10065200
push 0x101580bc
push ebx
call edi
push 0
push ebx
call fcn.100612a0
add esp, 8
test eax, eax
jne 0x10071fcf
cmp byte [esp + 0x330], al
je 0x10071fc4
lea ecx, [esp + 0x330]
push ecx
push ebx
call esi
mov ecx, ebx
call fcn.10065200
push 0x101580bc
push ebx
call edi
push 0
push ebx
call fcn.100612a0
add esp, 8
test eax, eax
jne 0x10071fcf
lea edx, [esp + 0x120]
push edx
jmp 0x10071fcc
lea eax, [esp + 0x120]
push eax
push ebx
call esi
mov esi, ebx
call fcn.10065240
mov ecx, dword [esp + 0xb64]
pop edi
pop esi
xor ecx, esp
call fcn.10127db1
mov esp, ebp
pop ebp
ret