Function at 0x10057d60
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x1009dca5
mov eax, dword fs:[0]
push eax
sub esp, 0x1c0
mov eax, dword [0x100cba70]
xor eax, esp
mov dword [esp + 0x1bc], eax
push ebx
push ebp
push esi
mov eax, dword [0x100cba70]
xor eax, esp
push eax
lea eax, [esp + 0x1d0]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1e4]
mov ebp, dword [esp + 0x1e0]
xor ebx, ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x5c], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x78], 0xf
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
mov dword [esp + 0x1d8], 1
mov edx, dword [0x100ad8f4]
push edx
mov esi, 0x100ccf18
call fcn.100663e0
add esp, 4
test al, al
je 0x10057dfd
push 0x1a
push str.SprActions::readIniValue:
lea ecx, [esp + 0x68]
call fcn.10002b10
mov eax, dword [0x100ad8f4]
push 1
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x7c], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x8c]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push edx
mov byte [ecx + 4], bl
call fcn.100023e0
push 0x100ccf18
mov byte [esp + 0x200], 2
call fcn.10002800
push eax
lea ecx, [esp + 0xa8]
mov byte [esp + 0x204], 1
call fcn.1008d030
mov byte [esp + 0x1d8], 3
cmp byte [esp + 0xb8], bl
je 0x10057f28
push str.params:_iniFile
lea ecx, [esp + 0x40]
call fcn.1008d3d0
mov esi, dword [esp + 0x34]
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push ecx
push 0x100aec44
push esi
push str.__iniKeyName
push edx
push str.__iniSectionName
push ebp
mov ecx, eax
mov byte [esp + 0x1f4], 4
call fcn.1008d660
mov ecx, eax
call fcn.1008d680
mov ecx, eax
call fcn.1008d660
mov ecx, eax
call fcn.1008d680
mov ecx, eax
call fcn.1008d660
mov ecx, eax
call fcn.1008d680
mov ecx, eax
call fcn.1008d7b0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x80]
mov byte [esp + 0x1dc], 5
call fcn.1008d180
cmp dword [esp + 0x30], 0x10
jb 0x10057efa
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.10080518
add esp, 4
mov byte [esp + 0x1d8], 3
cmp dword [esp + 0x54], 0x10
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
jb 0x10057f2c
mov edx, dword [esp + 0x40]
push edx
call fcn.10080518
add esp, 4
jmp 0x10057f2c
mov esi, dword [esp + 0x34]
mov dword [edi + 0x18], 0xf
mov dword [edi + 0x14], ebx
mov byte [edi + 4], bl
push 0x104
lea eax, [esp + 0xc8]
push ebx
push eax
mov dword [esp + 0x44], 1
call fcn.1007a340
mov edx, 0x10
add esp, 0xc
cmp dword [ebp + 0x18], edx
jb 0x10057f66
mov ebp, dword [ebp + 4]
jmp 0x10057f69
add ebp, 4
cmp dword [esi + 0x18], edx
jb 0x10057f73
mov ecx, dword [esi + 4]
jmp 0x10057f76
lea ecx, [esi + 4]
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x18], edx
jb 0x10057f84
mov eax, dword [eax + 4]
jmp 0x10057f87
add eax, 4
push ebp
push 0x104
lea edx, [esp + 0xcc]
push edx
push ebx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp eax, ebx
ja 0x10058000
cmp byte [esp + 0xb8], bl
je 0x10058000
push 0x13
push str.Error_reading_file.
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
call fcn.10002b10
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x80]
mov byte [esp + 0x1dc], 6
call fcn.1008d180
mov byte [esp + 0x1d8], 3
cmp dword [esp + 0x30], 0x10
jb 0x10058000
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.10080518
add esp, 4
lea eax, [esp + 0xc4]
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x10058020
sub eax, edx
push eax
lea edx, [esp + 0xc8]
push edx
lea ecx, [esp + 0x20]
call fcn.10002b10
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x20]
push eax
mov ecx, edi
mov byte [esp + 0x1e4], 7
call fcn.100023e0
mov byte [esp + 0x1d8], 3
cmp dword [esp + 0x30], 0x10
jb 0x10058070
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.10080518
add esp, 4
mov ecx, edi
lea esi, [esp + 0x3c]
call fcn.1006dff0
push 0xffffffffffffffff
push ebx
push eax
mov ecx, edi
mov byte [esp + 0x1e4], 8
call fcn.100023e0
mov esi, 0x10
mov byte [esp + 0x1d8], 3
cmp dword [esp + 0x54], esi
jb 0x100580ae
mov edx, dword [esp + 0x40]
push edx
call fcn.10080518
add esp, 4
cmp byte [esp + 0xb8], bl
je 0x100580f2
push 0x100aec44
lea eax, [esp + 0x40]
push edi
push eax
call fcn.1000ddf0
add esp, 0xc
push eax
lea ecx, [esp + 0x80]
mov byte [esp + 0x1dc], 9
call fcn.1008ab90
cmp dword [esp + 0x54], esi
jb 0x100580f2
mov ecx, dword [esp + 0x40]
push ecx
call fcn.10080518
add esp, 4
lea ecx, [esp + 0x7c]
mov byte [esp + 0x1d8], 1
call fcn.1008bb30
cmp dword [esp + 0x78], esi
jb 0x10058116
mov edx, dword [esp + 0x64]
push edx
call fcn.10080518
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x1d0]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1bc]
xor ecx, esp
call fcn.10079ea5
add esp, 0x1cc
ret 8