Function at 0x42ae50
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x5d26e8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
lea ecx, [esi + 0x444]
call fcn.00404160
mov ecx, 0x58a919
mov eax, edi
lea ecx, [ecx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x42aea0
test dl, dl
je 0x42ae9c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x42aea0
add eax, 2
add ecx, 2
test dl, dl
jne 0x42ae80
xor eax, eax
jmp 0x42aea5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x42af09
mov ecx, str.localhost
mov eax, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x42aed0
test dl, dl
je 0x42aecc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x42aed0
add eax, 2
add ecx, 2
test dl, dl
jne 0x42aeb0
xor eax, eax
jmp 0x42aed5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x42af09
mov ecx, 0x57cc38
mov eax, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x42af00
test dl, dl
je 0x42aefc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x42af00
add eax, 2
add ecx, 2
test dl, dl
jne 0x42aee0
xor eax, eax
jmp 0x42af05
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x42af24
cmp byte [esi + 0x450], 0
je 0x42af24
push 1
push 0x58a919
mov ecx, esi
call fcn.0042a5b0
test al, al
jne 0x42af6f
mov ecx, 0x58a919
mov eax, edi
jmp 0x42af30
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x42af50
test dl, dl
je 0x42af4c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x42af50
add eax, 2
add ecx, 2
test dl, dl
jne 0x42af30
xor eax, eax
jmp 0x42af55
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x42b23d
push 1
push edi
mov ecx, esi
call fcn.0042a5b0
test al, al
je 0x42b23d
cmp word [esi + 0x12], 0
jne 0x42b225
mov dword [ebp - 0x120], 0x19
mov dword [ebp - 0x124], 0
lea ebx, [esi + 0x14]
movzx edi, word [ebp - 0x120]
lea eax, [ebp - 0x10c]
push eax
push edi
push ebx
mov byte [ebp - 0x10d], 0
call fcn.00469d00
mov word [esi + 0x12], ax
test ax, ax
jne 0x42afc6
mov cx, word [ebp - 0x10c]
mov word [ebp - 0x112], cx
jmp 0x42afda
lea eax, [esi + 0x444]
push str.Failed_read
push eax
call fcn.0041a6a0
add esp, 8
lea edx, [ebp - 0x10c]
push edx
lea eax, [edi + 1]
push eax
push ebx
call fcn.00469d00
mov word [esi + 0x12], ax
test ax, ax
jne 0x42b004
mov cx, word [ebp - 0x10c]
mov word [ebp - 0x114], cx
jmp 0x42b018
lea eax, [esi + 0x444]
push str.Failed_read
push eax
call fcn.0041a6a0
add esp, 8
lea edx, [ebp - 0x10c]
push edx
lea eax, [edi + 2]
push eax
push ebx
call fcn.00469d00
mov word [esi + 0x12], ax
test ax, ax
jne 0x42b042
mov cx, word [ebp - 0x10c]
mov word [ebp - 0x116], cx
jmp 0x42b056
lea eax, [esi + 0x444]
push str.Failed_read
push eax
call fcn.0041a6a0
add esp, 8
lea edx, [ebp - 0x10c]
push edx
lea eax, [edi + 3]
push eax
push ebx
call fcn.00469d00
mov word [esi + 0x12], ax
test ax, ax
jne 0x42b080
mov cx, word [ebp - 0x10c]
mov word [ebp - 0x118], cx
jmp 0x42b094
lea eax, [esi + 0x444]
push str.Failed_read
push eax
call fcn.0041a6a0
add esp, 8
lea edx, [ebp - 0x10c]
push edx
add edi, 4
push edi
push ebx
call fcn.00469d00
mov word [esi + 0x12], ax
test ax, ax
jne 0x42b0be
mov ax, word [ebp - 0x10c]
mov word [ebp - 0x11a], ax
jmp 0x42b0d2
lea eax, [esi + 0x444]
push str.Failed_read
push eax
call fcn.0041a6a0
add esp, 8
mov edi, dword [ebp - 0x124]
cmp edi, 3
ja case.default.0x42b0e1
jmp dword [edi*4 + 0x42b378]
mov edx, dword [ebp - 0x11c]
lea ecx, [esi + 0x420]
push ecx
mov ecx, dword [ebp - 0x118]
sub esp, 0xc
mov eax, esp
mov dword [eax], edx
mov edx, dword [ebp - 0x114]
mov dword [eax + 4], ecx
mov ecx, esi
mov dword [eax + 8], edx
call fcn.0042a120
cmp byte [ebp + 0xc], 0
je case.default.0x42b0e1
cmp byte [esi + 0x449], 0
jne case.default.0x42b0e1
mov byte [ebp - 0x10d], 1
jmp case.default.0x42b0e1
mov ecx, dword [ebp - 0x11c]
mov edx, dword [ebp - 0x118]
lea eax, [esi + 0x41c]
push eax
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp - 0x114]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov ecx, esi
call fcn.0042a120
cmp byte [ebp + 0xc], 0
je case.default.0x42b0e1
cmp byte [esi + 0x449], 1
jne case.default.0x42b0e1
mov byte [ebp - 0x10d], 1
jmp case.default.0x42b0e1
mov ecx, dword [ebp - 0x11c]
lea edx, [esi + 0x424]
push edx
mov edx, dword [ebp - 0x118]
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp - 0x114]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov ecx, esi
call fcn.0042a120
cmp byte [ebp + 0xc], 0
je case.default.0x42b0e1
cmp byte [esi + 0x449], 2
jne case.default.0x42b0e1
mov byte [ebp - 0x10d], 1
jmp case.default.0x42b0e1
mov ecx, dword [ebp - 0x11c]
lea edx, [esi + 0x428]
push edx
mov edx, dword [ebp - 0x118]
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp - 0x114]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov ecx, esi
call fcn.0042a120
add dword [ebp - 0x120], 5
cmp byte [ebp - 0x10d], 0
jne 0x42b217
inc edi
mov dword [ebp - 0x124], edi
cmp edi, 4
jb 0x42af91
push 0
mov ecx, esi
call fcn.00428070
jmp 0x42b363
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cdc91
mov esp, ebp
pop ebp
ret 8
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push str.TasManager.ini
push 0x104
lea edx, [ebp - 0x108]
push edx
push str.AAAA_AAAA_AAAA_AAAA
push str.LiteKey
push str.Keys
call edi
lea eax, [ebp - 0x108]
lea ecx, [eax + 1]
mov edi, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x42b270
sub eax, ecx
push eax
lea eax, [ebp - 0x108]
push eax
lea ecx, [esi + 0x420]
call fcn.00405fd0
push str.TasManager.ini
push 0x104
lea ecx, [ebp - 0x108]
push ecx
push str.AAAA_AAAA_AAAA_AAAA
push str.SysKey
push str.Keys
call edi
lea eax, [ebp - 0x108]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x42b2b7
sub eax, ecx
push eax
lea edx, [ebp - 0x108]
push edx
lea ecx, [esi + 0x41c]
call fcn.00405fd0
push str.TasManager.ini
push 0x104
lea eax, [ebp - 0x108]
push eax
push str.AAAA_AAAA_AAAA_AAAA
push str.AmbKey
push str.Keys
call edi
lea eax, [ebp - 0x108]
lea ecx, [eax + 1]
mov edi, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x42b300
sub eax, ecx
push eax
lea ecx, [ebp - 0x108]
push ecx
lea ecx, [esi + 0x424]
call fcn.00405fd0
push str.TasManager.ini
push 0x104
lea edx, [ebp - 0x108]
push edx
push str.AAAA_AAAA_AAAA_AAAA
push str.Amb3DKey
push str.Keys
call edi
lea eax, [ebp - 0x108]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42b347
sub eax, edx
push eax
lea eax, [ebp - 0x108]
push eax
lea ecx, [esi + 0x428]
call fcn.00405fd0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.004cdc91
mov esp, ebp
pop ebp
ret 8