Function at 0x10084210
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c4
mov eax, dword [0x102519c8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
push edi
mov dword [ebp - 0x17c], ebx
cmp dword [ebx + 4], 0
je 0x10084247
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101f99c6
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x16c]
mov dword [ebp - 0x16c], 0
mov dword [ebp - 0x168], 0
call fcn.10087140
mov esi, dword [ebx + 0x10]
lea ecx, [ebx + 0x10]
mov dword [ebp - 0x16c], eax
push dword [esi + 4]
call fcn.10087d10
mov eax, dword [ebx + 0x10]
lea edi, [ebx + 0x18]
mov ecx, edi
mov dword [eax + 4], esi
mov eax, dword [ebx + 0x10]
mov dword [eax], esi
mov eax, dword [ebx + 0x10]
mov dword [eax + 8], esi
mov dword [ebx + 0x14], 0
mov esi, dword [edi]
push dword [esi + 4]
call fcn.10075080
mov eax, dword [edi]
lea ecx, [ebp - 0x1c4]
mov dword [eax + 4], esi
mov eax, dword [edi]
mov dword [eax], esi
mov eax, dword [edi]
mov dword [eax + 8], esi
mov dword [edi + 4], 0
call fcn.1006b640
push edi
lea ecx, [ebp - 0x1c4]
call fcn.10070950
mov eax, dword [edi]
mov esi, dword [eax]
mov dword [ebp - 0x164], esi
cmp esi, eax
je 0x10084f2b
nop
mov edi, dword [esi + 0x14]
mov dword [ebp - 0x184], edi
cmp edi, dword [esi + 0x18]
je 0x10084ed0
cmp dword [edi], 0
je 0x10084ebe
push dword [edi + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10084ebe
mov eax, dword [ebp - 0x16c]
mov edx, eax
mov ecx, dword [eax + 4]
lea ebx, [eax + 4]
mov dword [ebp - 0x174], ebx
mov dword [ebp - 0x178], ecx
mov dword [ebp - 0x160], edx
cmp byte [ecx + 0xd], 0
jne 0x1008441b
mov ecx, dword [edi + 8]
mov edi, dword [ebp - 0x178]
mov dword [ebp - 0x170], ecx
mov dword [ebp - 0x160], eax
jmp 0x10084350
mov ebx, dword [edi + 0x10]
mov edx, ecx
mov ecx, ebx
jmp 0x10084360
mov si, word [ecx]
cmp si, word [edx]
mov esi, dword [ebp - 0x164]
jne 0x1008439f
cmp word [ecx], 0
je 0x1008439b
mov si, word [ecx + 2]
cmp si, word [edx + 2]
mov word [ebp - 0x176], si
mov esi, dword [ebp - 0x164]
jne 0x1008439f
add ecx, 4
add edx, 4
cmp word [ebp - 0x176], 0
jne 0x10084360
xor ecx, ecx
jmp 0x100843a4
sbb ecx, ecx
or ecx, 1
test ecx, ecx
jns 0x100843ad
mov edi, dword [edi + 8]
jmp 0x100843f9
mov eax, dword [ebp - 0x160]
cmp byte [eax + 0xd], 0
je 0x100843f5
mov eax, dword [ebp - 0x170]
nop
mov cx, word [eax]
cmp cx, word [ebx]
jne 0x100843e6
test cx, cx
je 0x100843e2
mov cx, word [eax + 2]
cmp cx, word [ebx + 2]
jne 0x100843e6
add eax, 4
add ebx, 4
test cx, cx
jne 0x100843c0
xor eax, eax
jmp 0x100843eb
sbb eax, eax
or eax, 1
test eax, eax
jns 0x100843f5
mov dword [ebp - 0x160], edi
mov eax, edi
mov edi, dword [edi]
cmp byte [edi + 0xd], 0
mov ecx, dword [ebp - 0x170]
je 0x10084350
mov edi, dword [ebp - 0x184]
mov edx, dword [ebp - 0x160]
mov ebx, dword [ebp - 0x174]
cmp byte [edx + 0xd], 0
jne 0x10084423
mov ebx, edx
mov ecx, dword [ebx]
mov dword [ebp - 0x174], ecx
cmp byte [ecx + 0xd], 0
jne 0x10084490
mov esi, ecx
mov ecx, dword [esi + 0x10]
mov edx, dword [edi + 8]
lea esp, [esp]
mov bx, word [edx]
cmp bx, word [ecx]
jne 0x10084466
test bx, bx
je 0x10084462
mov bx, word [edx + 2]
cmp bx, word [ecx + 2]
jne 0x10084466
add edx, 4
add ecx, 4
test bx, bx
jne 0x10084440
xor ecx, ecx
jmp 0x1008446b
sbb ecx, ecx
or ecx, 1
test ecx, ecx
jns 0x1008447b
mov edx, esi
mov esi, dword [esi]
mov dword [ebp - 0x160], edx
jmp 0x10084484
mov esi, dword [esi + 8]
mov edx, dword [ebp - 0x160]
cmp byte [esi + 0xd], 0
je 0x10084433
mov esi, dword [ebp - 0x164]
xor ebx, ebx
cmp eax, edx
je 0x100844ee
mov ecx, dword [eax + 8]
inc ebx
cmp byte [ecx + 0xd], 0
je 0x100844c4
mov ecx, dword [eax + 4]
cmp byte [ecx + 0xd], 0
jne 0x100844c0
lea esp, [esp]
cmp eax, dword [ecx + 8]
jne 0x100844c0
mov eax, ecx
mov ecx, dword [ecx + 4]
cmp byte [ecx + 0xd], 0
je 0x100844b0
mov eax, ecx
jmp 0x100844e2
mov eax, ecx
mov edx, dword [eax]
cmp byte [edx + 0xd], 0
jne 0x100844dc
mov edi, edi
mov ecx, dword [edx]
mov eax, edx
mov edx, ecx
cmp byte [ecx + 0xd], 0
je 0x100844d0
mov edx, dword [ebp - 0x160]
cmp eax, edx
jne 0x10084496
test ebx, ebx
jne 0x10084eb8
xor eax, eax
mov dword [ebp - 0x88], 0
push 1
push dword [edi + 8]
mov word [ebp - 0x98], ax
mov ecx, 0x1025b480
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 - 0x180]
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.10002ad0
push dword [ebp - 0x180]
lea eax, [ebp - 0x1c]
push eax
call fcn.100987c0
mov esi, eax
add esp, 8
lea eax, [ebp - 0x80]
cmp eax, esi
je 0x100845b1
mov ecx, eax
call fcn.10005250
mov ecx, dword [esi]
mov dword [ebp - 0x80], ecx
mov ecx, dword [esi + 4]
mov dword [ebp - 0x7c], ecx
mov eax, dword [esi + 8]
mov dword [ebp - 0x78], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x74], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x70], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x6c], eax
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 8]
cmp edx, 8
jb 0x100845eb
mov ecx, dword [ebp - 0x1c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100845e1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10084f9b
push edx
push ecx
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 8
push dword [edi + 8]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov esi, eax
call fcn.10002d70
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
add eax, 0x10
lea ecx, [ebp - 0x160]
push esi
mov dword [ebp - 0x160], eax
call fcn.10023e80
test al, al
jne 0x1008464c
test esi, esi
jne 0x10084623
xor ecx, ecx
jmp 0x1008463f
mov ecx, esi
lea edx, [ecx + 2]
jmp 0x10084630
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10084630
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x160]
call fcn.10003740
mov esi, dword [ebp - 0x160]
lea eax, [ebp - 0x1c]
push esi
push eax
call fcn.100987c0
mov ebx, eax
add esp, 8
lea eax, [ebp - 0x98]
cmp eax, ebx
je 0x100846ba
mov ecx, eax
call fcn.10005250
mov ecx, dword [ebx]
mov dword [ebp - 0x98], ecx
mov ecx, dword [ebx + 4]
mov dword [ebp - 0x94], ecx
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 0x100846f4
mov ecx, dword [ebp - 0x1c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100846ea
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10084f9b
push edx
push ecx
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 8
mov ebx, dword [edi + 8]
mov ecx, ebx
push 0
push 0
sub esp, 0x18
xor eax, eax
mov edx, esp
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
lea eax, [ecx + 2]
mov dword [ebp - 0x174], eax
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10084720
sub ecx, dword [ebp - 0x174]
sar ecx, 1
push ecx
push ebx
mov ecx, edx
call fcn.100070c0
lea eax, [ebp - 0x1c]
push eax
call fcn.1011f9a0
mov ecx, eax
call fcn.1011f890
mov ebx, eax
lea eax, [ebp - 0x68]
cmp eax, ebx
je 0x10084792
mov ecx, eax
call fcn.10005250
mov ecx, dword [ebx]
mov dword [ebp - 0x68], ecx
mov ecx, dword [ebx + 4]
mov dword [ebp - 0x64], ecx
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 0x100847cc
mov ecx, dword [ebp - 0x1c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100847c2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10084f9b
push edx
push ecx
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 8
push 1
push dword [edi + 8]
lea eax, [ebp - 0x188]
push eax
call fcn.101216c0
push dword [eax]
lea eax, [ebp - 0x1c]
push eax
call fcn.100987c0
mov ebx, eax
add esp, 0x14
lea eax, [ebp - 0x50]
cmp eax, ebx
je 0x10084831
mov ecx, eax
call fcn.10005250
mov ecx, dword [ebx]
mov dword [ebp - 0x50], ecx
mov ecx, dword [ebx + 4]
mov dword [ebp - 0x4c], ecx
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 0x1008486b
mov ecx, dword [ebp - 0x1c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10084861
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10084f9b
push edx
push ecx
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 8
mov edx, dword [ebp - 0x188]
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 0x1008489d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [edi + 4]
cmp dword [eax - 0xc], 0
je 0x10084940
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.100987c0
mov ebx, eax
add esp, 8
lea eax, [ebp - 0x38]
cmp eax, ebx
je 0x100848fd
mov ecx, eax
call fcn.10005250
mov ecx, dword [ebx]
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebx + 4]
mov dword [ebp - 0x34], ecx
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 0x10084a11
mov ecx, dword [ebp - 0x1c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10084931
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10084f9b
push edx
push ecx
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 8
jmp 0x10084a11
push 9
push dword [edi + 8]
lea eax, [ebp - 0x18c]
push eax
call fcn.101216c0
push dword [eax]
lea eax, [ebp - 0x1c]
push eax
call fcn.100987c0
mov ebx, eax
add esp, 0x14
lea eax, [ebp - 0x38]
cmp eax, ebx
je 0x100849a5
mov ecx, eax
call fcn.10005250
mov ecx, dword [ebx]
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebx + 4]
mov dword [ebp - 0x34], ecx
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 0x100849df
mov ecx, dword [ebp - 0x1c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100849d5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10084f9b
push edx
push ecx
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
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 0x10084a11
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [edi + 8]
sub eax, 0x10
push eax
call fcn.10002a60
add eax, 0x10
lea ecx, [ebp - 0x158]
add esp, 4
mov dword [ebp - 0x15c], eax
lea eax, [ebp - 0x98]
push eax
call fcn.10005170
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x140]
call fcn.10005170
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x128]
call fcn.10005170
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x110]
call fcn.10005170
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0xf8]
call fcn.10005170
lea eax, [ebp - 0x15c]
push eax
lea ecx, [ebp - 0x16c]
call fcn.100768c0
push eax
add eax, 0x10
lea ecx, [ebp - 0x16c]
push eax
push 0
lea eax, [ebp - 0x194]
push eax
call fcn.100789a0
lea ecx, [ebp - 0x158]
call fcn.1007c310
mov edx, dword [ebp - 0x15c]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10084acb
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.1002d6e0
cmp dword [ebp - 0x6c], 8
lea eax, [ebp - 0x80]
jb 0x10084afa
mov eax, dword [ebp - 0x80]
push dword [ebp - 0x70]
lea ecx, [ebp - 0x1c]
push eax
call fcn.10006d70
cmp dword [ebp - 0x54], 8
lea eax, [ebp - 0x68]
jb 0x10084b12
mov eax, dword [ebp - 0x68]
push dword [ebp - 0x58]
lea ecx, [ebp - 0x1c]
push eax
call fcn.10006d70
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0xb0]
push 0x20000
push eax
call fcn.10091ab0
mov edx, dword [ebp - 8]
add esp, 0xc
cmp edx, 8
jb 0x10084b70
mov ecx, dword [ebp - 0x1c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10084b66
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10084f9b
push edx
push ecx
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 8
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp - 0x20]
call fcn.1000b980
mov eax, dword [edi + 8]
sub eax, 0x10
push eax
call fcn.10002a60
mov ebx, dword [ebp - 0x17c]
add eax, 0x10
add esp, 4
mov dword [ebp - 8], eax
lea eax, [ebp - 0x20]
lea ecx, [ebx + 0x10]
push eax
call fcn.100769e0
push eax
add eax, 0x10
lea ecx, [ebx + 0x10]
push eax
push 0
lea eax, [ebp - 0x19c]
push eax
call fcn.10079060
mov edx, dword [ebp - 8]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10084bd7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xc]
cmp edx, 0x10
jb 0x10084c0b
mov ecx, dword [ebp - 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10084c01
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10084f9b
push edx
push ecx
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 8
cmp dword [ebp - 0x3c], 8
lea eax, [ebp - 0x50]
mov dword [ebp - 0x170], eax
jb 0x10084c23
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x170], eax
cmp dword [ebp - 0x24], 8
lea ebx, [ebp - 0x38]
jb 0x10084c2f
mov ebx, dword [ebp - 0x38]
cmp dword [ebp - 0x54], 8
lea edx, [ebp - 0x68]
jb 0x10084c3b
mov edx, dword [ebp - 0x68]
cmp dword [ebp - 0x6c], 8
lea ecx, [ebp - 0x80]
jb 0x10084c47
mov ecx, dword [ebp - 0x80]
cmp dword [ebp - 0x84], 8
lea eax, [ebp - 0x98]
jb 0x10084c5c
mov eax, dword [ebp - 0x98]
push dword [ebp - 0x170]
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.10098240
add esp, 0x24
lea ecx, [ebp - 0xe0]
mov ebx, eax
lea eax, [ebp - 0xb0]
push eax
call fcn.1000b980
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0xc8], ecx
mov ecx, dword [ebx + 4]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0xc4], ecx
mov ecx, dword [ebx + 8]
mov dword [ebp - 0xb4], eax
xor eax, eax
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 7
mov word [ebx], ax
lea eax, [ebp - 0xe0]
mov ebx, dword [ebp - 0x17c]
mov dword [ebp - 0xc0], ecx
mov ecx, ebx
push eax
call fcn.1001d7b0
push eax
add eax, 0x10
mov ecx, ebx
push eax
push 0
lea eax, [ebp - 0x1a4]
push eax
call fcn.1001f180
mov edx, dword [ebp - 0xb4]
cmp edx, 8
jb 0x10084d40
mov ecx, dword [ebp - 0xc8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10084d36
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10084f9b
push edx
push ecx
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 8
mov edx, dword [ebp - 0xcc]
cmp edx, 0x10
jb 0x10084d7a
mov ecx, dword [ebp - 0xe0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10084d70
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10084f9b
push edx
push ecx
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 8
mov edx, dword [ebp - 8]
cmp edx, 8
jb 0x10084db4
mov ecx, dword [ebp - 0x1c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10084daa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10084f9b
push edx
push ecx
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 8
mov edx, dword [ebp - 0x9c]
cmp edx, 0x10
jb 0x10084dee
mov ecx, dword [ebp - 0xb0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10084de4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10084f9b
push edx
push ecx
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 8
mov dword [ebp - 0xa0], 0
add esi, 0xfffffff0
mov dword [ebp - 0x9c], 0xf
or eax, 0xffffffff
mov byte [ebp - 0xb0], 0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10084e21
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x180]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10084e3f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x24]
cmp edx, 8
jb 0x10084e79
mov ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10084e6f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10084f9b
push edx
push ecx
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 8
xor eax, eax
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x24], 7
mov word [ebp - 0x38], ax
call fcn.10005250
lea ecx, [ebp - 0x68]
call fcn.10005250
lea ecx, [ebp - 0x80]
call fcn.10005250
lea ecx, [ebp - 0x98]
call fcn.10005250
mov esi, dword [ebp - 0x164]
jmp 0x10084ebe
mov ebx, dword [ebp - 0x17c]
add edi, 0x18
mov dword [ebp - 0x184], edi
cmp edi, dword [esi + 0x18]
jne 0x100842f2
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x10084efc
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x10084ef2
cmp esi, dword [eax + 8]
jne 0x10084ef2
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x10084ee2
mov esi, eax
mov dword [ebp - 0x164], esi
jmp 0x10084f22
mov esi, eax
mov dword [ebp - 0x164], esi
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x10084f22
lea esp, [esp]
mov eax, dword [ecx]
mov esi, ecx
mov dword [ebp - 0x164], esi
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x10084f10
cmp esi, dword [ebx + 0x18]
jne 0x100842e0
cmp dword [ebx + 4], 0
lea ecx, [ebp - 0x1c4]
setne bl
call fcn.1006b9f0
mov esi, dword [ebp - 0x16c]
lea ecx, [ebp - 0x16c]
push dword [esi + 4]
call fcn.10087a60
mov eax, dword [ebp - 0x16c]
push 0x8c
mov dword [eax + 4], esi
mov ecx, dword [ebp - 0x16c]
mov dword [ecx], esi
mov ecx, dword [ebp - 0x16c]
mov dword [ecx + 8], esi
push dword [ebp - 0x16c]
mov dword [ebp - 0x168], 0
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
mov ecx, dword [ebp - 4]
add esp, 8
mov al, bl
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.101f99c6
mov esp, ebp
pop ebp
ret
call fcn.101e6c40
int3