Function at 0x403570
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4285c7
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.00403320
mov byte [ebp - 4], 2
mov edx, eax
push str.config.ini
lea ecx, [ebp - 0x264]
call fcn.00404b50
add esp, 4
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x2b0]
cmp edx, 8
jb 0x403651
mov ecx, dword [ebp - 0x2c4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403647
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403f94
push edx
push ecx
call fcn.00416de5
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.00409990
test al, al
je 0x403a7f
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.00417b40
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 0x430d88
push str.Version
push str.Upgrade
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x21c], 0
je 0x403a7f
lea eax, [ebp - 0x24c]
push eax
call fcn.004031c0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x21c]
push ecx
mov edx, eax
lea ecx, [ebp - 0x27c]
call fcn.00404b50
add esp, 4
mov edi, eax
mov byte [ebp - 4], 6
lea eax, [ebp - 0x234]
cmp eax, edi
je 0x403743
mov ecx, eax
call fcn.004049a0
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 0x403787
mov ecx, dword [ebp - 0x27c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40377d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403f99
push edx
push ecx
call fcn.00416de5
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 0x4037e8
mov ecx, dword [ebp - 0x24c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4037de
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403f9e
push edx
push ecx
call fcn.00416de5
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.00409ac0
test al, al
je 0x403a7f
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.00404a00
mov byte [ebp - 4], 7
lea eax, [ebp - 0x24c]
push eax
lea edx, [ebp - 0x234]
lea ecx, [ebp - 0x27c]
call fcn.0040ab30
add esp, 4
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x238]
cmp edx, 8
jb 0x4038be
mov ecx, dword [ebp - 0x24c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4038b4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403fa3
push edx
push ecx
call fcn.00416de5
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.00409990
test al, al
je 0x403a1e
mov edx, 0x10
lea ecx, [ebp - 0x234]
call fcn.0040a8c0
lea eax, [ebp - 0x234]
mov ecx, esi
push eax
call fcn.00404700
mov dword [ebp - 0x2c8], 1
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x268]
cmp edx, 8
jb 0x40395a
mov ecx, dword [ebp - 0x27c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403950
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403fa8
push edx
push ecx
call fcn.00416de5
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 0x4039bb
mov ecx, dword [ebp - 0x264]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4039b1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403fad
push edx
push ecx
call fcn.00416de5
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 0x403f58
mov ecx, dword [ebp - 0x234]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403f4e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403fb2
jmp 0x403f4e
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x268]
cmp edx, 8
jb 0x403a62
mov ecx, dword [ebp - 0x27c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403a58
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403fb7
push edx
push ecx
call fcn.00416de5
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 0x430b20
mov dword [ebp - 0x284], eax
mov dword [ebp - 0x280], 7
mov word [ebp - 0x294], ax
call fcn.00404a00
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.00404a00
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x280]
cmp edx, 8
jb 0x403b57
mov ecx, dword [ebp - 0x294]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403b4d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403fbc
push edx
push ecx
call fcn.00416de5
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.00414000
mov edi, eax
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x234]
cmp eax, edi
je 0x403bc7
mov ecx, eax
call fcn.004049a0
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 0x403c0b
mov ecx, dword [ebp - 0x27c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403c01
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403fc1
push edx
push ecx
call fcn.00416de5
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.00409ac0
test al, al
je 0x403d67
mov edx, 0x10
lea ecx, [ebp - 0x234]
call fcn.0040a8c0
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 0x403cdb
mov ecx, dword [ebp - 0x24c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403cd1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403fc6
push edx
push ecx
call fcn.00416de5
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 0x403d3c
mov ecx, dword [ebp - 0x264]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403d32
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403fcb
push edx
push ecx
call fcn.00416de5
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 0x403f62
lea eax, [ebp - 0x2ac]
push eax
call fcn.00403480
mov byte [ebp - 4], 0xf
lea edx, [ebp - 0x234]
lea ecx, [ebp - 0x2ac]
call fcn.0040a2f0
lea ecx, [ebp - 0x234]
call fcn.00409ac0
test al, al
je 0x403e5d
mov edx, 0x10
lea ecx, [ebp - 0x234]
call fcn.0040a8c0
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 0x403e3b
mov ecx, dword [ebp - 0x2ac]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403e31
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403fd0
push edx
push ecx
call fcn.00416de5
add esp, 8
xor eax, eax
mov dword [ebp - 0x29c], 0
mov dword [ebp - 0x298], 7
mov word [ebp - 0x2ac], ax
jmp 0x403c97
xor eax, eax
mov dword [esi + 0x10], 0
push eax
mov dword [esi + 0x14], 7
mov ecx, esi
push 0x430d88
mov word [esi], ax
call fcn.00404a00
mov dword [ebp - 0x2c8], 1
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x298]
cmp edx, 8
jb 0x403ecb
mov ecx, dword [ebp - 0x2ac]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403ec1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403fc6
push edx
push ecx
call fcn.00416de5
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 0x403f2c
mov ecx, dword [ebp - 0x24c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403f22
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403fc6
push edx
push ecx
call fcn.00416de5
add esp, 8
xor eax, eax
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 7
mov word [ebp - 0x24c], ax
jmp 0x403977
push edx
push ecx
call fcn.00416de5
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.004166c4
mov esp, ebp
pop ebp
ret 4
call fcn.0041a022
call fcn.0041a022
call fcn.0041a022
call fcn.0041a022
call fcn.0041a022
call fcn.0041a022
call fcn.0041a022
call fcn.0041a022
call fcn.0041a022
call fcn.0041a022
call fcn.0041a022
call fcn.0041a022
call fcn.0041a022
int3