Function at 0x4065c0
Capabilities:
Check if file exists
Read .ini file
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x433fb0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x270
mov eax, dword [0x445164]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x28c]
push edi
push esi
push 0
push 0x437010
mov edi, ecx
push 0x437000
mov dword [esp + 0x28c], eax
mov dword [esp + 0x30], edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push esi
push 0x104
mov dword [edi + 0x28], eax
lea eax, [esp + 0x7c]
push eax
push 0x436670
push 0x436fd4
push 0x437000
call ebx
lea ecx, [esp + 0x74]
push ecx
lea ebp, [edi + 0x18]
call fcn.0041924a
add esp, 4
push eax
lea edx, [esp + 0x78]
push edx
mov ecx, ebp
call fcn.004042e0
push esi
push 0x104
lea eax, [esp + 0x7c]
push eax
push 0x436670
push 0x436fb8
push 0x437000
call ebx
lea ecx, [esp + 0x74]
push ecx
lea esi, [edi + 0x20]
call fcn.0041924a
add esp, 4
push eax
lea edx, [esp + 0x78]
push edx
mov ecx, esi
call fcn.00401670
mov eax, dword [edi + 0x28]
test eax, eax
mov ebx, 1
je 0x407af1
call fcn.004273c8
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x288], 0
call fcn.004273c8
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x10], esi
cmp dword [edi + 0x28], ebx
mov byte [esp + 0x288], bl
mov dword [esp + 0x24], ebx
jl 0x407aa6
jmp 0x4066e0
mov ebp, dword [esp + 0x24]
push ebp
lea eax, [esp + 0x18]
push 0x436fa0
push eax
call fcn.004018c0
mov ebx, dword [esi - 4]
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, ebx
sub eax, 0x3e8
add esp, 0xc
or eax, ecx
jge 0x40671f
push 0x3e8
lea ecx, [esp + 0x14]
call fcn.004014b0
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x290]
mov ecx, dword [esp + 0x14]
push edi
push 0x104
push esi
push 0x436670
push ecx
push 0x437000
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test esi, esi
jne 0x40674a
xor eax, eax
jmp 0x40675b
push esi
call fcn.0041924a
add esp, 4
test eax, eax
jl 0x407b1d
cmp eax, dword [esi - 8]
jg 0x407b1d
push 0x436f8c
mov dword [esi - 0xc], eax
push esi
mov word [esi + eax*2], 0
call fcn.00419cde
add esp, 8
test eax, eax
jne 0x40678f
mov edx, dword [esp + 0x20]
mov ebx, dword [edx + 0x2c]
mov dword [esp + 0x1c], ebx
jmp 0x4068e0
push 0x436f7c
push esi
call fcn.00419cde
add esp, 8
test eax, eax
jne 0x4067b1
mov eax, dword [esp + 0x20]
mov ebx, dword [eax + 0x30]
mov dword [esp + 0x1c], ebx
jmp 0x4068e0
push 0x436f70
push esi
call fcn.00419cde
add esp, 8
test eax, eax
jne 0x4067d3
mov ecx, dword [esp + 0x20]
mov ebx, dword [ecx + 0x3c]
mov dword [esp + 0x1c], ebx
jmp 0x4068e0
push 0x436f64
push esi
call fcn.00419cde
add esp, 8
test eax, eax
jne 0x4067f5
mov edx, dword [esp + 0x20]
mov ebx, dword [edx + 0x40]
mov dword [esp + 0x1c], ebx
jmp 0x4068e0
push 0x436f58
push esi
call fcn.00419cde
add esp, 8
test eax, eax
jne 0x406817
mov eax, dword [esp + 0x20]
mov ebx, dword [eax + 0x34]
mov dword [esp + 0x1c], ebx
jmp 0x4068e0
push 0x436f48
push esi
call fcn.00419cde
add esp, 8
test eax, eax
jne 0x406839
mov ecx, dword [esp + 0x20]
mov ebx, dword [ecx + 0x38]
mov dword [esp + 0x1c], ebx
jmp 0x4068e0
push 0x436f40
lea edx, [esp + 0x14]
push edx
call fcn.00403fb0
test al, al
je 0x40685c
mov eax, dword [esp + 0x20]
mov ebx, dword [eax + 0x44]
mov dword [esp + 0x1c], ebx
jmp 0x4068e0
push 0x436f34
lea ecx, [esp + 0x14]
push ecx
call fcn.00403fb0
test al, al
je 0x40687c
mov edx, dword [esp + 0x20]
mov ebx, dword [edx + 0x48]
mov dword [esp + 0x1c], ebx
jmp 0x4068e0
push 0x436f28
lea eax, [esp + 0x14]
push eax
call fcn.00403fb0
test al, al
je 0x40689c
mov ecx, dword [esp + 0x20]
mov ebx, dword [ecx + 0x4c]
mov dword [esp + 0x1c], ebx
jmp 0x4068e0
push 0x436f18
lea edx, [esp + 0x14]
push edx
call fcn.00403fb0
test al, al
je 0x4068bc
mov eax, dword [esp + 0x20]
mov ebx, dword [eax + 0x50]
mov dword [esp + 0x1c], ebx
jmp 0x4068e0
push 0x436f08
lea ecx, [esp + 0x14]
push ecx
call fcn.00403fb0
test al, al
je 0x4068dc
mov edx, dword [esp + 0x20]
mov ebx, dword [edx + 0x54]
mov dword [esp + 0x1c], ebx
jmp 0x4068e0
mov ebx, dword [esp + 0x1c]
lea eax, [esp + 0x10]
lea ecx, [ebx + 8]
push eax
call fcn.00404380
push ebp
lea ecx, [esp + 0x18]
push 0x436ee8
push ecx
call fcn.004018c0
mov eax, dword [esi - 4]
mov ecx, 1
sub ecx, eax
mov eax, dword [esi - 8]
sub eax, 0x3e8
add esp, 0xc
or eax, ecx
jge 0x406928
push 0x3e8
lea ecx, [esp + 0x14]
call fcn.004014b0
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push edi
push 0x104
push esi
push 0x436670
push edx
push 0x437000
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test esi, esi
jne 0x40694c
xor eax, eax
jmp 0x40695d
push esi
call fcn.0041924a
add esp, 4
test eax, eax
jl 0x407b1d
cmp eax, dword [esi - 8]
jg 0x407b1d
mov dword [esi - 0xc], eax
mov word [esi + eax*2], 0
lea eax, [esp + 0x10]
lea ecx, [ebx + 0x14]
push eax
call fcn.00404380
push ebp
lea ecx, [esp + 0x18]
push 0x436ed4
push ecx
call fcn.004018c0
mov eax, dword [esi - 4]
mov ecx, 1
sub ecx, eax
mov eax, dword [esi - 8]
sub eax, 0x3e8
add esp, 0xc
or eax, ecx
jge 0x4069b7
push 0x3e8
lea ecx, [esp + 0x14]
call fcn.004014b0
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push edi
push 0x104
push esi
push 0x436670
push edx
push 0x437000
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test esi, esi
jne 0x4069db
xor eax, eax
jmp 0x4069ec
push esi
call fcn.0041924a
add esp, 4
test eax, eax
jl 0x407b1d
cmp eax, dword [esi - 8]
jg 0x407b1d
mov dword [esi - 0xc], eax
mov word [esi + eax*2], 0
lea eax, [esp + 0x10]
lea ecx, [ebx + 0x18]
push eax
mov dword [esp + 0x5c], ecx
call fcn.00404380
push ebp
lea ecx, [esp + 0x18]
push 0x436eb4
push ecx
call fcn.004018c0
mov eax, dword [esi - 4]
mov ecx, 1
sub ecx, eax
mov eax, dword [esi - 8]
sub eax, 0x3e8
add esp, 0xc
or eax, ecx
jge 0x406a4a
push 0x3e8
lea ecx, [esp + 0x14]
call fcn.004014b0
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push edi
push 0x104
push esi
push 0x436670
push edx
push 0x437000
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test esi, esi
jne 0x406a6e
xor eax, eax
jmp 0x406a7f
push esi
call fcn.0041924a
add esp, 4
test eax, eax
jl 0x407b1d
cmp eax, dword [esi - 8]
jg 0x407b1d
mov dword [esi - 0xc], eax
mov word [esi + eax*2], 0
lea eax, [esp + 0x10]
lea ecx, [ebx + 0xc]
push eax
mov dword [esp + 0x34], ecx
call fcn.00404380
push ebp
lea ecx, [esp + 0x18]
push 0x436e8c
push ecx
call fcn.004018c0
mov eax, dword [esi - 4]
mov ecx, 1
sub ecx, eax
mov eax, dword [esi - 8]
sub eax, 0x3e8
add esp, 0xc
or eax, ecx
jge 0x406add
push 0x3e8
lea ecx, [esp + 0x14]
call fcn.004014b0
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push edi
push 0x104
push esi
push 0x436670
push edx
push 0x437000
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test esi, esi
jne 0x406b01
xor eax, eax
jmp 0x406b12
push esi
call fcn.0041924a
add esp, 4
test eax, eax
jl 0x407b1d
cmp eax, dword [esi - 8]
jg 0x407b1d
mov dword [esi - 0xc], eax
mov word [esi + eax*2], 0
lea eax, [esp + 0x10]
push eax
mov ecx, ebx
call fcn.00404380
push ebp
lea ecx, [esp + 0x18]
push 0x436e64
push ecx
call fcn.004018c0
mov eax, dword [esi - 4]
mov ecx, 1
sub ecx, eax
mov eax, dword [esi - 8]
sub eax, 0x3e8
add esp, 0xc
or eax, ecx
jge 0x406b6b
push 0x3e8
lea ecx, [esp + 0x14]
call fcn.004014b0
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push edi
push 0x104
push esi
push 0x436670
push edx
push 0x437000
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test esi, esi
jne 0x406b8f
xor eax, eax
jmp 0x406ba0
push esi
call fcn.0041924a
add esp, 4
test eax, eax
jl 0x407b1d
cmp eax, dword [esi - 8]
jg 0x407b1d
mov dword [esi - 0xc], eax
mov word [esi + eax*2], 0
lea eax, [esp + 0x10]
lea ecx, [ebx + 0x38]
push eax
call fcn.00404380
push ebp
lea ecx, [esp + 0x18]
push 0x436e48
push ecx
call fcn.004018c0
mov eax, dword [esi - 4]
mov ecx, 1
sub ecx, eax
mov eax, dword [esi - 8]
sub eax, 0x3e8
add esp, 0xc
or eax, ecx
jge 0x406bfa
push 0x3e8
lea ecx, [esp + 0x14]
call fcn.004014b0
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push edi
push 0x104
push esi
push 0x436670
push edx
push 0x437000
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test esi, esi
jne 0x406c1e
xor eax, eax
jmp 0x406c2f
push esi
call fcn.0041924a
add esp, 4
test eax, eax
jl 0x407b1d
cmp eax, dword [esi - 8]
jg 0x407b1d
mov dword [esi - 0xc], eax
mov word [esi + eax*2], 0
lea eax, [esp + 0x10]
lea ecx, [ebx + 0x10]
push eax
call fcn.00404380
push ebp
lea ecx, [esp + 0x18]
push 0x436e20
push ecx
call fcn.004018c0
mov eax, dword [esi - 4]
mov ecx, 1
sub ecx, eax
mov eax, dword [esi - 8]
sub eax, 0x3e8
add esp, 0xc
or eax, ecx
jge 0x406c89
push 0x3e8
lea ecx, [esp + 0x14]
call fcn.004014b0
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push edi
push 0x104
push esi
push 0x436670
push edx
push 0x437000
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test esi, esi
jne 0x406cad
xor eax, eax
jmp 0x406cbe
push esi
call fcn.0041924a
add esp, 4
test eax, eax
jl 0x407b1d
cmp eax, dword [esi - 8]
jg 0x407b1d
mov dword [esi - 0xc], eax
mov word [esi + eax*2], 0
lea eax, [esp + 0x10]
lea ecx, [ebx + 0x20]
push eax
mov dword [esp + 0x2c], ecx
call fcn.00404380
push ebp
lea ecx, [esp + 0x18]
push 0x436e04
push ecx
call fcn.004018c0
mov edx, dword [esp + 0x20]
add esp, 0xc
push edi
push 0
push edx
push 0x437000
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push ebp
mov dword [ebx + 0x24], eax
lea eax, [esp + 0x18]
push 0x436de8
push eax
call fcn.004018c0
mov eax, dword [esi - 4]
mov ecx, 1
sub ecx, eax
mov eax, dword [esi - 8]
sub eax, 0x3e8
add esp, 0xc
or eax, ecx
jge 0x406d45
push 0x3e8
lea ecx, [esp + 0x14]
call fcn.004014b0
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push edi
push 0x104
push esi
push 0x436670
push ecx
push 0x437000
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test esi, esi
jne 0x406d69
xor eax, eax
jmp 0x406d7a
push esi
call fcn.0041924a
add esp, 4
test eax, eax
jl 0x407b1d
cmp eax, dword [esi - 8]
jg 0x407b1d
lea edx, [esp + 0x10]
mov dword [esi - 0xc], eax
lea ecx, [ebx + 4]
push edx
mov word [esi + eax*2], 0
call fcn.00404380
push ebp
lea eax, [esp + 0x18]
push 0x436dc8
push eax
call fcn.004018c0
mov eax, dword [esi - 4]
mov ecx, 1
sub ecx, eax
mov eax, dword [esi - 8]
sub eax, 0x3e8
add esp, 0xc
or eax, ecx
jge 0x406dd4
push 0x3e8
lea ecx, [esp + 0x14]
call fcn.004014b0
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push edi
push 0x104
push esi
push 0x436670
push ecx
push 0x437000
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test esi, esi
jne 0x406df8
xor eax, eax
jmp 0x406e09
push esi
call fcn.0041924a
add esp, 4
test eax, eax
jl 0x407b1d
cmp eax, dword [esi - 8]
jg 0x407b1d
lea edx, [esp + 0x10]
mov dword [esi - 0xc], eax
lea ecx, [ebx + 0x4c]
push edx
mov word [esi + eax*2], 0
call fcn.00404380
mov eax, dword [0x4460e8]
mov ecx, dword [eax + 0x20]
call fcn.00402b90
test eax, eax
push ebp
je 0x406e46
push 0x436da0
lea ecx, [esp + 0x1c]
push ecx
jmp 0x406e50
push 0x436d7c
lea edx, [esp + 0x1c]
push edx
call fcn.004018c0
mov eax, dword [esi - 4]
mov ecx, 1
sub ecx, eax
mov eax, dword [esi - 8]
sub eax, 0x3e8
add esp, 0xc
or eax, ecx
jge 0x406e80
push 0x3e8
lea ecx, [esp + 0x14]
call fcn.004014b0
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push edi
push 0x104
push esi
push 0x436670
push eax
push 0x437000
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test esi, esi
jne 0x406ea4
xor eax, eax
jmp 0x406eb5
push esi
call fcn.0041924a
add esp, 4
test eax, eax
jl 0x407b1d
cmp eax, dword [esi - 8]
jg 0x407b1d
lea edx, [esp + 0x10]
mov dword [esi - 0xc], eax
lea ecx, [ebx + 0x48]
push edx
mov word [esi + eax*2], 0
call fcn.00404380
push ebp
lea eax, [esp + 0x18]
push 0x436d5c
push eax
call fcn.004018c0
mov eax, dword [esi - 4]
mov ecx, 1
sub ecx, eax
mov eax, dword [esi - 8]
sub eax, 0x3e8
add esp, 0xc
or eax, ecx
jge 0x406f0f
push 0x3e8
lea ecx, [esp + 0x14]
call fcn.004014b0
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push edi
push 0x104
push esi
push 0x436670
push ecx
push 0x437000
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test esi, esi
jne 0x406f33
xor eax, eax
jmp 0x406f44
push esi
call fcn.0041924a
add esp, 4
test eax, eax
jl 0x407b1d
cmp eax, dword [esi - 8]
jg 0x407b1d
push ecx
mov dword [esp + 0x1c], esp
lea edi, [esi - 0x10]
mov dword [esi - 0xc], eax
mov dword [esp + 0x1c], esp
push edi
mov word [esi + eax*2], 0
call fcn.00401500
mov edx, dword [esp + 0x20]
add eax, 0x10
add esp, 4
mov ecx, ebx
mov dword [edx], eax
call fcn.0040ee10
push ebp
lea eax, [esp + 0x18]
push 0x436d40
push eax
call fcn.004018c0
mov eax, dword [edi + 0xc]
mov ecx, 1
sub ecx, eax
mov eax, dword [edi + 8]
sub eax, 0x3e8
add esp, 0xc
or eax, ecx
jge 0x406fb6
push 0x3e8
lea ecx, [esp + 0x14]
call fcn.004014b0
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x290]
mov edx, dword [esp + 0x14]
push ecx
push 0x104
push esi
push 0x436670
push edx
push 0x437000
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test esi, esi
jne 0x406fe1
xor eax, eax
jmp 0x406ff2
push esi
call fcn.0041924a
add esp, 4
test eax, eax
jl 0x407b1d
cmp eax, dword [esi - 8]
jg 0x407b1d
push ecx
mov dword [esp + 0x1c], esp
lea edi, [esi - 0x10]
mov dword [esi - 0xc], eax
mov dword [esp + 0x1c], esp
push edi
mov word [esi + eax*2], 0
call fcn.00401500
mov ecx, dword [esp + 0x20]
add eax, 0x10
mov dword [ecx], eax
add esp, 4
mov ecx, ebx
call fcn.0040ee90
push ebp
lea edx, [esp + 0x18]
push 0x436d18
push edx
call fcn.004018c0
mov eax, dword [edi + 0xc]
mov ecx, 1
sub ecx, eax
mov eax, dword [edi + 8]
sub eax, 0x3e8
add esp, 0xc
or eax, ecx
jge 0x407064
push 0x3e8
lea ecx, [esp + 0x14]
call fcn.004014b0
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x290]
mov ecx, dword [esp + 0x14]
push eax
push 0x104
push esi
push 0x436670
push ecx
push 0x437000
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test esi, esi
jne 0x40708f
xor eax, eax
jmp 0x4070a0
push esi
call fcn.0041924a
add esp, 4
test eax, eax
jl 0x407b1d
cmp eax, dword [esi - 8]
jg 0x407b1d
push ecx
mov dword [esp + 0x1c], esp
lea edi, [esi - 0x10]
mov dword [esi - 0xc], eax
mov dword [esp + 0x1c], esp
push edi
mov word [esi + eax*2], 0
call fcn.00401500
mov edx, dword [esp + 0x20]
add eax, 0x10
add esp, 4
mov ecx, ebx
mov dword [edx], eax
call fcn.0040ef10
push ebp
lea eax, [esp + 0x18]
push 0x436cec
push eax
call fcn.004018c0
mov eax, dword [edi + 0xc]
mov ecx, 1
sub ecx, eax
mov eax, dword [edi + 8]
sub eax, 0x3e8
add esp, 0xc
or eax, ecx
jge 0x407112
push 0x3e8
lea ecx, [esp + 0x14]
call fcn.004014b0
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x290]
mov edx, dword [esp + 0x14]
push ecx
push 0x104
push esi
push 0x436670
push edx
push 0x437000
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test esi, esi
jne 0x40713d
xor eax, eax
jmp 0x40714e
push esi
call fcn.0041924a
add esp, 4
test eax, eax
jl 0x407b1d
cmp eax, dword [esi - 8]
jg 0x407b1d
push ecx
mov dword [esp + 0x1c], esp
lea edi, [esi - 0x10]
mov dword [esi - 0xc], eax
mov dword [esp + 0x1c], esp
push edi
mov word [esi + eax*2], 0
call fcn.00401500
mov ecx, dword [esp + 0x20]
add eax, 0x10
mov dword [ecx], eax
add esp, 4
mov ecx, ebx
call fcn.0040ef90
push ebp
lea edx, [esp + 0x18]
push 0x436ccc
push edx
call fcn.004018c0
mov eax, dword [edi + 0xc]
mov ecx, 1
sub ecx, eax
mov eax, dword [edi + 8]
sub eax, 0x3e8
add esp, 0xc
or eax, ecx
jge 0x4071c0
push 0x3e8
lea ecx, [esp + 0x14]
call fcn.004014b0
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x290]
mov ecx, dword [esp + 0x14]
push eax
push 0x104
push esi
push 0x436670
push ecx
push 0x437000
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test esi, esi
jne 0x4071eb
xor eax, eax
jmp 0x4071fc
push esi
call fcn.0041924a
add esp, 4
test eax, eax
jl 0x407b1d
cmp eax, dword [esi - 8]
jg 0x407b1d
push ecx
mov dword [esp + 0x1c], esp
lea edi, [esi - 0x10]
mov dword [esi - 0xc], eax
mov dword [esp + 0x1c], esp
push edi
mov word [esi + eax*2], 0
call fcn.00401500
mov edx, dword [esp + 0x20]
add eax, 0x10
add esp, 4
mov ecx, ebx
mov dword [edx], eax
call fcn.0040f010
push ebp
lea eax, [esp + 0x18]
push 0x436cb0
push eax
call fcn.004018c0
mov eax, dword [edi + 0xc]
mov ecx, 1
sub ecx, eax
mov eax, dword [edi + 8]
sub eax, 0x3e8
add esp, 0xc
or eax, ecx
jge 0x40726e
push 0x3e8
lea ecx, [esp + 0x14]
call fcn.004014b0
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x290]
mov edx, dword [esp + 0x14]
push ecx
push 0x104
push esi
push 0x436670
push edx
push 0x437000
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test esi, esi
jne 0x407299
xor eax, eax
jmp 0x4072aa
push esi
call fcn.0041924a
add esp, 4
test eax, eax
jl 0x407b1d
cmp eax, dword [esi - 8]
jg 0x407b1d
push ecx
mov dword [esp + 0x1c], esp
lea edi, [esi - 0x10]
mov dword [esi - 0xc], eax
mov dword [esp + 0x1c], esp
push edi
mov word [esi + eax*2], 0
call fcn.00401500
mov ecx, dword [esp + 0x20]
add eax, 0x10
mov dword [ecx], eax
add esp, 4
mov ecx, ebx
call fcn.0040f090
push ebp
lea edx, [esp + 0x18]
push 0x436c8c
push edx
call fcn.004018c0
mov ebp, dword [edi + 0xc]
mov eax, dword [edi + 8]
mov ecx, 1
sub ecx, ebp
sub eax, 0x3e8
add esp, 0xc
or eax, ecx
jge 0x40731c
push 0x3e8
lea ecx, [esp + 0x14]
call fcn.004014b0
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x290]
mov ecx, dword [esp + 0x14]
push eax
push 0x104
push esi
push 0x436670
push ecx
push 0x437000
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test esi, esi
jne 0x407347
xor eax, eax
jmp 0x407358
push esi
call fcn.0041924a
add esp, 4
test eax, eax
jl 0x407b1d
cmp eax, dword [esi - 8]
jg 0x407b1d
push ecx
lea edi, [esi - 0x10]
mov dword [esi - 0xc], eax
mov dword [esp + 0x1c], esp
mov ebp, esp
push edi
mov word [esi + eax*2], 0
call fcn.00401500
add eax, 0x10
add esp, 4
mov ecx, ebx
mov dword [ebp], eax
call fcn.0040f110
mov ebp, dword [esp + 0x20]
mov eax, dword [ebp + 0x14]
add ebp, 0x14
push 0x436670
push eax
mov dword [esp + 0x20], 0
call fcn.00419cde
add esp, 8
test eax, eax
je 0x407443
call fcn.004273c8
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 4]
mov ecx, dword [ebp]
push eax
push ecx
lea edx, [esp + 0x34]
push 0x436c80
push edx
mov byte [esp + 0x298], 2
call fcn.004018c0
mov eax, dword [esp + 0x3c]
add esp, 0x10
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x407415
lea ecx, [ebx + 0x50]
push ebp
mov dword [esp + 0x1c], 1
call fcn.00404380
mov eax, dword [esp + 0x20]
mov dword [ebx + 0x30], 1
inc dword [eax + 4]
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x288], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40743b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x407455
mov ecx, ebx
call fcn.0040e570
test eax, eax
je 0x407455
mov eax, dword [esp + 0x20]
inc dword [eax + 4]
mov eax, dword [esp + 0x28]
push eax
add ebx, 0x50
push ebx
lea ecx, [esp + 0x70]
push ecx
call fcn.004043f0
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ebp, eax
mov eax, dword [esp + 0x68]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x407491
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test ebp, ebp
je 0x407637
mov eax, dword [esp + 0x28]
push eax
push ebx
lea ecx, [esp + 0x40]
push ecx
call fcn.004043f0
mov ebp, dword [eax]
mov eax, dword [edi + 0xc]
mov ecx, 1
sub ecx, eax
mov eax, dword [edi + 8]
sub eax, 0x3e8
or eax, ecx
mov byte [esp + 0x288], 3
jge 0x4074db
push 0x3e8
lea ecx, [esp + 0x14]
call fcn.004014b0
mov esi, dword [esp + 0x10]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0x104
push esi
push 0x436670
push 0x436c78
push 0x436c70
call ebp
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov byte [esp + 0x288], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40751f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test esi, esi
jne 0x407527
xor eax, eax
jmp 0x407538
push esi
call fcn.0041924a
add esp, 4
test eax, eax
jl 0x407b1d
cmp eax, dword [esi - 8]
jg 0x407b1d
push 0x436670
mov dword [esi - 0xc], eax
push esi
mov word [esi + eax*2], 0
call fcn.00419cde
add esp, 8
test eax, eax
je 0x40756a
mov ecx, dword [esp + 0x58]
lea eax, [esp + 0x10]
push eax
call fcn.00404380
mov ecx, dword [esp + 0x28]
push ecx
push ebx
lea edx, [esp + 0x48]
push edx
call fcn.004043f0
mov edi, dword [eax]
mov eax, dword [esi - 4]
mov ecx, 1
sub ecx, eax
mov eax, dword [esi - 8]
sub eax, 0x3e8
or eax, ecx
mov byte [esp + 0x288], 4
jge 0x4075ac
push 0x3e8
lea ecx, [esp + 0x14]
call fcn.004014b0
mov esi, dword [esp + 0x10]
push edi
push 0x104
push esi
push 0x436670
push 0x436c60
push 0x436c70
call ebp
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
mov byte [esp + 0x288], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4075ea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test esi, esi
jne 0x4075f2
xor eax, eax
jmp 0x407603
push esi
call fcn.0041924a
add esp, 4
test eax, eax
jl 0x407b1d
cmp eax, dword [esi - 8]
jg 0x407b1d
push 0x436670
mov dword [esi - 0xc], eax
push esi
mov word [esi + eax*2], 0
call fcn.00419cde
add esp, 8
test eax, eax
je 0x407a47
mov ecx, dword [esp + 0x1c]
add ecx, 0x1c
jmp 0x407a3d
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x30]
push ebx
add ebp, 0x10
push ebp
lea ecx, [esp + 0x78]
push ecx
call fcn.004043f0
push 0x436674
push eax
lea edx, [esp + 0x58]
push edx
mov byte [esp + 0x294], 5
call fcn.00406000
push ebx
push eax
lea eax, [esp + 0x68]
push eax
mov byte [esp + 0x294], 6
call fcn.004043f0
push 0x436c54
push eax
lea ecx, [esp + 0x50]
push ecx
mov byte [esp + 0x294], 7
call fcn.00406000
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ebx, eax
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4076bb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x60]
add eax, 0xfffffff0
mov byte [esp + 0x288], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4076e1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
mov byte [esp + 0x288], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407707
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x70]
add eax, 0xfffffff0
mov byte [esp + 0x288], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40772d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test ebx, ebx
je 0x407a47
mov ebx, dword [esp + 0x1c]
add ebx, 0xc
push ebx
push ebp
lea eax, [esp + 0x54]
push eax
call fcn.004043f0
push 0x436674
push eax
lea ecx, [esp + 0x4c]
push ecx
mov byte [esp + 0x294], 8
call fcn.00406000
push ebx
push eax
lea edx, [esp + 0x44]
push edx
mov byte [esp + 0x294], 9
call fcn.004043f0
push 0x436c54
push eax
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x294], 0xa
call fcn.00406000
mov ebx, dword [eax]
mov eax, dword [edi + 0xc]
mov ecx, 1
sub ecx, eax
mov eax, dword [edi + 8]
sub eax, 0x3e8
or eax, ecx
mov byte [esp + 0x288], 0xb
jge 0x4077be
push 0x3e8
lea ecx, [esp + 0x14]
call fcn.004014b0
mov esi, dword [esp + 0x10]
push ebx
push 0x104
push esi
push 0x436670
push 0x436c78
push 0x437000
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov byte [esp + 0x288], 0xa
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407800
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
mov byte [esp + 0x288], 9
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407826
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
mov byte [esp + 0x288], 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40784c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
mov byte [esp + 0x288], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407872
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test esi, esi
jne 0x40787a
xor eax, eax
jmp 0x40788b
push esi
call fcn.0041924a
add esp, 4
test eax, eax
jl 0x407b1d
cmp eax, dword [esi - 8]
jg 0x407b1d
push 0x436670
mov dword [esi - 0xc], eax
push esi
mov word [esi + eax*2], 0
call fcn.00419cde
add esp, 8
test eax, eax
je 0x4078c0
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x10]
push eax
add ecx, 0x18
call fcn.00404380
mov ebx, dword [esp + 0x1c]
lea edi, [ebx + 0xc]
push edi
push ebp
lea ecx, [esp + 0x74]
push ecx
call fcn.004043f0
push 0x436674
push eax
lea edx, [esp + 0x6c]
push edx
mov byte [esp + 0x294], 0xc
call fcn.00406000
push edi
push eax
lea eax, [esp + 0x64]
push eax
mov byte [esp + 0x294], 0xd
call fcn.004043f0
push 0x436c54
push eax
lea ecx, [esp + 0x5c]
push ecx
mov byte [esp + 0x294], 0xe
call fcn.00406000
mov edi, dword [eax]
mov eax, dword [esi - 4]
mov ecx, 1
sub ecx, eax
mov eax, dword [esi - 8]
sub eax, 0x3e8
or eax, ecx
mov byte [esp + 0x288], 0xf
jge 0x407949
push 0x3e8
lea ecx, [esp + 0x14]
call fcn.004014b0
mov esi, dword [esp + 0x10]
push edi
push 0x104
push esi
push 0x436670
push 0x436c60
push 0x437000
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
mov byte [esp + 0x288], 0xe
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40798b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x5c]
add eax, 0xfffffff0
mov byte [esp + 0x288], 0xd
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4079b1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x64]
add eax, 0xfffffff0
mov byte [esp + 0x288], 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4079d7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x6c]
add eax, 0xfffffff0
mov byte [esp + 0x288], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4079fd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test esi, esi
jne 0x407a05
xor eax, eax
jmp 0x407a16
push esi
call fcn.0041924a
add esp, 4
test eax, eax
jl 0x407b1d
cmp eax, dword [esi - 8]
jg 0x407b1d
push 0x436670
mov dword [esi - 0xc], eax
push esi
mov word [esi + eax*2], 0
call fcn.00419cde
add esp, 8
test eax, eax
je 0x407a47
lea ecx, [ebx + 0x1c]
lea eax, [esp + 0x10]
push eax
call fcn.00404380
mov ebx, dword [esp + 0x20]
mov edi, dword [ebx + 0x5c]
test edi, edi
lea ecx, [ebx + 0x58]
jne 0x407a59
xor edx, edx
jmp 0x407a61
mov edx, dword [ecx + 8]
sub edx, edi
sar edx, 2
test edi, edi
je 0x407a82
mov eax, dword [ecx + 0xc]
sub eax, edi
sar eax, 2
cmp edx, eax
jae 0x407a82
mov eax, dword [ecx + 8]
mov edx, dword [esp + 0x1c]
mov dword [eax], edx
add eax, 4
mov dword [ecx + 8], eax
jmp 0x407a92
mov eax, dword [ecx + 8]
lea edx, [esp + 0x1c]
push edx
push 1
push eax
call fcn.00406230
mov eax, dword [esp + 0x24]
mov ecx, dword [ebx + 0x28]
inc eax
cmp eax, ecx
mov dword [esp + 0x24], eax
jle 0x4066e0
add esi, 0xfffffff0
mov byte [esp + 0x288], 0
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x407ac8
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x288], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407af1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x280]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x27c]
mov eax, 1
call fcn.0041923c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x27c
ret 4
push 0x80070057
call fcn.004011c0
int3