Function at 0x4138c1
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45f1ce
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x22c
push edi
mov dword [ebp - 0x234], ecx
push 1
mov ecx, dword [ebp - 0x234]
call fcn.00453d7d
mov dword [ebp - 0x230], 2
mov ecx, 0x479910
call fcn.00402270
push eax
mov eax, dword [ebp - 0x230]
push eax
push str.Copy_ScanMode
push 0x4735c0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x230], eax
lea ecx, [ebp - 0x2c]
call fcn.00402210
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00402210
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.00402210
mov byte [ebp - 4], 2
mov cl, byte [0x479720]
mov byte [ebp - 0x228], cl
mov ecx, 0x7c
xor eax, eax
lea edi, [ebp - 0x227]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x1f4
lea edx, [ebp - 0x228]
push edx
push 0x13e
mov ecx, 0x479934
call fcn.0041c0a1
lea eax, [ebp - 0x228]
push eax
push 0x4735cc
lea ecx, [ebp - 0x2c]
push ecx
call fcn.0044fdfe
add esp, 0xc
push 0x1f4
lea edx, [ebp - 0x228]
push edx
push 0x13f
mov ecx, 0x479934
call fcn.0041c0a1
lea eax, [ebp - 0x228]
push eax
push 0x4735d0
lea ecx, [ebp - 0x14]
push ecx
call fcn.0044fdfe
add esp, 0xc
push 0x1f4
lea edx, [ebp - 0x228]
push edx
push 0x140
mov ecx, 0x479934
call fcn.0041c0a1
lea eax, [ebp - 0x228]
push eax
push 0x4735d4
lea ecx, [ebp - 0x10]
push ecx
call fcn.0044fdfe
add esp, 0xc
lea ecx, [ebp - 0x28]
call fcn.004076a0
mov ecx, dword [ebp - 0x234]
call fcn.004028d0
mov dword [ebp - 0x22c], eax
mov edx, dword [ebp - 0x22c]
push edx
mov ecx, dword [ebp - 0x234]
add ecx, 0xb50
call fcn.00402700
mov eax, dword [ebp - 0x22c]
push eax
mov ecx, dword [ebp - 0x234]
call fcn.004028f0
lea ecx, [ebp - 0x34]
call fcn.00402500
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x230]
mov dword [ebp - 0x238], ecx
cmp dword [ebp - 0x238], 0
je 0x413a86
cmp dword [ebp - 0x238], 1
je 0x413b42
cmp dword [ebp - 0x238], 2
je 0x413beb
jmp 0x413c8f
lea edx, [ebp - 0x2c]
push edx
mov ecx, dword [ebp - 0x234]
add ecx, 0xc10
call fcn.00455259
mov eax, dword [ebp - 0x234]
mov dword [eax + 0x994], 0
push 5
mov ecx, dword [ebp - 0x234]
add ecx, 0x460
call fcn.004548a9
push 0
mov ecx, dword [ebp - 0x234]
add ecx, 0x3ac
call fcn.004548a9
push 0
mov ecx, dword [ebp - 0x234]
add ecx, 0x2bc
call fcn.004548a9
push 1
mov ecx, dword [ebp - 0x234]
add ecx, 0x460
call fcn.0041b970
push 0x4735d8
lea ecx, [ebp - 0x34]
call fcn.00402570
push 0
mov ecx, dword [ebp - 0x234]
add ecx, 0x6f4
call fcn.004548a9
push 0
mov ecx, dword [ebp - 0x234]
add ecx, 0x58c
call fcn.004548a9
push 5
mov ecx, dword [ebp - 0x234]
add ecx, 0x640
call fcn.004548a9
jmp 0x413c8f
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x234]
add ecx, 0xc10
call fcn.00455259
mov edx, dword [ebp - 0x234]
mov dword [edx + 0x994], 1
push 0
mov ecx, dword [ebp - 0x234]
add ecx, 0x460
call fcn.004548a9
push 0
mov ecx, dword [ebp - 0x234]
add ecx, 0x3ac
call fcn.004548a9
push 5
mov ecx, dword [ebp - 0x234]
add ecx, 0x2bc
call fcn.004548a9
push 0x4735e8
lea ecx, [ebp - 0x34]
call fcn.00402570
push 0
mov ecx, dword [ebp - 0x234]
add ecx, 0x6f4
call fcn.004548a9
push 5
mov ecx, dword [ebp - 0x234]
add ecx, 0x58c
call fcn.004548a9
push 0
mov ecx, dword [ebp - 0x234]
add ecx, 0x640
call fcn.004548a9
jmp 0x413c8f
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x234]
add ecx, 0xc10
call fcn.00455259
mov ecx, dword [ebp - 0x234]
mov dword [ecx + 0x994], 0
push 0
mov ecx, dword [ebp - 0x234]
add ecx, 0x460
call fcn.004548a9
push 5
mov ecx, dword [ebp - 0x234]
add ecx, 0x3ac
call fcn.004548a9
push 0
mov ecx, dword [ebp - 0x234]
add ecx, 0x2bc
call fcn.004548a9
push 0x4735f8
lea ecx, [ebp - 0x34]
call fcn.00402570
push 5
mov ecx, dword [ebp - 0x234]
add ecx, 0x6f4
call fcn.004548a9
push 0
mov ecx, dword [ebp - 0x234]
add ecx, 0x58c
call fcn.004548a9
push 0
mov ecx, dword [ebp - 0x234]
add ecx, 0x640
call fcn.004548a9
mov edx, dword [ebp - 0x234]
mov dword [edx + 0xc24], 1
mov eax, dword [ebp - 0x234]
mov dword [eax + 0xc34], 1
mov ecx, dword [ebp - 0x234]
mov dword [ecx + 0xc40], 1
push 0xc5
push 0x137
push 0xad
push 0x11f
lea ecx, [ebp - 0x28]
call fcn.0041b530
lea edx, [ebp - 0x34]
push edx
mov ecx, dword [ebp - 0x234]
add ecx, 0xb50
call fcn.00402760
mov dword [ebp - 0x18], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x234]
add eax, 0xb50
push eax
lea ecx, [ebp - 0x28]
call fcn.004076d0
push eax
lea ecx, [ebp - 0x28]
call fcn.004076b0
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x28]
push edx
mov ecx, dword [ebp - 0x234]
add ecx, 0xc4
call fcn.00402800
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x234]
add ecx, 0xb50
call fcn.00402760
lea ecx, [ebp - 0x34]
call fcn.00458680
mov ecx, dword [ebp - 0x234]
cmp dword [ecx + 0xb54], 0
je 0x413d70
mov ecx, dword [ebp - 0x234]
add ecx, 0xb50
call fcn.00457e57
push 1
mov ecx, dword [ebp - 0x234]
call fcn.00402940
mov ecx, dword [ebp - 0x234]
call fcn.00415cad
push 0
mov ecx, dword [ebp - 0x234]
call fcn.00453d7d
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x34]
call fcn.00402550
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.00455120
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00455120
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00455120
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret