Function at 0x10021990
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e3f67
mov eax, dword fs:[0]
push eax
sub esp, 0x188
mov eax, dword [0x10123068]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0xdc]
call fcn.100093e0
mov dword [ebp - 4], 0
lea eax, [ebp - 0xdc]
push eax
call fcn.10021730
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x10021a07
mov byte [ebp - 0x16d], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xdc]
call fcn.10002b50
mov al, byte [ebp - 0x16d]
jmp 0x10021ebb
lea ecx, [ebp - 0xdc]
call fcn.1002bc70
movzx edx, al
test edx, edx
jne 0x10021a3d
mov byte [ebp - 0x16e], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xdc]
call fcn.10002b50
mov al, byte [ebp - 0x16e]
jmp 0x10021ebb
mov eax, 0x41
mov word [ebp - 0x38], ax
mov ecx, 0x70
mov word [ebp - 0x36], cx
mov edx, 0x70
mov word [ebp - 0x34], dx
mov eax, 0x4c
mov word [ebp - 0x32], ax
mov ecx, 0x6f
mov word [ebp - 0x30], cx
mov edx, 0x61
mov word [ebp - 0x2e], dx
mov eax, 0x64
mov word [ebp - 0x2c], ax
mov ecx, 0x49
mov word [ebp - 0x2a], cx
mov edx, 0x6e
mov word [ebp - 0x28], dx
mov eax, 0x66
mov word [ebp - 0x26], ax
mov ecx, 0x6f
mov word [ebp - 0x24], cx
xor edx, edx
mov word [ebp - 0x22], dx
mov eax, 0x56
mov word [ebp - 0x20], ax
mov ecx, 0x65
mov word [ebp - 0x1e], cx
mov edx, 0x72
mov word [ebp - 0x1c], dx
mov eax, 0x73
mov word [ebp - 0x1a], ax
mov ecx, 0x69
mov word [ebp - 0x18], cx
mov edx, 0x6f
mov word [ebp - 0x16], dx
mov eax, 0x6e
mov word [ebp - 0x14], ax
xor ecx, ecx
mov word [ebp - 0x12], cx
push 0x40
push 0
lea edx, [ebp - 0xac]
push edx
call fcn.100bc780
add esp, 0xc
lea ecx, [ebp - 0xdc]
call fcn.10002b10
push eax
push 0x20
lea eax, [ebp - 0xac]
push eax
push 0x101027cc
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [ebp - 0x17c], 0x101027cc
lea eax, [ebp - 0xac]
mov dword [ebp - 0x178], eax
mov ecx, dword [ebp - 0x178]
mov dx, word [ecx]
mov word [ebp - 0x17e], dx
mov eax, dword [ebp - 0x17c]
cmp dx, word [eax]
jne 0x10021ba2
cmp word [ebp - 0x17e], 0
je 0x10021b96
mov ecx, dword [ebp - 0x178]
mov dx, word [ecx + 2]
mov word [ebp - 0x180], dx
mov eax, dword [ebp - 0x17c]
cmp dx, word [eax + 2]
jne 0x10021ba2
add dword [ebp - 0x178], 4
add dword [ebp - 0x17c], 4
cmp word [ebp - 0x180], 0
jne 0x10021b3c
mov dword [ebp - 0x184], 0
jmp 0x10021bad
sbb ecx, ecx
or ecx, 1
mov dword [ebp - 0x184], ecx
mov edx, dword [ebp - 0x184]
mov dword [ebp - 0x188], edx
cmp dword [ebp - 0x188], 0
jne 0x10021be6
mov byte [ebp - 0x16f], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xdc]
call fcn.10002b50
mov al, byte [ebp - 0x16f]
jmp 0x10021ebb
lea eax, [ebp - 0xc4]
push eax
call fcn.10022880
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xc4]
call fcn.10002af0
movzx ecx, al
test ecx, ecx
je 0x10021c3e
mov byte [ebp - 0x170], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc4]
call fcn.10002b50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xdc]
call fcn.10002b50
mov al, byte [ebp - 0x170]
jmp 0x10021ebb
mov edx, 0x32
mov word [ebp - 0x6c], dx
mov eax, 0x33
mov word [ebp - 0x6a], ax
mov ecx, 0x34
mov word [ebp - 0x68], cx
mov edx, 0x35
mov word [ebp - 0x66], dx
mov eax, 0x45
mov word [ebp - 0x64], ax
mov ecx, 0x78
mov word [ebp - 0x62], cx
mov edx, 0x70
mov word [ebp - 0x60], dx
mov eax, 0x6c
mov word [ebp - 0x5e], ax
mov ecx, 0x6f
mov word [ebp - 0x5c], cx
mov edx, 0x72
mov word [ebp - 0x5a], dx
mov eax, 0x65
mov word [ebp - 0x58], ax
mov ecx, 0x72
mov word [ebp - 0x56], cx
xor edx, edx
mov word [ebp - 0x54], dx
mov eax, 0x41
mov word [ebp - 0x50], ax
mov ecx, 0x70
mov word [ebp - 0x4e], cx
mov edx, 0x70
mov word [ebp - 0x4c], dx
mov eax, 0x6c
mov word [ebp - 0x4a], ax
mov ecx, 0x69
mov word [ebp - 0x48], cx
mov edx, 0x63
mov word [ebp - 0x46], dx
mov eax, 0x61
mov word [ebp - 0x44], ax
mov ecx, 0x74
mov word [ebp - 0x42], cx
mov edx, 0x69
mov word [ebp - 0x40], dx
mov eax, 0x6f
mov word [ebp - 0x3e], ax
mov ecx, 0x6e
mov word [ebp - 0x3c], cx
xor edx, edx
mov word [ebp - 0x3a], dx
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0xf4]
call fcn.10009390
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xf4]
push ecx
lea edx, [ebp - 0xc4]
lea ecx, [ebp - 0x13c]
call fcn.10031b20
add esp, 4
mov dword [ebp - 0x18c], eax
mov edx, dword [ebp - 0x18c]
push edx
lea ecx, [ebp - 0xc4]
call fcn.10009350
lea ecx, [ebp - 0x13c]
call fcn.10002b50
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xf4]
call fcn.10002b50
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x10c]
call fcn.10009390
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x10c]
push ecx
lea edx, [ebp - 0xc4]
lea ecx, [ebp - 0x154]
call fcn.10031b20
add esp, 4
mov dword [ebp - 0x190], eax
mov edx, dword [ebp - 0x190]
push edx
lea ecx, [ebp - 0xc4]
call fcn.10009350
lea ecx, [ebp - 0x154]
call fcn.10002b50
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10c]
call fcn.10002b50
lea eax, [ebp - 0xac]
push eax
lea ecx, [ebp - 0x124]
call fcn.10009390
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x124]
push ecx
lea edx, [ebp - 0xc4]
lea ecx, [ebp - 0x16c]
call fcn.10031b20
add esp, 4
mov dword [ebp - 0x194], eax
mov edx, dword [ebp - 0x194]
push edx
lea ecx, [ebp - 0xc4]
call fcn.10009350
lea ecx, [ebp - 0x16c]
call fcn.10002b50
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x124]
call fcn.10002b50
lea ecx, [ebp - 0xc4]
call fcn.1002bd80
movzx eax, al
test eax, eax
jne 0x10021e7e
mov byte [ebp - 0x171], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc4]
call fcn.10002b50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xdc]
call fcn.10002b50
mov al, byte [ebp - 0x171]
jmp 0x10021ebb
lea ecx, [ebp - 0xc4]
push ecx
mov ecx, dword [ebp + 8]
call fcn.1000e1d0
mov byte [ebp - 0x172], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc4]
call fcn.10002b50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xdc]
call fcn.10002b50
mov al, byte [ebp - 0x172]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100ba074
mov esp, ebp
pop ebp
ret