Function at 0x411100
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x537f63
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x93c
mov eax, dword [0x5ab980]
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x24], esi
mov dword [esp + 0x10], eax
mov edx, dword [esi + 4]
xor ecx, ecx
mov dword [esp + 0x954], ecx
mov dword [esp + 0x28], ecx
mov eax, dword [edx + 0xa8]
push eax
lea eax, [esp + 0x150]
push 0x800
push eax
push ecx
push ecx
mov ecx, dword [esp + 0x970]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov al, byte [esp + 0x14c]
lea edx, [esp + 0x14c]
test al, al
mov dword [esp + 0x20], edx
je 0x411496
mov bl, 3
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x44]
mov eax, dword [eax + 0xa8]
push eax
mov eax, dword [esp + 0x960]
push 0x105
push ecx
push 0
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov al, byte [esp + 0x44]
test al, al
je case.0x4111d1.2
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x14]
call fcn.00512a6d
mov eax, dword [esp + 0x960]
cmp eax, 4
ja case.0x4111d1.2
jmp dword [eax*4 + 0x4114c8]
push 0
push 0x5966bc
lea ecx, [esp + 0x18]
call fcn.0050e34f
cmp eax, 0xffffffff
je case.0x4111d1.2
mov ecx, dword [esi + 4]
lea edx, [esp + 0x10]
push edx
call fcn.00407e10
jmp case.0x4111d1.2
push 0
push 0x5966bc
lea ecx, [esp + 0x18]
call fcn.0050e34f
jmp case.0x4111d1.2
mov eax, dword [esp + 0x10]
push str.HKEY_
push eax
call fcn.00422ad0
add esp, 8
test eax, eax
je case.0x4111d1.2
push 0
push 0x2c
lea ecx, [esp + 0x18]
call fcn.00512db9
cmp eax, 0xffffffff
je 0x411250
push 0x5c
push eax
lea ecx, [esp + 0x18]
call fcn.00512e3c
push 0
push 0
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
call fcn.00512659
mov ecx, dword [esi + 4]
call fcn.00407760
jmp case.0x4111d1.2
push 0
push 0x598328
lea ecx, [esp + 0x18]
call fcn.0050e34f
mov ebp, eax
cmp ebp, 0xffffffff
je case.0x4111d1.2
mov eax, dword [0x5ab980]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], eax
push ebp
lea eax, [esp + 0x30]
push 0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x960], bl
call fcn.0050e195
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x958], 4
call fcn.00512a1d
lea ecx, [esp + 0x2c]
mov byte [esp + 0x954], bl
call fcn.005128e4
mov ecx, dword [esp + 0x18]
push str.HKEY_
push ecx
call fcn.00422ad0
add esp, 8
test eax, eax
je 0x41142f
lea edi, [ebp + 2]
lea ecx, [esp + 0x10]
push edi
push 0x598328
call fcn.0050e34f
mov esi, eax
cmp esi, 0xffffffff
je 0x4113aa
mov edx, esi
lea eax, [esp + 0x34]
sub edx, ebp
lea ecx, [esp + 0x10]
sub edx, 2
push edx
push edi
push eax
call fcn.0050e195
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x958], 5
call fcn.00512a1d
lea ecx, [esp + 0x34]
mov byte [esp + 0x954], bl
call fcn.005128e4
mov edi, esi
add esi, 2
push esi
push 0x598328
lea ecx, [esp + 0x18]
call fcn.0050e34f
cmp eax, 0xffffffff
je 0x4113aa
sub eax, edi
lea ecx, [esp + 0x40]
sub eax, 2
push eax
push esi
push ecx
lea ecx, [esp + 0x1c]
call fcn.0050e195
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x958], 6
call fcn.00512a1d
lea ecx, [esp + 0x40]
mov byte [esp + 0x954], bl
call fcn.005128e4
lea ecx, [esp + 0x14]
call fcn.0050e8af
lea ecx, [esp + 0x14]
call fcn.0050e7b8
lea edx, [esp + 0x18]
push 0x5971e8
lea eax, [esp + 0x34]
push edx
push eax
call fcn.00512b79
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x3c]
push ecx
push eax
push edx
mov byte [esp + 0x960], 7
call fcn.00512b13
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x958], 8
call fcn.00512a1d
lea ecx, [esp + 0x3c]
mov byte [esp + 0x954], 7
call fcn.005128e4
lea ecx, [esp + 0x30]
mov byte [esp + 0x954], bl
call fcn.005128e4
lea eax, [esp + 0x14]
lea edx, [esp + 0x10]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
call fcn.00512659
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 4]
call fcn.00407cf0
mov esi, dword [esp + 0x24]
lea ecx, [esp + 0x14]
mov byte [esp + 0x954], 2
call fcn.005128e4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x954], 1
call fcn.005128e4
lea ecx, [esp + 0x18]
mov byte [esp + 0x954], 0
call fcn.005128e4
mov edi, dword [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x28]
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [edx + ecx + 1]
mov cl, byte [esp + eax + 0x14c]
mov dword [esp + 0x28], eax
lea eax, [esp + eax + 0x14c]
test cl, cl
mov dword [esp + 0x20], eax
jne 0x41117e
lea ecx, [esp + 0x10]
mov dword [esp + 0x954], 0xffffffff
call fcn.005128e4
mov ecx, dword [esp + 0x94c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x948
ret 8