Function at 0x414a40
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56a46f
mov eax, dword fs:[0]
push eax
sub esp, 0x16c
push ebx
push esi
push edi
mov eax, dword [0x5e2500]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3c], ecx
xor ebx, ebx
push str.GetConditionMessage
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x44], ebx
call fcn.00404670
mov ecx, dword [ebp + 8]
mov edi, 1
push 0x580060
mov dword [ebp - 4], edi
call fcn.00404670
push 0xa
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x44], edi
call fcn.00455312
push 0x580060
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.00404670
lea eax, [ebp - 0x20]
push eax
mov ecx, 0x5e3c90
mov byte [ebp - 4], 3
call fcn.004261a0
mov esi, dword [eax]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx - 8]
mov ecx, edi
sub ecx, dword [edx - 4]
mov edi, 0x400
sub eax, edi
or eax, ecx
mov byte [ebp - 4], 4
jge 0x414af3
push edi
lea ecx, [ebp - 0x10]
call fcn.00401de0
mov edx, dword [ebp - 0x10]
cmp dword [edx - 8], edi
jge 0x414b02
push 0x80070057
call fcn.00401330
push esi
push edi
push edx
push 0x580060
mov dword [edx - 0xc], edi
mov eax, dword [ebp - 0x10]
push 0x583d3c
xor ecx, ecx
push 0x583d28
mov word [eax + 0x800], cx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
mov byte [ebp - 4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414b4c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.0054d87f
add esp, 8
cmp eax, ebx
jl 0x414af8
mov ecx, dword [ebp - 0x10]
cmp eax, dword [ecx - 8]
jg 0x414af8
mov dword [ecx - 0xc], eax
mov edx, dword [ebp - 0x10]
xor ecx, ecx
mov word [edx + eax*2], cx
lea eax, [ebp - 0x88]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
push 0x583d24
call fcn.00404670
mov eax, dword [ebp - 0x10]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x24], esp
mov esi, esp
push eax
mov byte [ebp - 4], 5
call fcn.00401e40
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov ecx, 0x5e3e60
mov byte [ebp - 4], 3
call fcn.0042eac0
mov eax, dword [ebp - 0x80]
mov ecx, eax
cmp eax, ebx
jne 0x414c59
mov esi, dword [ebp + 8]
push 0x580720
push 0x583d10
mov ecx, esi
call fcn.00402a70
push 0x583d0c
push str._TAB_
mov ecx, esi
call fcn.00402a70
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414c0c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 1
call fcn.00455440
mov eax, dword [ebp - 0x48]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414c3e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 0x20]
xor ebx, ebx
mov eax, ecx
cmp ecx, ebx
je 0x4151de
mov ecx, dword [ecx + 4]
mov esi, dword [eax + 8]
mov dword [ebp - 0x20], ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi - 4], ebx
lea ecx, [esi - 4]
jl 0x414c91
cmp eax, dword [esi - 0x10]
jne 0x414c91
lea edi, [esi - 0x10]
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x414cc9
mov ecx, dword [esi - 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
cmp edi, ebx
je 0x4151e3
mov eax, dword [esi - 0xc]
mov dword [edi + 4], eax
mov eax, dword [esi - 0xc]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.0054cda6
add esp, 0x10
lea eax, [edi + 0x10]
mov dword [ebp - 0x4c], eax
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], ebx
push ecx
lea ebx, [eax - 0x10]
push ecx
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x24], esp
mov byte [ebp - 4], 6
mov edi, esp
mov dword [ebp - 0x24], ebx
call eax
cmp dword [ebx + 0xc], 0
lea ecx, [ebx + 0xc]
jl 0x414d09
cmp eax, dword [ebx]
jne 0x414d09
mov esi, ebx
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x414d44
mov ecx, dword [ebx + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov esi, eax
test esi, esi
je 0x4151e3
mov eax, dword [ebx + 4]
mov dword [esi + 4], eax
mov eax, dword [ebx + 4]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [ebx + 0x10]
push edx
lea eax, [eax + eax + 2]
push eax
lea ecx, [esi + 0x10]
push ecx
call fcn.0054cda6
add esp, 0x10
add esi, 0x10
mov ecx, 0x5e3e60
mov dword [edi], esi
call fcn.0042df70
push 0x580060
lea ecx, [ebp - 0x34]
call fcn.00404670
mov ecx, 0x5e3c90
mov byte [ebp - 4], 7
call fcn.00426ef0
cmp eax, dword [ebp - 0x30]
jne 0x41518f
push ecx
mov edx, esp
mov dword [ebp - 0x18], esp
push edx
mov ecx, 0x5e3c90
call fcn.004261a0
lea ecx, [ebp - 0x178]
call fcn.00441250
push 0xa
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 8
call fcn.00455312
lea eax, [ebp - 0x6c]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0x583d24
mov byte [ebp - 4], 9
call fcn.00404670
mov esi, dword [0x5e3c78]
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x2c], esp
mov dword [ebp - 0x1c], esp
call eax
cmp dword [esi - 4], 0
lea edx, [esi - 4]
jl 0x414df0
cmp eax, dword [esi - 0x10]
jne 0x414df0
lea edi, [esi - 0x10]
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x414e28
mov ecx, dword [esi - 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x4151e3
mov eax, dword [esi - 0xc]
mov dword [edi + 4], eax
mov eax, dword [esi - 0xc]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.0054cda6
add esp, 0x10
mov ecx, dword [ebp - 0x1c]
add edi, 0x10
mov dword [ecx], edi
mov ecx, 0x5e3e60
mov byte [ebp - 4], 9
call fcn.0042eac0
mov ecx, dword [ebp - 0x3c]
lea edx, [ebp - 0x6c]
push edx
call fcn.0040f8a0
mov ecx, eax
test ecx, ecx
jle 0x415174
mov eax, 0x226
cdq
idiv ecx
mov esi, dword [ebp - 0x64]
mov edi, esi
sub eax, 0xf
mov dword [ebp - 0x2c], eax
test esi, esi
je 0x415174
jmp 0x414e74
mov edi, dword [ebp - 0x1c]
mov eax, edi
test edi, edi
je 0x4151de
mov ecx, dword [edi + 4]
mov esi, dword [eax + 8]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi - 4], 0
lea ecx, [esi - 4]
jl 0x414ead
cmp eax, dword [esi - 0x10]
jne 0x414ead
lea edi, [esi - 0x10]
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x414ee5
mov ecx, dword [esi - 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x4151e3
mov eax, dword [esi - 0xc]
mov dword [edi + 4], eax
mov eax, dword [esi - 0xc]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.0054cda6
add esp, 0x10
lea eax, [edi + 0x10]
mov dword [ebp - 0x50], eax
push ecx
mov ecx, dword [eax - 0x10]
mov edx, dword [ecx]
lea ebx, [eax - 0x10]
mov eax, dword [edx + 0x10]
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x18], esp
mov edi, esp
call eax
cmp dword [ebx + 0xc], 0
lea ecx, [ebx + 0xc]
jl 0x414f1c
cmp eax, dword [ebx]
jne 0x414f1c
mov esi, ebx
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x414f57
mov ecx, dword [ebx + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov esi, eax
test esi, esi
je 0x4151e3
mov eax, dword [ebx + 4]
mov dword [esi + 4], eax
mov eax, dword [ebx + 4]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [ebx + 0x10]
push edx
lea eax, [eax + eax + 2]
push eax
lea ecx, [esi + 0x10]
push ecx
call fcn.0054cda6
add esp, 0x10
add esi, 0x10
mov dword [edi], esi
mov ecx, 0x5e3c90
mov byte [ebp - 4], 0xc
call fcn.00426ef0
push eax
lea edx, [ebp - 0x14]
push edx
lea ecx, [ebp - 0x178]
mov byte [ebp - 4], 0xb
call fcn.00444ae0
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
mov byte [ebp - 4], 0xd
je 0x415127
push eax
push 0x580584
push str.Condition_Message
push 0xb
push 0x5e3e78
call fcn.0042b490
mov esi, dword [ebp - 0x14]
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
add esp, 0x14
call edx
cmp dword [esi - 4], 0
lea edx, [esi - 4]
jl 0x414fd2
cmp eax, dword [esi - 0x10]
jne 0x414fd2
lea edi, [esi - 0x10]
mov eax, 1
lock xadd dword [edx], eax
jmp 0x41500a
mov ecx, dword [esi - 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x4151e3
mov eax, dword [esi - 0xc]
mov dword [edi + 4], eax
mov eax, dword [esi - 0xc]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.0054cda6
add esp, 0x10
lea esi, [edi + 0x10]
mov dword [ebp - 0x28], esi
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 0xe
cmp dword [ecx - 0xc], eax
jle 0x4150ea
push eax
push 0
lea edx, [ebp - 0x38]
push edx
lea ecx, [ebp - 0x14]
call fcn.004030d0
push 0x581c00
push eax
lea eax, [ebp - 0x40]
push eax
mov byte [ebp - 4], 0xf
call fcn.00403880
add esp, 0xc
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea edi, [esi - 0x10]
mov byte [ebp - 4], 0x10
cmp eax, edi
je 0x4150a4
cmp dword [edi + 0xc], 0
lea esi, [edi + 0xc]
jl 0x415094
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x415094
push eax
call fcn.00401e40
mov dword [ebp - 0x18], eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [esi], eax
dec eax
test eax, eax
jg 0x415089
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov esi, dword [ebp - 0x18]
add esi, 0x10
mov dword [ebp - 0x28], esi
jmp 0x4150a4
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.00402870
mov esi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x40]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xf
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4150c7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xe
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4150ea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi - 0xc]
mov edi, dword [ebp + 8]
push eax
push esi
mov ecx, edi
call fcn.00403250
push 9
push 0x583d10
mov ecx, edi
call fcn.00403250
lea eax, [esi - 0x10]
mov byte [ebp - 4], 0xd
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415127
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xb
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41514a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 9
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415167
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
cmp dword [ebp - 0x1c], 0
jne 0x414e71
mov ebx, dword [ebp - 0x24]
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 8
call fcn.00455440
lea ecx, [ebp - 0x178]
mov byte [ebp - 4], 7
call fcn.00444df0
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
mov byte [ebp - 4], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4151b2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4151cf
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
cmp dword [ebp - 0x20], 0
jne 0x414c54
jmp 0x414bc4
call fcn.0044a5b1
call fcn.00401940
int3