Function at 0x10037db0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100be48e
mov eax, dword fs:[0]
push eax
sub esp, 0x338
mov eax, dword [0x100fb03c]
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.1000b380
add esp, 4
test al, al
je 0x10037e05
mov dword [ebx], 0
mov al, 1
jmp 0x100385d1
mov ecx, 0x100db128
mov dword [ebp - 0x31c], 0
xor eax, eax
mov dword [ebp - 0x318], 0
mov byte [ebp - 0x30d], 1
mov dword [ebp - 0x31c], 0
mov dword [ebp - 0x318], 7
lea edx, [ecx + 2]
mov word [ebp - 0x32c], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10037e45
sub ecx, edx
sar ecx, 1
push ecx
push 0x100db128
lea ecx, [ebp - 0x32c]
call fcn.100049a0
lea ecx, [ebp - 0x344]
mov dword [ebp - 4], 0
call fcn.1001ce00
lea ecx, [ebp - 0x32c]
mov byte [ebp - 4], 1
push ecx
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.1000c8f0
add esp, 0xc
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x330]
cmp edx, 8
jb 0x10037ed6
mov ecx, dword [ebp - 0x344]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10037ecc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100385ed
push edx
push ecx
call fcn.1008854e
add esp, 8
xor eax, eax
mov dword [ebp - 0x334], 0
mov dword [ebp - 0x330], 7
mov word [ebp - 0x344], ax
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x318]
cmp edx, 8
jb 0x10037f37
mov ecx, dword [ebp - 0x32c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10037f2d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100385f2
push edx
push ecx
call fcn.1008854e
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], 8
xorps xmm0, xmm0
mov dword [ebp - 0x218], eax
lea eax, [ebp - 0x248]
push eax
movlpd qword [ebp - 0x26c], xmm0
call fcn.1000b380
add esp, 4
test al, al
je 0x10038045
push 0x200
lea eax, [ebp - 0x214]
push 0
push eax
call fcn.1008ac40
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x248]
add esp, 0xc
cmp dword [ebp - 0x234], 8
cmovae eax, dword [ebp - 0x248]
push eax
push 0x100
lea eax, [ebp - 0x214]
push eax
push 0x100de1d0
push str.RescueCnt
push str.HelperRescue
call esi
lea eax, [ebp - 0x214]
push 0
push eax
call fcn.1000e4c0
push 0x100
mov dword [ebp - 0x218], eax
lea eax, [ebp - 0x214]
push 0
push eax
call fcn.1008ac40
add esp, 0x14
lea ecx, [ebp - 0x248]
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x214]
cmovae ecx, dword [ebp - 0x248]
push ecx
push 0x100
push eax
push 0x100de1d0
push str.LastRescueTime
push str.HelperRescue
call esi
lea eax, [ebp - 0x214]
push 0
push eax
call fcn.1000e4c0
mov esi, dword [ebp - 0x314]
add esp, 8
mov ecx, eax
jmp 0x10038051
mov edx, dword [ebp - 0x268]
mov ecx, dword [ebp - 0x26c]
mov eax, dword [ebp - 0x218]
cmp eax, dword [esi + 0x30]
jge 0x10038207
mov eax, ecx
or eax, edx
je 0x10038090
lea eax, [ebp - 0x268]
mov dword [ebp - 0x268], 0
push eax
push edx
push ecx
call fcn.10081c50
mov eax, dword [ebp - 0x268]
add esp, 0xc
cmp eax, dword [esi + 0x34]
jb 0x10038207
mov eax, dword [ebp - 0x218]
inc eax
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.1000eb90
push 0
mov byte [ebp - 4], 0xd
call fcn.1008d94a
add esp, 0xc
push edx
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.1000e530
add esp, 0xc
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x248]
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x230]
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmovae ecx, dword [ebp - 0x248]
cmp dword [ebp - 0x21c], 8
push ecx
cmovae eax, dword [ebp - 0x230]
push eax
push str.RescueCnt
push str.HelperRescue
call esi
cmp dword [ebp - 0x234], 8
lea ecx, [ebp - 0x248]
lea eax, [ebp - 0x260]
cmovae ecx, dword [ebp - 0x248]
cmp dword [ebp - 0x24c], 8
push ecx
cmovae eax, dword [ebp - 0x260]
push eax
push str.LastRescueTime
push str.HelperRescue
call esi
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x24c]
cmp edx, 8
jb 0x1003817d
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10038173
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100385f7
push edx
push ecx
call fcn.1008854e
add esp, 8
xor eax, eax
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 7
mov word [ebp - 0x260], ax
mov byte [ebp - 4], 0x13
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x100381de
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100381d4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100385fc
push edx
push ecx
call fcn.1008854e
add esp, 8
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
mov esi, dword [ebp - 0x314]
mov byte [ebp - 4], 8
jmp 0x10038214
mov dword [ebx], 2
mov byte [ebp - 0x30d], 0
push esi
lea ecx, [ebp - 0x284]
call fcn.10008cd0
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], 0x17
call fcn.100051f0
test eax, eax
je 0x100384ee
cmp byte [ebp - 0x30d], 0
je 0x100384ee
lea ecx, [ebp - 0x30c]
call fcn.1003b530
mov byte [ebp - 4], 0x18
lea eax, [ebp - 0x284]
cmp dword [ebp - 0x270], 8
lea ecx, [ebp - 0x30c]
push dword [ebp - 0x274]
cmovae eax, dword [ebp - 0x284]
push eax
call fcn.100049a0
lea eax, [ebp - 0x2f4]
cmp eax, edi
je 0x1003829c
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x1003828d
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x2f4]
push eax
call fcn.100049a0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x218], 0
call fcn.1003b5d0
sub esp, 0xc
mov byte [ebp - 4], 0x19
lea eax, [ebp - 0x30c]
lea ecx, [ebp - 0x218]
push eax
call fcn.1003b6e0
test al, al
jne 0x100382d9
mov dword [ebx], 3
jmp 0x100384d0
cmp dword [ebx], 3
je 0x100384d0
lea ecx, [ebp - 0x260]
call fcn.10015bc0
lea eax, [ebp - 0x260]
mov byte [ebp - 4], 0x1a
push eax
push edi
call fcn.100b0ef0
add esp, 8
test al, al
jne 0x1003831f
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 0x19
call fcn.10015b30
mov dword [ebx], 5
jmp 0x100384d0
cmp dword [ebp - 0x24c], 0x10
lea edx, [ebp - 0x260]
push dword [ebp - 0x250]
cmovae edx, dword [ebp - 0x260]
lea ecx, [ebp - 0x230]
call fcn.1001a2c0
add esp, 4
lea eax, [esi + 0x18]
mov byte [ebp - 4], 0x1b
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.1000e5e0
add esp, 8
test eax, eax
je 0x100383c5
mov byte [ebp - 4], 0x1c
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x100383a6
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1003839c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038601
push edx
push ecx
call fcn.1008854e
add esp, 8
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
jmp 0x10038442
cmp dword [edi + 0x14], 8
mov esi, edi
jb 0x100383cf
mov esi, dword [edi]
call fcn.10008640
push ecx
push esi
mov ecx, eax
call fcn.10008740
test al, al
jne 0x10038460
mov byte [ebp - 4], 0x20
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x10038425
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1003841b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038606
push edx
push ecx
call fcn.1008854e
add esp, 8
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 0x19
call fcn.10015b30
mov ecx, edi
call fcn.100191e0
mov dword [ebx], 4
jmp 0x100384d0
mov byte [ebp - 4], 0x24
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x100384a4
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1003849a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003860b
push edx
push ecx
call fcn.1008854e
add esp, 8
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 0x19
call fcn.10015b30
lea ecx, [ebp - 0x218]
mov byte [ebp - 4], 0x18
call fcn.1003b650
lea ecx, [ebp - 0x30c]
mov byte [ebp - 4], 0x17
call fcn.100344a0
push edi
call fcn.1000b380
add esp, 4
test al, al
je 0x10038505
mov dword [ebx], 1
mov bl, 1
jmp 0x10038507
xor bl, bl
mov byte [ebp - 4], 0x30
mov edx, dword [ebp - 0x270]
cmp edx, 8
jb 0x1003854b
mov ecx, dword [ebp - 0x284]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10038541
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038610
push edx
push ecx
call fcn.1008854e
add esp, 8
xor eax, eax
mov dword [ebp - 0x274], 0
mov dword [ebp - 0x270], 7
mov word [ebp - 0x284], ax
mov dword [ebp - 4], 0x34
mov edx, dword [ebp - 0x234]
cmp edx, 8
jb 0x100385ab
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100385a1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038615
push edx
push ecx
call fcn.1008854e
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], 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.100881a5
mov esp, ebp
pop ebp
ret
call fcn.1008db97
call fcn.1008db97
call fcn.1008db97
call fcn.1008db97
call fcn.1008db97
call fcn.1008db97
call fcn.1008db97
call fcn.1008db97
call fcn.1008db97
int3