Function at 0x10031960
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x100522f8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x100638a4]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100638a4]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x44]
mov esi, ecx
mov eax, dword [esi]
mov edx, dword [eax + 0x2c]
call edx
push eax
push str.Handle:_u_Intra_task_start
push 1
push 0x10069158
call fcn.10017d90
mov eax, dword [ebx + 0xdc]
add esp, 0x10
push 0
lea edi, [ebx + 0xc8]
push 0x1005b784
push eax
push 0
mov ecx, edi
call fcn.1000f680
test eax, eax
je 0x100319e5
push 0xffffffffffffffff
push 0
push edi
lea ecx, [esi + 0x10c]
call fcn.10009230
mov ecx, dword [ebx + 0xf8]
push 0
lea edi, [ebx + 0xe4]
push 0x1005b784
push ecx
push 0
mov ecx, edi
call fcn.1000f680
test eax, eax
je 0x10031a16
push 0xffffffffffffffff
push 0
push edi
lea ecx, [esi + 0x128]
call fcn.10009230
mov ebp, dword [ebx + 0xa8]
cmp ebp, 3
jg 0x10031a25
test ebp, ebp
jge 0x10031a27
xor ebp, ebp
xor edx, edx
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], 0
mov word [esp + 0x18], dx
push edx
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x44], edx
call fcn.100121c0
add esp, 8
push 9
push str.livep.dat
lea ecx, [esp + 0x1c]
call fcn.1000b310
cmp dword [esp + 0x2c], 8
mov eax, dword [esp + 0x18]
jae 0x10031a6f
lea eax, [esp + 0x18]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push 1
push str.v3_background_intra
push str.intra
call edi
mov dword [esi + 0x170], eax
test eax, eax
je 0x10031a98
mov dword [esi + 0x170], 1
cmp ebp, 2
jne 0x10031b00
cmp dword [esi + 0x170], 0
je 0x10031b00
cmp dword [esp + 0x2c], 8
mov eax, dword [esp + 0x18]
jae 0x10031ab5
lea eax, [esp + 0x18]
push eax
push 0x28
push str.BackDownLimit
push str.intra
call edi
lea ecx, [eax - 1]
cmp ecx, 0x7ff
ja 0x10031ad7
mov dword [esi + 0x174], eax
jmp 0x10031ae1
mov dword [esi + 0x174], 0x28
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x2c]
mov ecx, esi
call eax
push eax
push str.Handle:_u_V3_Limit_Speed_DownLimit_dK_s
push 1
push 0x10069158
call fcn.10017d90
add esp, 0x14
imul ebp, ebp, 0x2c
mov ecx, dword [ebp + 0x100690a0]
mov dword [esi + 0x10], ecx
cmp dword [ebx + 0x1ac], 0
je 0x10031b20
mov edx, dword [ebx + 0x100]
mov dword [esi + 0xc], edx
jmp 0x10031b27
mov dword [esi + 0xc], 0
mov eax, dword [ebx + 0xa0]
push 0
lea edi, [ebx + 0x8c]
push 0x1005b784
push eax
push 0
mov ecx, edi
call fcn.1000f680
test eax, eax
je 0x10031bf8
mov ebp, 8
cmp dword [edi + 0x18], ebp
jb 0x10031b5b
mov eax, dword [edi + 4]
jmp 0x10031b5e
lea eax, [edi + 4]
push 0x14
lea edi, [esi + 0xf4]
push edi
push eax
call fcn.10023f80
add esp, 0xc
cmp dword [esi + 0xd0], ebp
jb 0x10031b80
mov edx, dword [esi + 0xbc]
jmp 0x10031b86
lea edx, [esi + 0xbc]
cmp dword [esi + 0x7c], ebp
jb 0x10031b90
mov ecx, dword [esi + 0x68]
jmp 0x10031b93
lea ecx, [esi + 0x68]
cmp dword [ebx + 0x18], ebp
jb 0x10031b9d
mov eax, dword [ebx + 4]
jmp 0x10031ba0
lea eax, [ebx + 4]
mov ebp, dword [esi + 0x174]
mov ebx, dword [ebx + 0x178]
push ebp
push ebx
mov ebx, dword [esi + 0x180]
push ebx
mov ebx, dword [esi + 0x17c]
push ebx
push edx
push ecx
push eax
push 0x14
push edi
call fcn.100187d0
add esp, 0x24
cmp eax, 0xffffffff
setne bl
cmp dword [esp + 0x2c], 8
mov dword [esi + 4], eax
mov dword [esi + 0xd8], 6
jb 0x10031bf1
mov ecx, dword [esp + 0x18]
push ecx
call fcn.100386ec
add esp, 4
mov al, bl
jmp 0x10031d08
mov edx, dword [ebx + 0xc0]
push 0
lea edi, [ebx + 0xac]
push 0x1005b784
push edx
push 0
mov ecx, edi
call fcn.1000f680
test eax, eax
je 0x10031cca
mov ebp, 8
cmp dword [edi + 0x18], ebp
jb 0x10031c2c
mov eax, dword [edi + 4]
jmp 0x10031c2f
lea eax, [edi + 4]
push 0x10
lea edi, [esi + 0xdc]
push edi
push eax
call fcn.10023f80
add esp, 0xc
cmp dword [esi + 0xd0], ebp
jb 0x10031c51
mov edx, dword [esi + 0xbc]
jmp 0x10031c57
lea edx, [esi + 0xbc]
cmp dword [esi + 0x7c], ebp
jb 0x10031c61
mov ecx, dword [esi + 0x68]
jmp 0x10031c64
lea ecx, [esi + 0x68]
cmp dword [ebx + 0x18], ebp
jb 0x10031c6e
mov eax, dword [ebx + 4]
jmp 0x10031c71
lea eax, [ebx + 4]
mov ebp, dword [esi + 0x174]
mov ebx, dword [ebx + 0x178]
push ebp
push ebx
mov ebx, dword [esi + 0x180]
push ebx
mov ebx, dword [esi + 0x17c]
push ebx
push edx
push ecx
push eax
push 0x10
push edi
call fcn.100187d0
add esp, 0x24
cmp eax, 0xffffffff
setne bl
cmp dword [esp + 0x2c], 8
mov dword [esi + 4], eax
mov dword [esi + 0xd8], 6
jb 0x10031bf1
mov eax, dword [esp + 0x18]
push eax
call fcn.100386ec
add esp, 4
mov al, bl
jmp 0x10031d08
mov edx, dword [esi]
mov eax, dword [edx + 0x2c]
mov ecx, esi
call eax
push eax
push str.Handle:_u_Intra_task_no_such_fileid
push 1
push 0x10069158
call fcn.10017d90
add esp, 0x10
cmp dword [esp + 0x2c], 8
mov dword [esi + 0xd8], 0
jb 0x10031d06
mov ecx, dword [esp + 0x18]
push ecx
call fcn.100386ec
add esp, 4
xor al, al
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.10038723
add esp, 0x2c
ret 4