Function at 0x412670
Capabilities:
Query environment variable
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb4
mov dword [ebp - 8], 0x74da
mov dword [ebp - 4], 0x8f5d
mov dword [ebp - 0x30], 0x2b0e
mov dword [ebp - 0x40], 0x111ca
mov dword [ebp - 0x14], 0x17230
mov dword [ebp - 0x5c], 0x102e6
mov dword [ebp - 0x88], 0xc539
mov dword [ebp - 0x20], 0xd178
mov dword [ebp - 0x60], 0x1691f
mov dword [ebp - 0x18], 0x1561f
mov dword [ebp - 0x3c], 0x14a18
mov dword [ebp - 0x10], 0xb9ac
mov dword [ebp - 0x84], 0x43af
mov dword [ebp - 0x58], 0x8f04
mov dword [ebp - 0xa4], 0x9b58
mov dword [ebp - 0x50], 0x129c0
mov dword [ebp - 0x34], 0x1674f
mov dword [ebp - 0xc], 0xaa0d
mov dword [ebp - 0x1c], 0xccc3
mov dword [ebp - 0xb0], 0xc5cf
mov dword [ebp - 0x28], 0x16d88
mov dword [ebp - 0x24], 0x1475a
mov dword [ebp - 0x38], 0x7fd4
mov dword [ebp - 0x2c], 0x15f6c
mov dword [ebp - 0x44], 0x12afb
mov dword [ebp - 0x48], 0
jmp 0x412746
mov eax, dword [ebp - 0x48]
add eax, 1
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x3c]
sub ecx, 0x14a17
cmp dword [ebp - 0x48], ecx
jge 0x41275f
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
jmp 0x41273d
mov eax, dword [ebp - 0x3c]
sub eax, 0x11c00
push eax
mov ecx, dword [ebp - 0x30]
add ecx, 0x1510c
push ecx
mov edx, dword [ebp - 8]
add edx, 0x3511
push edx
mov eax, dword [ebp - 0x5c]
add eax, 0x8178
push eax
mov ecx, dword [ebp - 0x1c]
sub ecx, 0x1edd
push ecx
mov edx, dword [ebp + 8]
add edx, 0x6e0f
push edx
mov eax, dword [ebp - 0x44]
sub eax, 0xed89
push eax
mov ecx, dword [ebp - 0x30]
add ecx, 0x862e
push ecx
mov edx, dword [ebp - 0x60]
sub edx, 0x15098
push edx
mov eax, dword [ebp - 0x24]
sub eax, 0xba32
push eax
call fcn.0041edb0
add esp, 0x28
mov dword [ebp - 0x4c], 0
jmp 0x4127d9
mov ecx, dword [ebp - 0x4c]
add ecx, 1
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x50]
sub edx, 0x129bf
cmp dword [ebp - 0x4c], edx
jge 0x4127f2
mov eax, dword [ebp - 0x40]
sub eax, 1
mov dword [ebp - 0x40], eax
jmp 0x4127d0
mov ecx, dword [ebp - 0x30]
add ecx, 0x115b8
push ecx
mov edx, dword [ebp - 0x2c]
sub edx, 0x66da
push edx
mov eax, dword [ebp - 0x50]
sub eax, 0xb79b
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xa8c5
push ecx
mov edx, dword [ebp - 0x2c]
sub edx, 0x67f9
push edx
call fcn.0041b2f0
add esp, 0x14
mov dword [ebp - 0x54], 0
jmp 0x41283d
mov eax, dword [ebp - 0x54]
add eax, 1
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x50]
sub ecx, 0x129bf
cmp dword [ebp - 0x54], ecx
jge 0x412ca0
mov edx, dword [ebp - 0x20]
or edx, dword [ebp - 0x38]
cmp edx, dword [ebp - 0x60]
jge 0x412c9b
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x1c]
jge 0x41286f
mov dword [ebp - 0x64], 1
jmp 0x412876
mov dword [ebp - 0x64], 0
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
imul edx, dword [ebp - 0x3c]
or edx, dword [ebp - 0x64]
je 0x412c9b
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0x2c]
jne 0x412c9b
mov ecx, dword [ebp - 0x2c]
cmp ecx, dword [ebp - 0x58]
jne 0x412c9b
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 0x28]
jne 0x412c9b
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x20]
jne 0x412c9b
push 0x16e55
push 0x125cf
push 0x1d11
push 0xe028
push 0xc84e
push 0x69f4
push 0x7969
push 0x8e25
push 0xfdf8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
add esp, 0x24
mov ecx, dword [ebp - 0x38]
cmp ecx, dword [ebp - 0x10]
jge 0x412906
mov dword [ebp - 0x68], 1
jmp 0x41290d
mov dword [ebp - 0x68], 0
mov edx, dword [ebp - 0xc]
sub edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x34]
jge 0x412927
mov dword [ebp - 0x6c], 1
jmp 0x41292e
mov dword [ebp - 0x6c], 0
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x9c], ecx
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0xa0], edx
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x9c]
cmp ecx, dword [ebp - 0xa0]
jge 0x412960
mov dword [ebp - 0x70], 1
jmp 0x412967
mov dword [ebp - 0x70], 0
mov edx, dword [ebp - 0x28]
or edx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x6c]
and eax, dword [ebp - 0x70]
or edx, eax
je 0x412c83
mov ecx, dword [ebp - 0x44]
cmp ecx, dword [ebp - 0x84]
jne 0x412c83
mov edx, dword [ebp - 0x3c]
cmp edx, dword [ebp - 0x1c]
jne 0x412c83
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x30]
jne 0x412c83
mov ecx, dword [ebp - 0x2c]
cmp ecx, dword [ebp - 0x10]
jne 0x412c83
mov edx, dword [ebp - 0x20]
add edx, dword [ebp - 0x18]
je 0x412c83
mov eax, dword [ebp - 0x88]
cmp eax, dword [ebp - 0x34]
jge 0x412c83
mov ecx, dword [ebp - 0x58]
cmp ecx, dword [ebp - 8]
jne 0x412c83
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebp - 8]
jne 0x412c83
mov eax, dword [ebp - 0x24]
or eax, dword [ebp - 0xa4]
cmp eax, dword [ebp - 0x5c]
jge 0x4129f8
mov dword [ebp - 0x74], 1
jmp 0x4129ff
mov dword [ebp - 0x74], 0
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xa8], ecx
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0xac], edx
mov eax, dword [ebp - 8]
sub eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0xa8]
cmp ecx, dword [ebp - 0xac]
jge 0x412a31
mov dword [ebp - 0x78], 1
jmp 0x412a38
mov dword [ebp - 0x78], 0
mov edx, dword [ebp - 0x74]
and edx, dword [ebp - 0x78]
or edx, dword [ebp - 0x44]
or edx, dword [ebp - 0x1c]
je 0x412c83
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x14]
jne 0x412c83
mov ecx, dword [ebp - 0x34]
cmp ecx, dword [ebp - 0xc]
jne 0x412c83
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp - 0x18]
jne 0x412c83
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0x20]
jne 0x412c83
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 0x38]
jne 0x412c83
push 0xfbde
push 0x15eb
push 0x17813
push 0x34e1
push 0x6a26
push 0x11b50
push 0xfac8
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
add esp, 0x1c
mov edx, dword [ebp - 0x58]
cmp edx, dword [ebp - 0x28]
jge 0x412ac3
mov dword [ebp - 0x7c], 1
jmp 0x412aca
mov dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 8]
jge 0x412adb
mov dword [ebp - 0x80], 1
jmp 0x412ae2
mov dword [ebp - 0x80], 0
mov ecx, dword [ebp - 0x40]
and ecx, dword [ebp - 0x7c]
or ecx, dword [ebp - 0x80]
je 0x412c75
mov edx, dword [ebp - 0x5c]
cmp edx, dword [ebp - 4]
jne 0x412c75
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x44]
jne 0x412c75
mov ecx, dword [ebp - 0x28]
cmp ecx, dword [ebp - 0x1c]
jne 0x412c75
mov edx, dword [ebp - 0x84]
cmp edx, dword [ebp - 0x88]
jne 0x412c75
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x34]
jne 0x412c75
push 0xc027
push 0x41c
push 0xa2c9
push 0x171a8
push 0x12bb8
push 0x4726
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStructA]
add esp, 0x18
mov ecx, dword [ebp - 0xb0]
cmp ecx, dword [ebp - 0x14]
jge 0x412b71
mov dword [ebp - 0x8c], 1
jmp 0x412b7b
mov dword [ebp - 0x8c], 0
mov edx, dword [ebp - 0x10]
or edx, dword [ebp - 0xc]
cmp edx, dword [ebp - 4]
jge 0x412b92
mov dword [ebp - 0x90], 1
jmp 0x412b9c
mov dword [ebp - 0x90], 0
mov eax, dword [ebp - 0x18]
imul eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x8c]
and ecx, dword [ebp - 0x90]
or eax, ecx
mov dword [ebp - 0xb4], eax
mov edx, dword [ebp - 0x18]
sub edx, 1
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0xb4], 0
je 0x412c75
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x24]
jge 0x412c49
mov ecx, dword [ebp + 8]
cmp ecx, dword [ebp - 4]
jne 0x412c49
mov edx, dword [ebp - 0x28]
cmp edx, dword [ebp - 0x38]
jne 0x412c49
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x10]
jne 0x412c49
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 0x10]
jge 0x412c01
mov dword [ebp - 0x98], 1
jmp 0x412c0b
mov dword [ebp - 0x98], 0
mov edx, dword [ebp - 0x28]
sub edx, dword [ebp - 0x1c]
cmp edx, dword [ebp - 4]
jge 0x412c22
mov dword [ebp - 0x94], 1
jmp 0x412c2c
mov dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x20]
or eax, dword [ebp - 0x14]
and eax, dword [ebp - 0x94]
or eax, dword [ebp - 0x98]
je 0x412c49
mov ecx, dword [ebp - 0x14]
sub ecx, 1
mov dword [ebp - 0x14], ecx
push 0x291f
push 0x2429
push 0xcb77
push 0xfa26
push 0x27ee
push 0xa24c
push 0x8704
call dword [sym.imp.KERNEL32.dll_CloseThreadpoolTimer]
add esp, 0x1c
push 0x15fe1
call dword [sym.imp.KERNEL32.dll_FatalAppExitA]
add esp, 4
push 0x5a18
push 0x169c2
push 0xed0a
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
add esp, 0xc
jmp 0x412834
mov esp, ebp
pop ebp
ret