Function at 0x10038910
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bf4ee
mov eax, dword fs:[0]
push eax
sub esp, 0x320
mov eax, dword [0x100fc03c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x314], esi
mov ebx, dword [ebp + 8]
push edi
call fcn.1000c090
add esp, 4
test al, al
je 0x10038965
mov dword [ebx], 0
mov al, 1
jmp 0x10039131
mov ecx, 0x100dc4a8
mov dword [ebp - 0x220], 0
xor eax, eax
mov dword [ebp - 0x21c], 0
mov byte [ebp - 0x30d], 1
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
lea edx, [ecx + 2]
mov word [ebp - 0x230], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100389a5
sub ecx, edx
sar ecx, 1
push ecx
push 0x100dc4a8
lea ecx, [ebp - 0x230]
call fcn.10002eb0
lea ecx, [ebp - 0x32c]
mov dword [ebp - 4], 0
call fcn.1001da30
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 1
push ecx
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.1000d5d0
add esp, 0xc
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x318]
cmp edx, 8
jb 0x10038a36
mov ecx, dword [ebp - 0x32c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10038a2c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003914d
push edx
push ecx
call fcn.10088fde
add esp, 8
xor eax, eax
mov dword [ebp - 0x31c], 0
mov dword [ebp - 0x318], 7
mov word [ebp - 0x32c], ax
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x10038a97
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10038a8d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10039152
push edx
push ecx
call fcn.10088fde
add esp, 8
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
mov byte [ebp - 4], 8
xorps xmm0, xmm0
mov dword [ebp - 0x218], eax
lea eax, [ebp - 0x260]
push eax
movlpd qword [ebp - 0x284], xmm0
call fcn.1000c090
add esp, 4
test al, al
je 0x10038ba5
push 0x200
lea eax, [ebp - 0x214]
push 0
push eax
call fcn.1008bb90
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x260]
add esp, 0xc
cmp dword [ebp - 0x24c], 8
cmovae eax, dword [ebp - 0x260]
push eax
push 0x100
lea eax, [ebp - 0x214]
push eax
push 0x100db8d8
push str.RescueCnt
push str.HelperRescue
call esi
lea eax, [ebp - 0x214]
push 0
push eax
call fcn.1000f190
push 0x100
mov dword [ebp - 0x218], eax
lea eax, [ebp - 0x214]
push 0
push eax
call fcn.1008bb90
add esp, 0x14
lea ecx, [ebp - 0x260]
cmp dword [ebp - 0x24c], 8
lea eax, [ebp - 0x214]
cmovae ecx, dword [ebp - 0x260]
push ecx
push 0x100
push eax
push 0x100db8d8
push str.LastRescueTime
push str.HelperRescue
call esi
lea eax, [ebp - 0x214]
push 0
push eax
call fcn.1000f190
mov esi, dword [ebp - 0x314]
add esp, 8
mov ecx, eax
jmp 0x10038bb1
mov edx, dword [ebp - 0x280]
mov ecx, dword [ebp - 0x284]
mov eax, dword [ebp - 0x218]
cmp eax, dword [esi + 0x30]
jge 0x10038d67
mov eax, ecx
or eax, edx
je 0x10038bf0
lea eax, [ebp - 0x280]
mov dword [ebp - 0x280], 0
push eax
push edx
push ecx
call fcn.10082bc0
mov eax, dword [ebp - 0x280]
add esp, 0xc
cmp eax, dword [esi + 0x34]
jb 0x10038d67
mov eax, dword [ebp - 0x218]
inc eax
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.1000f860
push 0
mov byte [ebp - 4], 0xd
call fcn.10091c2e
add esp, 0xc
push edx
push eax
lea eax, [ebp - 0x278]
push eax
call fcn.1000f200
add esp, 0xc
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x260]
cmp dword [ebp - 0x24c], 8
lea eax, [ebp - 0x248]
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmovae ecx, dword [ebp - 0x260]
cmp dword [ebp - 0x234], 8
push ecx
cmovae eax, dword [ebp - 0x248]
push eax
push str.RescueCnt
push str.HelperRescue
call esi
cmp dword [ebp - 0x24c], 8
lea ecx, [ebp - 0x260]
lea eax, [ebp - 0x278]
cmovae ecx, dword [ebp - 0x260]
cmp dword [ebp - 0x264], 8
push ecx
cmovae eax, dword [ebp - 0x278]
push eax
push str.LastRescueTime
push str.HelperRescue
call esi
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x264]
cmp edx, 8
jb 0x10038cdd
mov ecx, dword [ebp - 0x278]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10038cd3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10039157
push edx
push ecx
call fcn.10088fde
add esp, 8
xor eax, eax
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x264], 7
mov word [ebp - 0x278], ax
mov byte [ebp - 4], 0x13
mov edx, dword [ebp - 0x234]
cmp edx, 8
jb 0x10038d3e
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10038d34
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003915c
push edx
push ecx
call fcn.10088fde
add esp, 8
xor eax, eax
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
mov esi, dword [ebp - 0x314]
mov byte [ebp - 4], 8
jmp 0x10038d74
mov dword [ebx], 2
mov byte [ebp - 0x30d], 0
push esi
lea ecx, [ebp - 0x248]
call fcn.10002dc0
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 0x17
call fcn.10002ca0
test eax, eax
je 0x1003904e
cmp byte [ebp - 0x30d], 0
je 0x1003904e
lea ecx, [ebp - 0x30c]
call fcn.1003c090
mov byte [ebp - 4], 0x18
lea eax, [ebp - 0x248]
cmp dword [ebp - 0x234], 8
lea ecx, [ebp - 0x30c]
push dword [ebp - 0x238]
cmovae eax, dword [ebp - 0x248]
push eax
call fcn.10002eb0
lea eax, [ebp - 0x2f4]
cmp eax, edi
je 0x10038dfc
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x10038ded
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x2f4]
push eax
call fcn.10002eb0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x218], 0
call fcn.1003c130
sub esp, 0xc
mov byte [ebp - 4], 0x19
lea eax, [ebp - 0x30c]
lea ecx, [ebp - 0x218]
push eax
call fcn.1003c240
test al, al
jne 0x10038e39
mov dword [ebx], 3
jmp 0x10039030
cmp dword [ebx], 3
je 0x10039030
lea ecx, [ebp - 0x278]
call fcn.10016880
lea eax, [ebp - 0x278]
mov byte [ebp - 4], 0x1a
push eax
push edi
call fcn.100b1e30
add esp, 8
test al, al
jne 0x10038e7f
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 0x19
call fcn.100167f0
mov dword [ebx], 5
jmp 0x10039030
cmp dword [ebp - 0x264], 0x10
lea edx, [ebp - 0x278]
push dword [ebp - 0x268]
cmovae edx, dword [ebp - 0x278]
lea ecx, [ebp - 0x230]
call fcn.1001af50
add esp, 4
lea eax, [esi + 0x18]
mov byte [ebp - 4], 0x1b
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.1000f2b0
add esp, 8
test eax, eax
je 0x10038f25
mov byte [ebp - 4], 0x1c
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x10038f06
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10038efc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10039161
push edx
push ecx
call fcn.10088fde
add esp, 8
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
jmp 0x10038fa2
cmp dword [edi + 0x14], 8
mov esi, edi
jb 0x10038f2f
mov esi, dword [edi]
call fcn.10009480
push ecx
push esi
mov ecx, eax
call fcn.10009580
test al, al
jne 0x10038fc0
mov byte [ebp - 4], 0x20
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x10038f85
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10038f7b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10039166
push edx
push ecx
call fcn.10088fde
add esp, 8
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 0x19
call fcn.100167f0
mov ecx, edi
call fcn.10019e70
mov dword [ebx], 4
jmp 0x10039030
mov byte [ebp - 4], 0x24
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x10039004
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10038ffa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003916b
push edx
push ecx
call fcn.10088fde
add esp, 8
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 0x19
call fcn.100167f0
lea ecx, [ebp - 0x218]
mov byte [ebp - 4], 0x18
call fcn.1003c1b0
lea ecx, [ebp - 0x30c]
mov byte [ebp - 4], 0x17
call fcn.10035000
push edi
call fcn.1000c090
add esp, 4
test al, al
je 0x10039065
mov dword [ebx], 1
mov bl, 1
jmp 0x10039067
xor bl, bl
mov byte [ebp - 4], 0x30
mov edx, dword [ebp - 0x234]
cmp edx, 8
jb 0x100390ab
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100390a1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10039170
push edx
push ecx
call fcn.10088fde
add esp, 8
xor eax, eax
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
mov dword [ebp - 4], 0x34
mov edx, dword [ebp - 0x24c]
cmp edx, 8
jb 0x1003910b
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10039101
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10039175
push edx
push ecx
call fcn.10088fde
add esp, 8
xor eax, eax
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 7
mov word [ebp - 0x260], ax
mov dword [ebp - 4], 0xffffffff
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10088f98
mov esp, ebp
pop ebp
ret
call fcn.100907c4
call fcn.100907c4
call fcn.100907c4
call fcn.100907c4
call fcn.100907c4
call fcn.100907c4
call fcn.100907c4
call fcn.100907c4
call fcn.100907c4
int3