Function at 0x4031d0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x581597
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x5e3efc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x118], ecx
mov byte [ebp - 0x110], 0
push 0xff
push 0
lea eax, [ebp - 0x10f]
push eax
call fcn.0055f580
add esp, 0xc
push 0x591fe3
lea ecx, [ebp - 0x11c]
call fcn.00402050
mov dword [ebp - 4], 0
push str._scanconfig.ini
lea ecx, [ebp - 0x120]
call fcn.00402050
mov byte [ebp - 4], 1
push 0x591fe3
lea ecx, [ebp - 0x114]
call fcn.00402050
mov byte [ebp - 4], 2
push 0x100
lea ecx, [ebp - 0x110]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [ebp - 0x110]
push edx
lea ecx, [ebp - 0x11c]
call fcn.00402710
push 0x5c
lea ecx, [ebp - 0x11c]
call fcn.00404860
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x124]
push eax
lea ecx, [ebp - 0x130]
push ecx
lea ecx, [ebp - 0x11c]
call fcn.00403740
mov dword [ebp - 0x128], eax
mov edx, dword [ebp - 0x128]
mov dword [ebp - 0x12c], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x11c]
call fcn.004026f0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x130]
call fcn.00402340
lea ecx, [ebp - 0x120]
push ecx
lea edx, [ebp - 0x11c]
push edx
lea eax, [ebp - 0x13c]
push eax
call fcn.00402740
add esp, 0xc
mov dword [ebp - 0x134], eax
mov ecx, dword [ebp - 0x134]
mov dword [ebp - 0x138], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x138]
push edx
lea ecx, [ebp - 0x114]
call fcn.004026f0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x13c]
call fcn.00402340
lea ecx, [ebp - 0x114]
call fcn.00402730
push eax
push 0
push str.ordering
push 0x591de0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x118]
mov dword [ecx + 0xd0], eax
lea ecx, [ebp - 0x114]
call fcn.00402730
push eax
push 0
push str.sring
push 0x591de0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 0x118]
mov dword [edx + 0xd4], eax
lea ecx, [ebp - 0x114]
call fcn.00402730
push eax
push 0
push 0x5927ac
push 0x591de0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x118]
mov dword [ecx + 0xd8], eax
lea ecx, [ebp - 0x114]
call fcn.00402730
push eax
push 0
push str.erps
push 0x591de0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 0x118]
mov dword [edx + 0xdc], eax
lea ecx, [ebp - 0x114]
call fcn.00402730
push eax
push 0
push str.badpacket
push 0x591ee0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x118]
mov dword [ecx + 0xe0], eax
lea ecx, [ebp - 0x114]
call fcn.00402730
push eax
push 1
push str.specifictype
push 0x591ee0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 0x118]
mov dword [edx + 0xe4], eax
lea ecx, [ebp - 0x114]
call fcn.00402730
push eax
push 3
push str.packetinterval
push 0x591ee0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x118]
mov dword [ecx + 0xe8], eax
lea ecx, [ebp - 0x114]
call fcn.00402730
push eax
push 3
push str.viewinterval
push 0x591ee0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 0x118]
mov dword [edx + 0xec], eax
lea ecx, [ebp - 0x114]
call fcn.00402730
push eax
push 6
push str.warningtime
push 0x591ee0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x118]
mov dword [ecx + 0xf0], eax
lea ecx, [ebp - 0x114]
call fcn.00402730
push eax
push 0xa
push str.deletetime
push 0x591ee0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 0x118]
mov dword [edx + 0xf4], eax
lea ecx, [ebp - 0x114]
call fcn.00402730
push eax
push 1
push str.autostop
push 0x591ee0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x118]
mov dword [ecx + 0x5f8], eax
lea ecx, [ebp - 0x114]
call fcn.00402730
push eax
push 0x14
push str.stoptime
push 0x591ee0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 0x118]
mov dword [edx + 0x5fc], eax
push 0
mov ecx, dword [ebp - 0x118]
call fcn.004244c8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x114]
call fcn.00402340
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x120]
call fcn.00402340
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x11c]
call fcn.00402340
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055d390
mov esp, ebp
pop ebp
ret