Function at 0x4b3b60
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x588d58
mov eax, dword fs:[0]
push eax
sub esp, 0x418
mov eax, dword [0x5cca0c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor eax, eax
mov ebx, ecx
mov dword [ebp - 0x414], edi
mov dword [ebp - 0x41c], eax
cmp dword [ebx + 0x18], 0x10
mov dword [ebp - 4], 2
jb 0x4b3bb3
mov ebx, dword [ebx + 4]
jmp 0x4b3bb6
add ebx, 4
cmp ebx, eax
je 0x4b3c09
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
add esi, 1
cmp esi, 0x3fffffff
jg 0x4b3c07
lea eax, [esi + esi]
call fcn.00553150
mov edi, esp
test edi, edi
je 0x4b3c01
push esi
push edi
push 0xffffffffffffffff
push ebx
push 0
push 0x3a8
mov word [edi], 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
neg eax
sbb eax, eax
and eax, edi
mov edi, dword [ebp - 0x414]
jmp 0x4b3c09
mov edi, dword [ebp - 0x414]
xor eax, eax
mov dword [ebp - 0x420], eax
call dword [0x5cc888]
cmp dword [ebp + 0x24], 0x10
mov dword [ebp - 0x418], eax
jb 0x4b3c30
mov ebx, dword [ebp + 0x10]
test ebx, ebx
jne 0x4b3c33
mov dword [ebp - 0x41c], ebx
jmp 0x4b3c8a
lea ebx, [ebp + 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
add esi, 1
cmp esi, 0x3fffffff
jg 0x4b3c82
lea eax, [esi + esi]
call fcn.00553150
mov edi, esp
test edi, edi
je 0x4b3c7c
mov eax, dword [ebp - 0x418]
push esi
push edi
push 0xffffffffffffffff
push ebx
push 0
push eax
mov word [edi], 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
neg eax
sbb eax, eax
and eax, edi
mov edi, dword [ebp - 0x414]
jmp 0x4b3c84
mov edi, dword [ebp - 0x414]
xor eax, eax
mov dword [ebp - 0x41c], eax
cmp dword [ebp + 0x40], 0x10
jb 0x4b3c9f
mov ebx, dword [ebp + 0x2c]
test ebx, ebx
jne 0x4b3ca2
mov dword [ebp - 0x424], ebx
jmp 0x4b3cf9
lea ebx, [ebp + 0x2c]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
add esi, 1
cmp esi, 0x3fffffff
jg 0x4b3cf1
lea eax, [esi + esi]
call fcn.00553150
mov edi, esp
test edi, edi
je 0x4b3ceb
mov ecx, dword [ebp - 0x418]
push esi
push edi
push 0xffffffffffffffff
push ebx
push 0
push ecx
mov word [edi], 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
neg eax
sbb eax, eax
and eax, edi
mov edi, dword [ebp - 0x414]
jmp 0x4b3cf3
mov edi, dword [ebp - 0x414]
xor eax, eax
mov dword [ebp - 0x424], eax
cmp dword [ebp + 0x5c], 0x10
jb 0x4b3d0a
mov ebx, dword [ebp + 0x48]
test ebx, ebx
jne 0x4b3d0d
xor esi, esi
jmp 0x4b3d60
lea ebx, [ebp + 0x48]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
add esi, 1
cmp esi, 0x3fffffff
jg 0x4b3d5c
lea eax, [esi + esi]
call fcn.00553150
mov edi, esp
test edi, edi
je 0x4b3d56
mov edx, dword [ebp - 0x418]
push esi
push edi
push 0xffffffffffffffff
push ebx
push 0
push edx
mov word [edi], 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
neg eax
sbb eax, eax
and eax, edi
mov edi, dword [ebp - 0x414]
jmp 0x4b3d5e
mov edi, dword [ebp - 0x414]
xor eax, eax
mov esi, eax
push 0x3fe
lea eax, [ebp - 0x40e]
push 0
push eax
mov word [ebp - 0x410], 0
call fcn.00552500
mov ecx, dword [ebp - 0x420]
mov eax, dword [ebp - 0x424]
add esp, 0xc
push ecx
mov ecx, dword [ebp - 0x41c]
push 0x200
lea edx, [ebp - 0x410]
push edx
push esi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jne 0x4b3e15
push 0xffffffffffffffff
xor esi, esi
push esi
lea edx, [ebp + 0x44]
mov ebx, 0xf
mov dword [edi + 0x18], ebx
mov dword [edi + 0x14], esi
push edx
mov ecx, edi
mov byte [edi + 4], 0
call fcn.0040a080
cmp dword [ebp + 0x24], 0x10
jb 0x4b3ddc
mov eax, dword [ebp + 0x10]
push eax
call fcn.0055215c
add esp, 4
cmp dword [ebp + 0x40], 0x10
mov dword [ebp + 0x24], ebx
mov dword [ebp + 0x20], esi
mov byte [ebp + 0x10], 0
jb 0x4b3df8
mov ecx, dword [ebp + 0x2c]
push ecx
call fcn.0055215c
add esp, 4
cmp dword [ebp + 0x5c], 0x10
mov dword [ebp + 0x40], ebx
mov dword [ebp + 0x3c], esi
mov byte [ebp + 0x2c], 0
jb 0x4b3ed8
mov edx, dword [ebp + 0x48]
push edx
jmp 0x4b3ed0
call dword [0x5cc888]
mov ebx, eax
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
cmp eax, 0x3fffffff
jle 0x4b3e38
xor eax, eax
jmp 0x4b3e53
lea esi, [eax + eax]
mov eax, esi
call fcn.00553150
mov eax, esp
push ebx
push esi
lea ecx, [ebp - 0x410]
push ecx
push eax
call fcn.00401180
mov ebx, 0xf
mov ecx, eax
mov dword [edi + 0x18], ebx
mov dword [edi + 0x14], 0
mov byte [edi + 4], 0
lea esi, [ecx + 1]
jmp 0x4b3e70
mov dl, byte [ecx]
add ecx, 1
test dl, dl
jne 0x4b3e70
sub ecx, esi
push ecx
push eax
mov ecx, edi
call fcn.0040c1c0
mov esi, 0x10
cmp dword [ebp + 0x24], esi
jb 0x4b3e9a
mov edx, dword [ebp + 0x10]
push edx
call fcn.0055215c
add esp, 4
cmp dword [ebp + 0x40], esi
mov dword [ebp + 0x24], ebx
mov dword [ebp + 0x20], 0
mov byte [ebp + 0x10], 0
jb 0x4b3eb9
mov eax, dword [ebp + 0x2c]
push eax
call fcn.0055215c
add esp, 4
cmp dword [ebp + 0x5c], esi
mov dword [ebp + 0x40], ebx
mov dword [ebp + 0x3c], 0
mov byte [ebp + 0x2c], 0
jb 0x4b3ed8
mov ecx, dword [ebp + 0x48]
push ecx
call fcn.0055215c
add esp, 4
mov eax, edi
lea esp, [ebp - 0x434]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00552d63
mov esp, ebp
pop ebp
ret 0x58