Function at 0x10003a60
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10050d95
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x100e8018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x60], ecx
mov eax, dword [ebp + 8]
xor edi, edi
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x7c], eax
xor eax, eax
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 4], eax
mov esi, dword [ecx]
push dword [esi + 4]
push ecx
call fcn.10004bd0
mov dword [esi + 4], esi
mov dword [esi], esi
mov dword [esi + 8], esi
mov esi, dword [ebp - 0x48]
push 0x1450
mov dword [esi + 4], edi
call fcn.1003980e
add esp, 4
mov dword [ebp - 0x54], eax
test eax, eax
jne 0x10003aec
mov esi, 0xc000009a
jmp 0x10003e1f
mov ecx, 0x1450
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x10003af1
mov eax, dword [ebp - 0x60]
mov ecx, eax
cmp dword [eax + 0x14], 0x10
jb 0x10003b09
mov ecx, dword [eax]
mov edx, dword [ebp - 0x5c]
mov eax, edx
cmp dword [edx + 0x14], 0x10
jb 0x10003b16
mov eax, dword [edx]
push ecx
push 0x1450
push dword [ebp - 0x54]
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jne 0x10003b50
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x10003b42
mov esi, 0xc0000283
jmp 0x10003e14
movzx esi, ax
or esi, 0xbb000000
jmp 0x10003e14
mov ecx, dword [ebp - 0x54]
add eax, ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x80], eax
cmp ecx, eax
jae 0x10003cde
mov eax, dword [ebp - 0x7c]
xor dl, dl
mov dword [ebp - 0x4c], edx
mov esi, dword [eax]
mov edi, dword [eax + 4]
cmp esi, edi
je 0x10003be5
push esi
lea ecx, [ebp - 0x28]
call fcn.10004440
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push dword [ebp - 0x50]
call fcn.10039a44
mov ecx, dword [ebp - 0x4c]
add esp, 8
mov edx, dword [ebp - 0x14]
test eax, eax
movzx ecx, cl
mov eax, 1
cmove ecx, eax
mov dword [ebp - 0x4c], ecx
cmp edx, 0x10
jb 0x10003bdb
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10003bd1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003e46
push edx
push ecx
call fcn.1003140a
add esp, 8
add esi, 0x18
cmp esi, edi
jne 0x10003b74
mov edx, dword [ebp - 0x4c]
mov edi, dword [ebp - 0x50]
mov eax, edi
lea esi, [eax + 1]
nop dword [eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10003bf0
sub eax, esi
test dl, dl
jne 0x10003cc9
push eax
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x28]
push edi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], dl
call fcn.100045d0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x58]
je 0x10003c65
movups xmm0, xmmword [ebp - 0x28]
mov dword [eax], 0
mov edx, 0xf
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
movups xmmword [eax], xmm0
mov byte [ebp - 0x28], 0
movq xmm0, qword [ebp - 0x18]
movq qword [eax + 0x10], xmm0
add eax, 0x18
mov dword [ebp - 0x68], eax
jmp 0x10003c7e
lea ecx, [ebp - 0x28]
push ecx
push eax
lea ecx, [ebp - 0x6c]
call fcn.10004960
mov eax, dword [ebp - 0x64]
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x10003cb6
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10003cac
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003e46
push edx
push ecx
call fcn.1003140a
add esp, 8
mov eax, edi
lea edx, [eax + 1]
nop dword [eax + eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10003cc0
sub eax, edx
inc edi
add edi, eax
mov dword [ebp - 0x50], edi
cmp edi, dword [ebp - 0x80]
jb 0x10003b63
mov edi, dword [ebp - 0x6c]
mov esi, dword [ebp - 0x48]
cmp edi, dword [ebp - 0x44]
jne 0x10003d03
mov eax, dword [ebp - 0x48]
cmp dword [eax + 4], 0
jne 0x10003e12
mov esi, 0xc0000283
jmp 0x10003e1f
mov esi, dword [ebp - 0x48]
push edi
lea ecx, [ebp - 0x40]
call fcn.10004440
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 3
push eax
mov ecx, esi
call fcn.10004130
mov esi, eax
lea eax, [ebp - 0x78]
cmp esi, eax
je 0x10003d69
mov ecx, esi
call fcn.10004530
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 2
call fcn.10004530
mov ecx, dword [ebp - 0x48]
lea eax, [ebp - 0x40]
push eax
call fcn.10004130
mov ecx, dword [ebp - 0x60]
push eax
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x5c]
call fcn.100037c0
mov esi, eax
test esi, esi
js 0x10003de0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x10003dcf
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10003dc5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003e46
push edx
push ecx
call fcn.1003140a
add esp, 8
add edi, 0x18
cmp edi, dword [ebp - 0x44]
jne 0x10003d00
jmp 0x10003ce3
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x10003e14
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10003e06
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003e46
push edx
push ecx
call fcn.1003140a
add esp, 8
jmp 0x10003e14
xor esi, esi
push dword [ebp - 0x54]
call fcn.100395e6
add esp, 4
lea ecx, [ebp - 0x6c]
call fcn.10004530
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100313c7
mov esp, ebp
pop ebp
ret 0xc
call fcn.100397bd
int3