Function at 0x10085350
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1e0
mov eax, dword [0x10250150]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
push edi
mov dword [ebp - 0x178], ebx
cmp dword [ebx + 4], 0
je 0x10085387
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10212f74
mov esp, ebp
pop ebp
ret
push 0x8c
mov dword [ebp - 0x16c], 0
call fcn.10213511
lea edi, [ebx + 0x10]
add esp, 4
mov ecx, edi
mov dword [ebp - 0x184], edi
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov esi, dword [edi]
mov dword [ebp - 0x170], eax
push dword [esi + 4]
push edi
call fcn.10079d00
mov dword [esi + 4], esi
mov dword [esi], esi
mov dword [esi + 8], esi
mov dword [edi + 4], 0
lea edi, [ebx + 0x18]
mov esi, dword [edi]
mov ecx, edi
push dword [esi + 4]
push edi
call fcn.1006af90
mov dword [esi + 4], esi
lea ecx, [ebp - 0x1b0]
mov dword [esi], esi
mov dword [esi + 8], esi
mov dword [edi + 4], 0
call fcn.1006c320
push edi
lea ecx, [ebp - 0x1b0]
call fcn.10072300
mov eax, dword [edi]
mov edi, dword [eax]
cmp edi, eax
je 0x10086346
lea esp, [esp]
mov esi, dword [edi + 0x14]
cmp esi, dword [edi + 0x18]
je 0x10086301
lea esp, [esp]
cmp dword [esi], 0
je 0x100862f5
push dword [esi + 8]
lea ebx, [esi + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100862ef
push ebx
lea eax, [ebp - 0x1bc]
push eax
lea ecx, [ebp - 0x170]
call fcn.10020fd0
mov eax, dword [eax + 8]
cmp byte [eax + 0xd], 0
jne 0x100854ac
mov eax, dword [eax + 0x10]
test eax, eax
je 0x1008639a
mov ecx, dword [ebx]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x1008549c
test dx, dx
je 0x10085498
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x1008549c
add ecx, 4
add eax, 4
test dx, dx
jne 0x10085476
xor eax, eax
jmp 0x100854a1
sbb eax, eax
or eax, 1
shr eax, 0x1f
test al, al
je 0x100862ef
xor eax, eax
mov dword [ebp - 0x88], 0
push 1
push dword [ebx]
mov word [ebp - 0x98], ax
mov ecx, 0x1025a3a8
mov dword [ebp - 0x70], eax
mov word [ebp - 0x80], ax
mov dword [ebp - 0x58], eax
mov word [ebp - 0x68], ax
mov dword [ebp - 0x40], eax
mov word [ebp - 0x50], ax
mov dword [ebp - 0x28], eax
mov word [ebp - 0x38], ax
lea eax, [ebp - 0x188]
push eax
mov dword [ebp - 0x84], 7
mov dword [ebp - 0x6c], 7
mov dword [ebp - 0x54], 7
mov dword [ebp - 0x3c], 7
mov dword [ebp - 0x24], 7
call fcn.10004c40
push dword [ebp - 0x188]
lea eax, [ebp - 0x1c]
push eax
call fcn.1009b5f0
mov ebx, eax
add esp, 8
lea eax, [ebp - 0x80]
cmp eax, ebx
je 0x100855b9
mov edx, dword [ebp - 0x6c]
cmp edx, 8
jb 0x1008556f
mov ecx, dword [ebp - 0x80]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10085565
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100863a4
push edx
push ecx
call fcn.102134ff
add esp, 8
mov dword [ebp - 0x70], 0
xor eax, eax
mov word [ebp - 0x80], ax
mov dword [ebp - 0x6c], 7
mov eax, dword [ebx]
mov dword [ebp - 0x80], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x78], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x74], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x70], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x6c], eax
xor eax, eax
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 7
mov word [ebx], ax
mov edx, dword [ebp - 8]
cmp edx, 8
jb 0x100855f3
mov ecx, dword [ebp - 0x1c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100855e9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100863a4
push edx
push ecx
call fcn.102134ff
add esp, 8
push dword [esi + 8]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov ebx, eax
call fcn.10003980
test eax, eax
je 0x1008639a
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
lea ecx, [ebp - 0x174]
push ebx
mov dword [ebp - 0x174], eax
call fcn.10004a70
test al, al
jne 0x1008565c
test ebx, ebx
jne 0x10085633
xor eax, eax
jmp 0x1008564f
mov eax, ebx
lea edx, [eax + 2]
jmp 0x10085640
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10085640
sub eax, edx
sar eax, 1
push eax
push ebx
lea ecx, [ebp - 0x174]
call fcn.10004050
push dword [ebp - 0x174]
lea eax, [ebp - 0x1c]
push eax
call fcn.1009b5f0
mov ebx, eax
add esp, 8
lea eax, [ebp - 0x98]
cmp eax, ebx
je 0x10085723
mov edx, dword [ebp - 0x84]
cmp edx, 8
jb 0x100856be
mov ecx, dword [ebp - 0x98]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100856b4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100863a4
push edx
push ecx
call fcn.102134ff
add esp, 8
mov dword [ebp - 0x88], 0
xor eax, eax
mov word [ebp - 0x98], ax
mov dword [ebp - 0x84], 7
mov eax, dword [ebx]
mov dword [ebp - 0x98], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 0x94], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x90], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x88], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x84], eax
xor eax, eax
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 7
mov word [ebx], ax
mov edx, dword [ebp - 8]
cmp edx, 8
jb 0x1008575d
mov ecx, dword [ebp - 0x1c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10085753
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100863a4
push edx
push ecx
call fcn.102134ff
add esp, 8
mov ebx, dword [esi + 8]
mov ecx, ebx
push 0
push 0
sub esp, 0x18
xor eax, eax
mov edx, esp
mov word [edx], ax
lea eax, [ecx + 2]
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov dword [ebp - 0x160], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10085787
sub ecx, dword [ebp - 0x160]
sar ecx, 1
push ecx
push ebx
mov ecx, edx
call fcn.10008240
lea eax, [ebp - 0x1c]
push eax
call fcn.10130260
mov ecx, eax
call fcn.10130100
mov ebx, eax
lea eax, [ebp - 0x68]
cmp eax, ebx
je 0x10085844
mov edx, dword [ebp - 0x54]
cmp edx, 8
jb 0x100857fa
mov ecx, dword [ebp - 0x68]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100857f0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100863a4
push edx
push ecx
call fcn.102134ff
add esp, 8
mov dword [ebp - 0x58], 0
xor eax, eax
mov word [ebp - 0x68], ax
mov dword [ebp - 0x54], 7
mov eax, dword [ebx]
mov dword [ebp - 0x68], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 0x64], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x60], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x58], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x54], eax
xor eax, eax
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 7
mov word [ebx], ax
mov edx, dword [ebp - 8]
cmp edx, 8
jb 0x1008587e
mov ecx, dword [ebp - 0x1c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10085874
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100863a4
push edx
push ecx
call fcn.102134ff
add esp, 8
push 1
push dword [esi + 8]
lea eax, [ebp - 0x18c]
push eax
call fcn.10131a80
push dword [eax]
lea eax, [ebp - 0x1c]
push eax
call fcn.1009b5f0
mov ebx, eax
add esp, 0x14
lea eax, [ebp - 0x50]
cmp eax, ebx
je 0x1008592e
mov edx, dword [ebp - 0x3c]
cmp edx, 8
jb 0x100858e4
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100858da
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100863a4
push edx
push ecx
call fcn.102134ff
add esp, 8
mov dword [ebp - 0x40], 0
xor eax, eax
mov word [ebp - 0x50], ax
mov dword [ebp - 0x3c], 7
mov eax, dword [ebx]
mov dword [ebp - 0x50], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x48], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x44], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x40], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x3c], eax
xor eax, eax
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 7
mov word [ebx], ax
mov edx, dword [ebp - 8]
cmp edx, 8
jb 0x10085968
mov ecx, dword [ebp - 0x1c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1008595e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100863a4
push edx
push ecx
call fcn.102134ff
add esp, 8
mov edx, dword [ebp - 0x18c]
xor eax, eax
mov word [ebp - 0x1c], ax
add edx, 0xfffffff0
mov dword [ebp - 0xc], 0
or eax, 0xffffffff
mov dword [ebp - 8], 7
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1008599a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esi + 4]
cmp dword [eax - 0xc], 0
je 0x10085a88
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.1009b5f0
mov ebx, eax
add esp, 8
lea eax, [ebp - 0x38]
cmp eax, ebx
je 0x10085a45
mov edx, dword [ebp - 0x24]
cmp edx, 8
jb 0x100859fb
mov ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100859f1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100863a4
push edx
push ecx
call fcn.102134ff
add esp, 8
mov dword [ebp - 0x28], 0
xor eax, eax
mov word [ebp - 0x38], ax
mov dword [ebp - 0x24], 7
mov eax, dword [ebx]
mov dword [ebp - 0x38], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x30], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x28], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x24], eax
xor eax, eax
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 7
mov word [ebx], ax
mov edx, dword [ebp - 8]
cmp edx, 8
jb 0x10085ba4
mov ecx, dword [ebp - 0x1c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10085a79
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100863a4
push edx
push ecx
call fcn.102134ff
add esp, 8
jmp 0x10085ba4
push 9
push dword [esi + 8]
lea eax, [ebp - 0x190]
push eax
call fcn.10131a80
push dword [eax]
lea eax, [ebp - 0x1c]
push eax
call fcn.1009b5f0
mov ebx, eax
add esp, 0x14
lea eax, [ebp - 0x38]
cmp eax, ebx
je 0x10085b38
mov edx, dword [ebp - 0x24]
cmp edx, 8
jb 0x10085aee
mov ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10085ae4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100863a4
push edx
push ecx
call fcn.102134ff
add esp, 8
mov dword [ebp - 0x28], 0
xor eax, eax
mov word [ebp - 0x38], ax
mov dword [ebp - 0x24], 7
mov eax, dword [ebx]
mov dword [ebp - 0x38], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x30], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x28], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x24], eax
xor eax, eax
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 7
mov word [ebx], ax
mov edx, dword [ebp - 8]
cmp edx, 8
jb 0x10085b72
mov ecx, dword [ebp - 0x1c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10085b68
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100863a4
push edx
push ecx
call fcn.102134ff
add esp, 8
mov edx, dword [ebp - 0x190]
xor eax, eax
mov word [ebp - 0x1c], ax
add edx, 0xfffffff0
mov dword [ebp - 0xc], 0
or eax, 0xffffffff
mov dword [ebp - 8], 7
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10085ba4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esi + 8]
sub eax, 0x10
push eax
call fcn.10004ba0
add eax, 0x10
lea ecx, [ebp - 0x110]
add esp, 4
mov dword [ebp - 0x114], eax
lea eax, [ebp - 0x98]
push eax
call fcn.10006aa0
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0xf8]
call fcn.10006aa0
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0xe0]
call fcn.10006aa0
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0xc8]
call fcn.10006aa0
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0xb0]
call fcn.10006aa0
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x1c8]
push eax
lea ecx, [ebp - 0x170]
call fcn.10020fd0
mov ecx, dword [eax]
mov dword [ebp - 0x168], ecx
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ebp - 0x164], ecx
cmp byte [eax + 0xd], 0
jne 0x10085c83
mov eax, dword [eax + 0x10]
test eax, eax
je 0x1008639a
mov ecx, dword [ebp - 0x114]
mov edi, edi
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x10085c76
test dx, dx
je 0x10085c72
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x10085c76
add ecx, 4
add eax, 4
test dx, dx
jne 0x10085c50
xor eax, eax
jmp 0x10085c7b
sbb eax, eax
or eax, 1
test eax, eax
jns 0x10085ea5
cmp dword [ebp - 0x16c], 0x1d41d41
je 0x10086395
mov eax, dword [ebp - 0x170]
push 0x8c
mov dword [ebp - 0x160], eax
call fcn.10213511
mov ecx, dword [ebp - 0x114]
mov ebx, eax
add ecx, 0xfffffff0
push ecx
call fcn.10004ba0
add eax, 0x10
add esp, 8
mov dword [ebx + 0x10], eax
mov eax, dword [ebp - 0x110]
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x14], eax
mov eax, dword [ebp - 0x10c]
mov dword [ebx + 0x18], eax
mov eax, dword [ebp - 0x108]
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp - 0x104]
mov dword [ebx + 0x20], eax
mov eax, dword [ebp - 0x100]
mov dword [ebx + 0x24], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebx + 0x28], eax
xor eax, eax
mov word [ebp - 0x110], ax
mov eax, dword [ebp - 0xf8]
mov dword [ebx + 0x2c], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebx + 0x30], eax
mov eax, dword [ebp - 0xf0]
mov dword [ebx + 0x34], eax
mov eax, dword [ebp - 0xec]
mov dword [ebx + 0x38], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebx + 0x3c], eax
mov eax, dword [ebp - 0xe4]
mov dword [ebx + 0x40], eax
xor eax, eax
mov word [ebp - 0xf8], ax
mov eax, dword [ebp - 0xe0]
mov dword [ebx + 0x44], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebx + 0x48], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebx + 0x4c], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebx + 0x50], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebx + 0x54], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebx + 0x58], eax
xor eax, eax
mov word [ebp - 0xe0], ax
mov eax, dword [ebp - 0xc8]
mov dword [ebx + 0x5c], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebx + 0x60], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebx + 0x64], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebx + 0x68], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebx + 0x6c], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebx + 0x70], eax
xor eax, eax
mov word [ebp - 0xc8], ax
mov eax, dword [ebp - 0xb0]
mov dword [ebx + 0x74], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x100], 0
mov dword [ebp - 0xfc], 7
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 7
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xcc], 7
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 7
mov dword [ebx + 0x78], eax
lea ecx, [ebp - 0x170]
mov eax, dword [ebp - 0xa8]
mov dword [ebx + 0x7c], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebx + 0x80], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebx + 0x84], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebx + 0x88], eax
xor eax, eax
push ebx
push dword [ebp - 0x164]
mov word [ebp - 0xb0], ax
mov eax, dword [ebp - 0x160]
push dword [ebp - 0x168]
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 7
mov word [ebx + 0xc], 0
call fcn.10007940
lea ecx, [ebp - 0x110]
call fcn.1007c280
mov edx, dword [ebp - 0x114]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10085ece
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov dword [ebp - 0xc], 0
mov word [ebp - 0x1c], ax
lea ecx, [ebp - 0x1c]
mov eax, dword [ebp - 0x58]
add eax, dword [ebp - 0x70]
push eax
mov dword [ebp - 8], 7
call fcn.1002eec0
cmp dword [ebp - 0x6c], 8
lea eax, [ebp - 0x80]
jb 0x10085efd
mov eax, dword [ebp - 0x80]
push dword [ebp - 0x70]
lea ecx, [ebp - 0x1c]
push eax
call fcn.10007e60
cmp dword [ebp - 0x54], 8
lea eax, [ebp - 0x68]
jb 0x10085f15
mov eax, dword [ebp - 0x68]
push dword [ebp - 0x58]
lea ecx, [ebp - 0x1c]
push eax
call fcn.10007e60
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x12c]
push 0x20000
push eax
call fcn.10094570
mov edx, dword [ebp - 8]
add esp, 0xc
cmp edx, 8
jb 0x10085f73
mov ecx, dword [ebp - 0x1c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10085f69
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100863a4
push edx
push ecx
call fcn.102134ff
add esp, 8
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x20]
call fcn.1000cc60
mov eax, dword [esi + 8]
sub eax, 0x10
push eax
call fcn.10004ba0
mov ebx, dword [ebp - 0x184]
add eax, 0x10
add esp, 4
mov dword [ebp - 0x160], eax
mov dword [ebp - 8], eax
mov ecx, ebx
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1d4]
push eax
call fcn.10021060
mov ecx, dword [eax]
mov dword [ebp - 0x180], ecx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x17c], ecx
lea ecx, [ebp - 0x20]
push ecx
push dword [eax + 8]
mov ecx, ebx
call fcn.1007a1d0
test al, al
jne 0x10086057
cmp dword [ebx + 4], 0x5d1745d
je 0x10086395
mov eax, dword [ebx]
mov ecx, ebx
push 1
mov dword [ebp - 0x164], eax
call fcn.1008aff0
mov dword [ebp - 0x168], eax
lea ebx, [eax + 0x10]
lea eax, [ebp - 0x20]
mov ecx, ebx
push eax
call fcn.1006c2a0
mov eax, dword [ebp - 8]
mov dword [ebp - 0x160], eax
lea ecx, [eax - 0x10]
push ecx
call fcn.10004ba0
mov ecx, dword [ebp - 0x164]
add esp, 4
add eax, 0x10
mov dword [ebx + 0x18], eax
mov eax, dword [ebp - 0x168]
push eax
push dword [ebp - 0x17c]
push dword [ebp - 0x180]
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x184]
mov word [eax + 0xc], 0
call fcn.10007940
mov edx, dword [ebp - 0x160]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10086075
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x20]
call fcn.1000d2b0
cmp dword [ebp - 0x3c], 8
lea eax, [ebp - 0x50]
mov dword [ebp - 0x160], eax
jb 0x10086095
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x160], eax
cmp dword [ebp - 0x24], 8
lea ebx, [ebp - 0x38]
jb 0x100860a1
mov ebx, dword [ebp - 0x38]
cmp dword [ebp - 0x54], 8
lea edx, [ebp - 0x68]
jb 0x100860ad
mov edx, dword [ebp - 0x68]
cmp dword [ebp - 0x6c], 8
lea ecx, [ebp - 0x80]
jb 0x100860b9
mov ecx, dword [ebp - 0x80]
cmp dword [ebp - 0x84], 8
lea eax, [ebp - 0x98]
jb 0x100860ce
mov eax, dword [ebp - 0x98]
push dword [ebp - 0x160]
push ebx
push edx
push ecx
push eax
push 0x46
push 0x46
lea eax, [ebp - 0x1c]
push str._type_:_d__rule_group_id_:__d__t_t_t_t_t_t_t_t_t_t_t___file_name_:__s__t_t_t_t_t_t_t_t_t_t_t___file_path_:__s__t_t_t_t_t_t_t_t_t_t_t___file_md5_:__s__t_t_t_t_t_t_t_t_t_t_t___product_name_:__s__t_t_t_t_t_t_t_t_t_t_t___company_name_:__s_
push eax
call fcn.1009b0a0
add esp, 0x24
lea ecx, [ebp - 0x15c]
mov ebx, eax
lea eax, [ebp - 0x12c]
push eax
call fcn.1000cc60
push ebx
lea ecx, [ebp - 0x144]
call fcn.10006a50
mov ebx, dword [ebp - 0x178]
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x1e0]
mov ecx, ebx
push eax
call fcn.10021060
mov ecx, dword [eax]
mov dword [ebp - 0x164], ecx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x168], ecx
lea ecx, [ebp - 0x15c]
push ecx
push dword [eax + 8]
mov ecx, ebx
call fcn.1007a1d0
test al, al
jne 0x100861c6
cmp dword [ebx + 4], 0x3ffffff
je 0x10086395
mov eax, dword [ebx]
mov ecx, ebx
push 1
mov dword [ebp - 0x17c], eax
call fcn.1008b050
mov dword [ebp - 0x180], eax
lea ebx, [eax + 0x10]
lea eax, [ebp - 0x15c]
mov ecx, ebx
push eax
call fcn.1006c2a0
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebx + 0x18]
call fcn.10006a50
mov eax, dword [ebp - 0x180]
mov ecx, dword [ebp - 0x17c]
mov ebx, dword [ebp - 0x178]
push eax
push dword [ebp - 0x168]
mov dword [eax], ecx
push dword [ebp - 0x164]
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov ecx, ebx
mov word [eax + 0xc], 0
call fcn.10007940
lea ecx, [ebp - 0x144]
call fcn.1001d6d0
lea ecx, [ebp - 0x15c]
call fcn.1000d2b0
lea ecx, [ebp - 0x1c]
call fcn.1001d6d0
lea ecx, [ebp - 0x12c]
call fcn.1000d2b0
mov edx, dword [ebp - 0x174]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1008620d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x188]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1008622b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x24]
cmp eax, 8
jb 0x10086240
inc eax
lea ecx, [ebp - 0x38]
push eax
push dword [ebp - 0x38]
call fcn.10062f40
xor eax, eax
mov dword [ebp - 0x28], 0
mov word [ebp - 0x38], ax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x24], 7
cmp eax, 8
jb 0x10086269
inc eax
lea ecx, [ebp - 0x50]
push eax
push dword [ebp - 0x50]
call fcn.10062f40
xor eax, eax
mov dword [ebp - 0x40], 0
mov word [ebp - 0x50], ax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x3c], 7
cmp eax, 8
jb 0x10086292
inc eax
lea ecx, [ebp - 0x68]
push eax
push dword [ebp - 0x68]
call fcn.10062f40
xor eax, eax
mov dword [ebp - 0x58], 0
mov word [ebp - 0x68], ax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x54], 7
cmp eax, 8
jb 0x100862bb
inc eax
lea ecx, [ebp - 0x80]
push eax
push dword [ebp - 0x80]
call fcn.10062f40
xor eax, eax
mov dword [ebp - 0x70], 0
mov word [ebp - 0x80], ax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x6c], 7
cmp eax, 8
jb 0x100862f5
inc eax
lea ecx, [ebp - 0x98]
push eax
push dword [ebp - 0x98]
call fcn.10062f40
jmp 0x100862f5
mov ebx, dword [ebp - 0x178]
add esi, 0x18
cmp esi, dword [edi + 0x18]
jne 0x10085430
mov eax, dword [edi + 8]
cmp byte [eax + 0xd], 0
je 0x10086327
mov eax, dword [edi + 4]
cmp byte [eax + 0xd], 0
jne 0x10086323
cmp edi, dword [eax + 8]
jne 0x10086323
mov edi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x10086313
mov edi, eax
jmp 0x1008633d
mov edi, eax
mov ecx, dword [edi]
cmp byte [ecx + 0xd], 0
jne 0x1008633d
mov eax, dword [ecx]
mov edi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x10086331
cmp edi, dword [ebx + 0x18]
jne 0x10085420
cmp dword [ebx + 4], 0
lea ecx, [ebp - 0x1b0]
setne bl
call fcn.1006c7b0
mov eax, dword [ebp - 0x170]
push dword [eax + 4]
lea eax, [ebp - 0x170]
push eax
mov ecx, eax
call fcn.10079ac0
push 0x8c
push dword [ebp - 0x170]
call fcn.102134ff
mov ecx, dword [ebp - 4]
add esp, 8
mov al, bl
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.10212f74
mov esp, ebp
pop ebp
ret
call fcn.10007b50
push 0x80004005
call fcn.100030c0
call fcn.10200ab0
int3