Function at 0x404db0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x428957
mov eax, dword fs:[0]
push eax
sub esp, 0x2c0
mov eax, dword [0x436008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x2cc], esi
mov dword [ebp - 0x2c8], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
mov dword [ebp - 4], 1
lea eax, [ebp - 0x2c4]
push eax
call fcn.00404b60
mov byte [ebp - 4], 2
mov edx, eax
push str.config.ini
lea ecx, [ebp - 0x264]
call fcn.004026e0
add esp, 4
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x2b0]
cmp edx, 8
jb 0x404e91
mov ecx, dword [ebp - 0x2c4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x404e87
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4057d4
push edx
push ecx
call fcn.004168f5
add esp, 8
xor eax, eax
mov dword [ebp - 0x2b4], 0
lea ecx, [ebp - 0x264]
mov dword [ebp - 0x2b0], 7
mov word [ebp - 0x2c4], ax
call fcn.0040a4d0
test al, al
je 0x4052bf
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.00418080
add esp, 0xc
lea eax, [ebp - 0x264]
cmp dword [ebp - 0x250], 8
cmovae eax, dword [ebp - 0x264]
push eax
push 0x104
lea eax, [ebp - 0x21c]
push eax
push 0x430b74
push str.Version
push str.Upgrade
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x21c], 0
je 0x4052bf
lea eax, [ebp - 0x24c]
push eax
call fcn.00404a00
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x21c]
push ecx
mov edx, eax
lea ecx, [ebp - 0x27c]
call fcn.004026e0
add esp, 4
mov edi, eax
mov byte [ebp - 4], 6
lea eax, [ebp - 0x234]
cmp eax, edi
je 0x404f83
mov ecx, eax
call fcn.00401bd0
movups xmm0, xmmword [edi]
xor eax, eax
movups xmmword [ebp - 0x234], xmm0
movq xmm0, qword [edi + 0x10]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
movq qword [ebp - 0x224], xmm0
mov word [edi], ax
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x268]
cmp edx, 8
jb 0x404fc7
mov ecx, dword [ebp - 0x27c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x404fbd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4057d9
push edx
push ecx
call fcn.004168f5
add esp, 8
xor eax, eax
mov dword [ebp - 0x26c], 0
mov dword [ebp - 0x268], 7
mov word [ebp - 0x27c], ax
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x238]
cmp edx, 8
jb 0x405028
mov ecx, dword [ebp - 0x24c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40501e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4057de
push edx
push ecx
call fcn.004168f5
add esp, 8
xor eax, eax
mov dword [ebp - 0x23c], 0
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x238], 7
mov word [ebp - 0x24c], ax
call fcn.0040a600
test al, al
je 0x4052bf
push 0x10
xor eax, eax
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 0
lea ecx, [ebp - 0x24c]
push str.2345ImageApp.dll
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 7
mov word [ebp - 0x24c], ax
call fcn.00401c30
mov byte [ebp - 4], 7
lea eax, [ebp - 0x24c]
push eax
lea edx, [ebp - 0x234]
lea ecx, [ebp - 0x27c]
call fcn.00402000
add esp, 4
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x238]
cmp edx, 8
jb 0x4050fe
mov ecx, dword [ebp - 0x24c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4050f4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4057e3
push edx
push ecx
call fcn.004168f5
add esp, 8
xor eax, eax
mov dword [ebp - 0x23c], 0
lea ecx, [ebp - 0x27c]
mov dword [ebp - 0x238], 7
mov word [ebp - 0x24c], ax
call fcn.0040a4d0
test al, al
je 0x40525e
mov edx, 0x10
lea ecx, [ebp - 0x234]
call fcn.00401d90
lea eax, [ebp - 0x234]
mov ecx, esi
push eax
call fcn.00402530
mov dword [ebp - 0x2c8], 1
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x268]
cmp edx, 8
jb 0x40519a
mov ecx, dword [ebp - 0x27c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405190
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4057e8
push edx
push ecx
call fcn.004168f5
add esp, 8
xor eax, eax
mov dword [ebp - 0x26c], 0
mov dword [ebp - 0x268], 7
mov word [ebp - 0x27c], ax
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x250]
cmp edx, 8
jb 0x4051fb
mov ecx, dword [ebp - 0x264]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4051f1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4057ed
push edx
push ecx
call fcn.004168f5
add esp, 8
xor eax, eax
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x250], 7
mov word [ebp - 0x264], ax
mov byte [ebp - 4], al
mov edx, dword [ebp - 0x220]
cmp edx, 8
jb 0x405798
mov ecx, dword [ebp - 0x234]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40578e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4057f2
jmp 0x40578e
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x268]
cmp edx, 8
jb 0x4052a2
mov ecx, dword [ebp - 0x27c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405298
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4057f7
push edx
push ecx
call fcn.004168f5
add esp, 8
xor eax, eax
mov dword [ebp - 0x26c], 0
mov dword [ebp - 0x268], 7
mov word [ebp - 0x27c], ax
xor eax, eax
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 7
mov word [ebp - 0x24c], ax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x294]
push 7
mov dword [ebp - 0x284], eax
mov dword [ebp - 0x280], eax
push 0x430b78
mov dword [ebp - 0x284], eax
mov dword [ebp - 0x280], 7
mov word [ebp - 0x294], ax
call fcn.00401c30
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x294]
cmp dword [ebp - 0x280], 8
lea ecx, [ebp - 0x24c]
push dword [ebp - 0x284]
cmovae eax, dword [ebp - 0x294]
push eax
call fcn.00401c30
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x280]
cmp edx, 8
jb 0x405397
mov ecx, dword [ebp - 0x294]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40538d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4057fc
push edx
push ecx
call fcn.004168f5
add esp, 8
xor eax, eax
mov dword [ebp - 0x284], 0
mov word [ebp - 0x294], ax
lea ecx, [ebp - 0x24c]
lea eax, [ebp - 0x27c]
mov dword [ebp - 0x280], 7
push eax
call fcn.00414200
mov edi, eax
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x234]
cmp eax, edi
je 0x405407
mov ecx, eax
call fcn.00401bd0
movups xmm0, xmmword [edi]
xor eax, eax
movups xmmword [ebp - 0x234], xmm0
movq xmm0, qword [edi + 0x10]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
movq qword [ebp - 0x224], xmm0
mov word [edi], ax
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x268]
cmp edx, 8
jb 0x40544b
mov ecx, dword [ebp - 0x27c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405441
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405801
push edx
push ecx
call fcn.004168f5
add esp, 8
xor eax, eax
mov dword [ebp - 0x26c], 0
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x268], 7
mov word [ebp - 0x27c], ax
call fcn.0040a600
test al, al
je 0x4055a7
mov edx, 0x10
lea ecx, [ebp - 0x234]
call fcn.00401d90
movups xmm0, xmmword [ebp - 0x234]
mov dword [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
mov word [ebp - 0x234], ax
movq xmm0, qword [ebp - 0x224]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x2c8], 1
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x238]
cmp edx, 8
jb 0x40551b
mov ecx, dword [ebp - 0x24c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405511
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405806
push edx
push ecx
call fcn.004168f5
add esp, 8
xor eax, eax
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 7
mov word [ebp - 0x24c], ax
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x250]
cmp edx, 8
jb 0x40557c
mov ecx, dword [ebp - 0x264]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405572
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40580b
push edx
push ecx
call fcn.004168f5
add esp, 8
xor eax, eax
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x250], 7
mov word [ebp - 0x264], ax
mov byte [ebp - 4], al
mov dword [ebp - 0x224], eax
jmp 0x4057a2
lea eax, [ebp - 0x2ac]
push eax
call fcn.00404cc0
mov byte [ebp - 4], 0xf
lea edx, [ebp - 0x234]
lea ecx, [ebp - 0x2ac]
call fcn.0040aa20
lea ecx, [ebp - 0x234]
call fcn.0040a600
test al, al
je 0x40569d
mov edx, 0x10
lea ecx, [ebp - 0x234]
call fcn.00401d90
movups xmm0, xmmword [ebp - 0x234]
mov dword [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
mov word [ebp - 0x234], ax
movq xmm0, qword [ebp - 0x224]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x2c8], 1
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x298]
cmp edx, 8
jb 0x40567b
mov ecx, dword [ebp - 0x2ac]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405671
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405810
push edx
push ecx
call fcn.004168f5
add esp, 8
xor eax, eax
mov dword [ebp - 0x29c], 0
mov dword [ebp - 0x298], 7
mov word [ebp - 0x2ac], ax
jmp 0x4054d7
xor eax, eax
mov dword [esi + 0x10], 0
push eax
mov dword [esi + 0x14], 7
mov ecx, esi
push 0x430b74
mov word [esi], ax
call fcn.00401c30
mov dword [ebp - 0x2c8], 1
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x298]
cmp edx, 8
jb 0x40570b
mov ecx, dword [ebp - 0x2ac]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405701
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405806
push edx
push ecx
call fcn.004168f5
add esp, 8
xor eax, eax
mov dword [ebp - 0x29c], 0
mov dword [ebp - 0x298], 7
mov word [ebp - 0x2ac], ax
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x238]
cmp edx, 8
jb 0x40576c
mov ecx, dword [ebp - 0x24c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405762
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405806
push edx
push ecx
call fcn.004168f5
add esp, 8
xor eax, eax
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 7
mov word [ebp - 0x24c], ax
jmp 0x4051b7
push edx
push ecx
call fcn.004168f5
add esp, 8
mov dword [ebp - 0x224], 0
xor eax, eax
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004168b4
mov esp, ebp
pop ebp
ret 4
call fcn.0041a52f
call fcn.0041a52f
call fcn.0041a52f
call fcn.0041a52f
call fcn.0041a52f
call fcn.0041a52f
call fcn.0041a52f
call fcn.0041a52f
call fcn.0041a52f
call fcn.0041a52f
call fcn.0041a52f
call fcn.0041a52f
call fcn.0041a52f
int3