Function at 0x500960
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x288
mov eax, dword [0x5bd254]
xor eax, esp
mov dword [esp + 0x284], eax
mov eax, dword [0x5aead4]
push edi
xor edi, edi
cmp eax, 0xffffffff
jne 0x501010
push ebp
push esi
mov dword [0x5aead4], edi
call fcn.00500280
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov esi, 0xc8
lea ecx, [ecx]
push esi
lea eax, [esp + 0x14]
push 0x586318
push eax
call fcn.005135ca
mov ecx, dword [0x60a288]
add esp, 0xc
push ecx
push pe_nt_image_headers32
lea edx, [esp + 0x98]
push edx
push 0x580cbb
push str.Description
lea eax, [esp + 0x24]
push eax
call ebp
cmp byte [esp + 0x90], 0
je 0x5009e5
add edi, 1
add esi, 1
cmp esi, 0xfe
jl 0x5009a0
test edi, edi
je 0x501009
lea esi, [edi + edi*8]
shl esi, 6
push esi
call fcn.00513aeb
add esp, 4
test eax, eax
mov dword [0x60a284], eax
jne 0x500a21
push eax
push eax
push 0xb
call sym.convertifd.exe_CV_Message
add esp, 0xc
jmp 0x501009
push ebx
push esi
push 0
push eax
call fcn.00511e90
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ebx, 0xc8
add esp, 0xc
mov dword [esp + 0x10], ebx
lea ecx, [ecx]
push ebx
lea ecx, [esp + 0x18]
push 0x586318
push ecx
call fcn.005135ca
mov edx, dword [0x60a288]
add esp, 0xc
push edx
push pe_nt_image_headers32
lea eax, [esp + 0x9c]
push eax
push 0x580cbb
push str.Description
lea ecx, [esp + 0x28]
push ecx
call ebp
cmp byte [esp + 0x94], 0
je 0x500ff5
lea eax, [esp + 0x94]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x500a90
sub eax, edx
cmp eax, 0x3f
jbe 0x500abd
lea edi, [esp + 0x94]
lea ecx, [edi + 1]
lea ebx, [ebx]
mov al, byte [edi]
add edi, 1
test al, al
jne 0x500ab0
sub edi, ecx
jmp 0x500ac2
mov edi, 0x3f
mov eax, dword [0x5aead4]
mov ecx, dword [0x60a284]
lea eax, [eax + eax*8]
push edi
lea edx, [esp + 0x98]
push edx
shl eax, 6
lea edx, [eax + ecx + 0x10]
push edx
call fcn.00513780
mov eax, dword [0x5aead4]
mov ecx, dword [0x60a284]
mov edx, dword [0x60a288]
lea eax, [eax + eax*8]
add esp, 0xc
shl eax, 6
add eax, ecx
push edx
mov byte [eax + edi + 0x10], 0
push 0xffffffffffffffff
mov dword [eax], ebx
push str.WindowsAsciiCharSet
lea eax, [esp + 0x20]
push eax
call esi
mov ecx, dword [0x5aead4]
mov edx, dword [0x60a284]
lea ecx, [ecx + ecx*8]
shl ecx, 6
mov dword [ecx + edx + 4], eax
mov eax, dword [0x60a288]
push eax
push 0xffffffffffffffff
push str.ClosestWindowsAsciiCharSet
lea ecx, [esp + 0x20]
push ecx
call esi
mov ecx, dword [0x5aead4]
lea edx, [ecx + ecx*8]
mov ecx, dword [0x60a284]
shl edx, 6
mov dword [edx + ecx + 8], eax
mov edx, dword [0x60a288]
push edx
push 0
push str.WindowsAsciiCodePage
lea eax, [esp + 0x20]
push eax
call esi
mov ecx, dword [0x5aead4]
mov edx, dword [0x60a284]
lea ecx, [ecx + ecx*8]
shl ecx, 6
mov dword [ecx + edx + 0x9c], eax
mov eax, dword [0x60a288]
push eax
push 0
push str.OemAsciiCodePage
lea ecx, [esp + 0x20]
push ecx
call esi
mov ecx, dword [0x5aead4]
lea edx, [ecx + ecx*8]
mov ecx, dword [0x60a284]
shl edx, 6
mov dword [edx + ecx + 0x98], eax
mov edx, dword [0x60a288]
push edx
push 0
push str.IbmEbcdicSymbolSetId
lea eax, [esp + 0x20]
push eax
call esi
mov ecx, dword [0x5aead4]
mov edx, dword [0x60a284]
lea ecx, [ecx + ecx*8]
shl ecx, 6
mov dword [ecx + edx + 0xa4], eax
mov eax, dword [0x60a288]
push eax
push 0
push str.IbmAsciiSymbolSetId
lea ecx, [esp + 0x20]
push ecx
call esi
mov ecx, dword [0x5aead4]
lea edx, [ecx + ecx*8]
mov ecx, dword [0x60a284]
shl edx, 6
mov dword [edx + ecx + 0xa0], eax
mov edx, dword [0x60a288]
push edx
push pe_nt_image_headers32
lea eax, [esp + 0x9c]
push eax
push 0x580cbb
push str.PDFName
lea ecx, [esp + 0x28]
push ecx
call ebp
mov eax, dword [0x5aead4]
lea edx, [eax + eax*8]
lea ecx, [esp + 0x94]
mov eax, ecx
shl edx, 6
sub edx, eax
mov eax, dword [0x60a284]
lea eax, [edx + eax + 0xb0]
mov dl, byte [ecx]
mov byte [eax + ecx], dl
add ecx, 1
test dl, dl
jne 0x500c55
mov ecx, dword [0x60a288]
push ecx
push pe_nt_image_headers32
lea edx, [esp + 0x9c]
push edx
push 0x580cbb
push str.PSTName
lea eax, [esp + 0x28]
push eax
call ebp
mov ecx, dword [0x5aead4]
lea ecx, [ecx + ecx*8]
lea eax, [esp + 0x94]
mov edx, eax
shl ecx, 6
sub ecx, edx
mov edx, dword [0x60a284]
lea edx, [ecx + edx + 0xf0]
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x500cb0
mov eax, dword [0x60a288]
push eax
push pe_nt_image_headers32
lea ecx, [esp + 0x9c]
push ecx
push 0x580cbb
push str.PCLName
lea edx, [esp + 0x28]
push edx
call ebp
mov ecx, dword [0x5aead4]
lea ecx, [ecx + ecx*8]
lea eax, [esp + 0x94]
mov edx, eax
shl ecx, 6
sub ecx, edx
mov edx, dword [0x60a284]
lea edx, [ecx + edx + 0x130]
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x500d04
mov eax, dword [0x60a288]
push eax
push 8
lea ecx, [esp + 0x9c]
push ecx
push 0x580cbb
push str.Abbrev
lea edx, [esp + 0x28]
push edx
call ebp
mov ecx, dword [0x5aead4]
lea ecx, [ecx + ecx*8]
lea eax, [esp + 0x94]
mov edx, eax
shl ecx, 6
sub ecx, edx
mov edx, dword [0x60a284]
lea edx, [ecx + edx + 0xa8]
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x500d55
mov eax, dword [0x60a288]
push eax
push 1
push str.FontType
lea ecx, [esp + 0x20]
push ecx
call esi
mov ecx, dword [0x5aead4]
mov edx, dword [0x60a284]
mov edi, 3
cmp eax, edi
ja case.default.0x500d8a
jmp dword [eax*4 + 0x501028]
lea eax, [ecx + ecx*8]
shl eax, 6
mov dword [eax + edx + 0xc], 0
jmp case.default.0x500d8a
lea eax, [ecx + ecx*8]
shl eax, 6
mov dword [eax + edx + 0xc], 1
jmp case.default.0x500d8a
lea eax, [ecx + ecx*8]
shl eax, 6
mov dword [eax + edx + 0xc], 2
jmp case.default.0x500d8a
lea eax, [ecx + ecx*8]
shl eax, 6
mov dword [eax + edx + 0xc], edi
lea ecx, [ecx + ecx*8]
shl ecx, 6
mov dword [ecx + edx + 0x17c], 0
mov edx, dword [0x60a288]
push edx
push 1
push str.BytesPerCharacter
lea eax, [esp + 0x20]
push eax
call esi
add eax, 0xffffffff
cmp eax, 0x11
ja case.0x500e04.2
movzx ecx, byte [eax + 0x501058]
jmp dword [ecx*4 + 0x501038]
mov eax, dword [0x5aead4]
lea edx, [eax + eax*8]
mov eax, dword [0x60a284]
shl edx, 6
add eax, edx
mov dword [eax + 0x50], 1
mov dword [eax + 0x180], 0xff
jmp case.0x500e04.2
mov eax, dword [0x5aead4]
mov edx, dword [0x60a284]
lea ecx, [eax + eax*8]
shl ecx, 6
lea eax, [ecx + edx]
mov dword [eax + 0x50], 4
jmp 0x500f46
mov eax, dword [0x5aead4]
mov ecx, dword [0x60a284]
lea eax, [eax + eax*8]
shl eax, 6
add eax, ecx
mov dword [eax + 0x50], 5
jmp 0x500f46
mov eax, dword [0x5aead4]
lea edx, [eax + eax*8]
mov eax, dword [0x60a284]
shl edx, 6
add eax, edx
mov dword [eax + 0x50], edi
jmp 0x500f46
mov eax, dword [0x5aead4]
mov edx, dword [0x60a284]
lea ecx, [eax + eax*8]
mov eax, dword [0x60a288]
push eax
shl ecx, 6
push pe_nt_image_headers32
mov dword [ecx + edx + 0x50], 2
lea ecx, [esp + 0x9c]
push ecx
push 0x580cbb
push str.LeadByteRanges
lea edx, [esp + 0x28]
push edx
call ebp
mov eax, dword [0x5aead4]
mov ecx, dword [0x60a284]
lea eax, [eax + eax*8]
shl eax, 6
lea edx, [esp + 0x94]
lea ebx, [eax + ecx + 0x54]
push edx
call fcn.00500150
mov eax, dword [0x5aead4]
mov ecx, dword [0x60a284]
mov ebx, dword [esp + 0x14]
lea eax, [eax + eax*8]
add esp, 4
shl eax, 6
mov dword [eax + ecx + 0x180], 0xffff
jmp case.0x500e04.2
mov eax, dword [0x5aead4]
lea edx, [eax + eax*8]
mov eax, dword [0x60a284]
shl edx, 6
add eax, edx
mov dword [eax + 0x50], 6
jmp 0x500f46
mov eax, dword [0x5aead4]
mov edx, dword [0x60a284]
lea ecx, [eax + eax*8]
shl ecx, 6
lea eax, [ecx + edx]
mov dword [eax + 0x50], 7
mov dword [eax + 0x180], 0xffff
mov eax, dword [0x60a288]
push eax
push pe_nt_image_headers32
lea ecx, [esp + 0x9c]
push ecx
push 0x580cbb
push str.AdditionalSpaceChars
lea edx, [esp + 0x28]
push edx
call ebp
mov eax, dword [0x5aead4]
mov ecx, dword [0x60a284]
lea eax, [eax + eax*8]
shl eax, 6
lea edi, [eax + ecx + 0x58]
lea eax, [esp + 0x94]
call fcn.00500220
mov eax, dword [0x5aead4]
mov ecx, dword [0x60a288]
lea edx, [eax + eax*8]
mov eax, dword [0x60a284]
push ecx
shl edx, 6
push 0xffffffffffffffff
lea edi, [edx + eax]
push str.PDFCIDMap
lea edx, [esp + 0x20]
push edx
call esi
mov dword [edi + 0x23c], eax
add edi, 0x10
push edi
push ebx
lea eax, [esp + 0x19c]
push str.JETKEYS:_Loaded_User_Defined_Symbolset__d___s_.
push eax
call fcn.005135ca
push 0
lea ecx, [esp + 0x1a8]
push ecx
push 0x64
call sym.convertifd.exe_CV_Message
add esp, 0x1c
add dword [0x5aead4], 1
add ebx, 1
cmp ebx, 0xfe
mov dword [esp + 0x10], ebx
jl 0x500a40
pop ebx
mov eax, dword [0x5aead4]
pop esi
pop ebp
mov ecx, dword [esp + 0x288]
pop edi
xor ecx, esp
call fcn.00511a80
add esp, 0x288
ret