Function at 0x1003d820
Capabilities:
Read .ini file

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100838c1
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1d8
mov eax, dword [0x100a9080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 4], 1
cmp dword [edx + 0x14], 0xf
jbe 0x1003d870
mov edx, dword [edx]
cmp dword [ebx + 0x34], 0xf
lea ecx, [ebx + 0x20]
push edx
cmova ecx, dword [ebx + 0x20]
lea edx, [ebp - 0x118]
cmp dword [ebx + 0x1c], 0xf
lea eax, [ebx + 8]
push 0x100
cmova eax, dword [ebx + 8]
push edx
push 0x1008fa09
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
xorps xmm0, xmm0
test eax, eax
jne 0x1003d8b4
movss dword [ebp - 0x1cc], xmm0
jmp 0x1003da0a
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x1d4], 0
movups xmmword [ebp - 0x1e4], xmm0
mov dword [ebp - 0x1d0], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003d8d8
sub ecx, edx
lea eax, [ebp - 0x118]
push ecx
push eax
lea ecx, [ebp - 0x1e4]
call fcn.10007860
push 0xa8
lea eax, [ebp - 0x1c8]
mov byte [ebp - 4], 2
push 0
push eax
call fcn.10057da0
add esp, 4
lea eax, [ebp - 0x1e4]
lea ecx, [ebp - 0x1c8]
push eax
call fcn.10010760
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c8]
mov eax, dword [ebp - 0x1c8]
mov eax, dword [eax + 4]
or dword [ebp + eax - 0x1b4], 0x4000
lea eax, [ebp - 0x11c]
push eax
call fcn.1003e4b0
mov eax, dword [ebp - 0x1c8]
movss xmm0, dword [ebp - 0x11c]
movss dword [ebp - 0x1cc], xmm0
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x1c8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x60]
mov dword [ebp + ecx - 0x1cc], eax
lea ecx, [ebp - 0x1b8]
call fcn.10004920
mov eax, dword [ebp - 0x1c8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1c8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x1cc], eax
lea eax, [ebp - 0x168]
mov byte [ebp - 4], 4
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.10054e45
mov ecx, dword [ebp - 0x1d0]
add esp, 4
cmp ecx, 0xf
jbe 0x1003da0a
mov edx, dword [ebp - 0x1e4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003da00
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003daa2
push ecx
push edx
call fcn.10056002
add esp, 8
mov ecx, dword [ebx + 0x1c]
cmp ecx, 0xf
jbe 0x1003da3a
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003da30
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003daa2
push ecx
push edx
call fcn.10056002
add esp, 8
mov ecx, dword [ebx + 0x34]
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0xf
mov byte [ebx + 8], 0
cmp ecx, 0xf
jbe 0x1003da7c
mov edx, dword [ebx + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003da72
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003daa2
push ecx
push edx
call fcn.10056002
add esp, 8
movss xmm0, dword [ebp - 0x1cc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10055fba
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x30
call fcn.1005d2a4
int3