Function at 0x491c20
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov dword [ebp - 0x4c], edx
xor edx, edx
push ebx
push esi
mov dword [ebp - 0x14], ecx
push edi
lea ecx, [edx + 0x40]
mov dword [ebp - 0x18], edx
call fcn.00479b80
mov edi, eax
mov dword [ebp - 0x44], edi
test edi, edi
je 0x491c5f
mov ecx, 0x401
call fcn.00479b80
mov dword [edi + 4], eax
test eax, eax
jne 0x491c6b
push edi
call fcn.004bae83
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 0x11
mov dword [edi + 8], 0x400
mov dword [edi + 0x38], 0
mov dword [edi + 0x10], 0x10
call fcn.00479b80
mov dword [edi + 0xc], eax
test eax, eax
jne 0x491cae
push dword [edi + 4]
call fcn.004bae83
push edi
call fcn.004bae83
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [0x561618], 0
mov ebx, dword [ebp + 0x14]
mov esi, dword [ebp + 0xc]
mov dword [edi + 0x34], 0
mov dword [edi], 0x23147869
je 0x491ce7
push ebx
push dword [ebp + 0x10]
push 0
push esi
push str.ntfs_proc_idxentry:_Processing_index_entry:__llu__Size:__u__Len:__u_n
call fcn.004bdd06
add eax, 0x40
push eax
call fcn.00479b20
add esp, 0x18
mov eax, dword [ebp + 0x10]
cmp eax, ebx
jae 0x491d49
call fcn.00476ab0
mov edi, dword [0x56161c]
push edi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x491d2a
push 0xc08
call fcn.004bb5d5
push 0xc08
mov esi, eax
push 0
push esi
call fcn.004c13c0
add esp, 0x10
push esi
push edi
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push str.ntfs_proc_idxentry:_Allocated_length_of_index_entries_is_larger_than_buffer_length
mov dword [esi], 0x8000006
call fcn.004768f0
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [esi + eax]
lea eax, [esi + ebx]
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x58], eax
lea eax, [esi + 0x53]
cmp eax, ecx
jae 0x492e79
cmp dword [0x561618], 0
lea ebx, [esi + 0x10]
je 0x491e8c
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x98]
cmp edx, 1
jne 0x491d88
movzx ecx, byte [esi + 0xb]
movzx eax, byte [esi + 0xa]
jmp 0x491d90
movzx ecx, byte [esi + 0xa]
movzx eax, byte [esi + 0xb]
shl ecx, 8
add eax, ecx
mov dword [ebp - 0x54], eax
cmp edx, 1
jne 0x491da7
movzx ecx, byte [esi + 9]
movzx eax, byte [esi + 8]
jmp 0x491daf
movzx ecx, byte [esi + 8]
movzx eax, byte [esi + 9]
shl ecx, 8
add ecx, eax
mov dword [ebp - 0x50], ecx
cmp edx, 1
jne 0x491e08
movzx eax, byte [esi + 5]
cdq
mov ecx, eax
mov edi, edx
movzx eax, byte [esi + 4]
shld edi, ecx, 8
cdq
shl ecx, 8
add ecx, eax
movzx eax, byte [esi + 3]
adc edi, edx
cdq
shld edi, ecx, 8
shl ecx, 8
add ecx, eax
movzx eax, byte [esi + 2]
adc edi, edx
cdq
shld edi, ecx, 8
shl ecx, 8
add ecx, eax
movzx eax, byte [esi + 1]
adc edi, edx
cdq
shld edi, ecx, 8
shl ecx, 8
add ecx, eax
movzx eax, byte [esi]
jmp 0x491e52
movzx eax, byte [esi]
cdq
mov ecx, eax
mov edi, edx
movzx eax, byte [esi + 1]
shld edi, ecx, 8
cdq
shl ecx, 8
add ecx, eax
movzx eax, byte [esi + 2]
adc edi, edx
cdq
shld edi, ecx, 8
shl ecx, 8
add ecx, eax
movzx eax, byte [esi + 3]
adc edi, edx
cdq
shld edi, ecx, 8
shl ecx, 8
add ecx, eax
movzx eax, byte [esi + 4]
adc edi, edx
cdq
shld edi, ecx, 8
shl ecx, 8
add ecx, eax
movzx eax, byte [esi + 5]
adc edi, edx
cdq
shld edi, ecx, 8
shl ecx, 8
add ecx, eax
mov eax, dword [ebp - 0x54]
movzx eax, ax
push eax
mov eax, dword [ebp - 0x50]
adc edi, edx
movzx eax, ax
push eax
push edi
push ecx
push 0
push ebx
push 0
push esi
push str.ntfs_proc_idxentry:_New_IdxEnt:__llu__FILE_NAME_Entry:__llu__File_Ref:__llu__IdxEnt_Len:__hu__StrLen:__hu_n
call fcn.004bdd06
add eax, 0x40
push eax
call fcn.00479b20
add esp, 0x28
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0x98]
mov dword [ebp - 0x48], eax
cmp eax, 1
jne 0x491f31
movzx eax, byte [esi + 5]
cdq
mov edi, eax
mov dword [ebp - 0x50], edx
lea eax, [esi + 4]
mov ecx, edi
mov dword [ebp - 0x40], eax
movzx eax, byte [eax]
cdq
mov dword [ebp - 0x38], eax
movzx eax, byte [esi + 3]
mov dword [ebp - 0x3c], edx
cdq
mov dword [ebp - 0x30], eax
movzx eax, byte [esi + 2]
mov dword [ebp - 0x34], edx
cdq
mov dword [ebp - 0x28], eax
movzx eax, byte [esi + 1]
mov dword [ebp - 0x2c], edx
cdq
mov dword [ebp - 0x20], eax
movzx eax, byte [esi]
mov dword [ebp - 0x24], edx
cdq
mov ebx, eax
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp - 0x50]
mov eax, edx
shld eax, ecx, 8
shl ecx, 8
add ecx, dword [ebp - 0x38]
adc eax, dword [ebp - 0x3c]
shld eax, ecx, 8
shl ecx, 8
add ecx, dword [ebp - 0x30]
adc eax, dword [ebp - 0x34]
shld eax, ecx, 8
shl ecx, 8
add ecx, dword [ebp - 0x28]
adc eax, dword [ebp - 0x2c]
shld eax, ecx, 8
shl ecx, 8
add ecx, dword [ebp - 0x20]
adc eax, dword [ebp - 0x24]
shld eax, ecx, 8
shl ecx, 8
add ecx, ebx
adc eax, dword [ebp - 0x1c]
jmp 0x491fb9
movzx eax, byte [esi]
cdq
mov ebx, eax
mov dword [ebp - 0x1c], edx
movzx eax, byte [esi + 1]
mov ecx, ebx
cdq
mov dword [ebp - 0x20], eax
movzx eax, byte [esi + 2]
mov dword [ebp - 0x24], edx
cdq
mov dword [ebp - 0x28], eax
movzx eax, byte [esi + 3]
mov dword [ebp - 0x2c], edx
cdq
mov dword [ebp - 0x30], eax
lea eax, [esi + 4]
mov dword [ebp - 0x40], eax
movzx eax, byte [eax]
mov dword [ebp - 0x34], edx
cdq
mov dword [ebp - 0x38], eax
movzx eax, byte [esi + 5]
mov dword [ebp - 0x3c], edx
cdq
mov edi, eax
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x1c]
shld eax, ecx, 8
shl ecx, 8
add ecx, dword [ebp - 0x20]
adc eax, dword [ebp - 0x24]
shld eax, ecx, 8
shl ecx, 8
add ecx, dword [ebp - 0x28]
adc eax, dword [ebp - 0x2c]
shld eax, ecx, 8
shl ecx, 8
add ecx, dword [ebp - 0x30]
adc eax, dword [ebp - 0x34]
shld eax, ecx, 8
shl ecx, 8
add ecx, dword [ebp - 0x38]
adc eax, dword [ebp - 0x3c]
shld eax, ecx, 8
shl ecx, 8
add ecx, edi
adc eax, edx
mov dword [ebp - 0x54], ecx
mov ecx, dword [ebp - 0x14]
cmp eax, dword [ecx + 0x2c]
mov ecx, dword [ebp - 0x54]
ja 0x492e54
jb 0x491fd9
mov eax, dword [ebp - 0x14]
cmp ecx, dword [eax + 0x28]
ja 0x492e54
cmp dword [ebp - 0x48], 1
jne 0x492025
mov eax, edi
mov ecx, edx
shld ecx, eax, 8
shl eax, 8
add eax, dword [ebp - 0x38]
adc ecx, dword [ebp - 0x3c]
shld ecx, eax, 8
shl eax, 8
add eax, dword [ebp - 0x30]
adc ecx, dword [ebp - 0x34]
shld ecx, eax, 8
shl eax, 8
add eax, dword [ebp - 0x28]
adc ecx, dword [ebp - 0x2c]
shld ecx, eax, 8
shl eax, 8
add eax, dword [ebp - 0x20]
adc ecx, dword [ebp - 0x24]
shld ecx, eax, 8
shl eax, 8
add eax, ebx
adc ecx, dword [ebp - 0x1c]
jmp 0x492069
mov ecx, dword [ebp - 0x1c]
mov eax, ebx
shld ecx, eax, 8
shl eax, 8
add eax, dword [ebp - 0x20]
adc ecx, dword [ebp - 0x24]
shld ecx, eax, 8
shl eax, 8
add eax, dword [ebp - 0x28]
adc ecx, dword [ebp - 0x2c]
shld ecx, eax, 8
shl eax, 8
add eax, dword [ebp - 0x30]
adc ecx, dword [ebp - 0x34]
shld ecx, eax, 8
shl eax, 8
add eax, dword [ebp - 0x38]
adc ecx, dword [ebp - 0x3c]
shld ecx, eax, 8
shl eax, 8
add eax, edi
adc ecx, edx
mov edx, dword [ebp - 0x14]
cmp ecx, dword [edx + 0x24]
jb 0x492e54
ja 0x492080
cmp eax, dword [edx + 0x20]
jb 0x492e54
mov eax, dword [ebp - 0x48]
movzx ecx, byte [esi + 9]
movzx edx, byte [esi + 8]
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0xc], edx
cmp eax, 1
jne 0x4920a2
mov dword [ebp - 0x10], ecx
shl dword [ebp - 0x10], 8
add dword [ebp - 0x10], edx
jmp 0x4920ac
mov dword [ebp - 0x10], edx
shl dword [ebp - 0x10], 8
add dword [ebp - 0x10], ecx
movzx edx, byte [esi + 0xa]
cmp eax, 1
movzx eax, byte [esi + 0xb]
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
jne 0x4920c6
shl eax, 8
add eax, edx
jmp 0x4920ce
mov eax, edx
shl eax, 8
add eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
cmp word [ebp - 0x10], ax
jbe 0x492e54
cmp dword [ebp - 0x48], 1
jne 0x4920ea
mov eax, ecx
shl eax, 8
add eax, edx
jmp 0x4920f1
mov eax, edx
shl eax, 8
add eax, ecx
movzx eax, ax
and eax, reloc.WS2_32.dll_closesocket
jns 0x492100
dec eax
or eax, 0xfffffffc
inc eax
jne 0x492e54
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x98], 1
jne 0x49211b
mov eax, ecx
shl eax, 8
add eax, edx
jmp 0x492122
mov eax, edx
shl eax, 8
add eax, ecx
movzx eax, ax
cmp eax, dword [ebp + 0x10]
ja 0x492e54
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x98], 1
jne 0x4921a6
movzx eax, byte [esi + 0x15]
cdq
mov ecx, eax
movzx eax, byte [esi + 0x14]
shld edx, ecx, 8
shl ecx, 8
mov dword [ebp - 0x10], edx
cdq
add ecx, eax
mov eax, dword [ebp - 0x10]
adc eax, edx
shld eax, ecx, 8
mov dword [ebp - 0x10], eax
movzx eax, byte [esi + 0x13]
cdq
shl ecx, 8
add ecx, eax
mov eax, dword [ebp - 0x10]
adc eax, edx
shld eax, ecx, 8
mov dword [ebp - 0x10], eax
movzx eax, byte [esi + 0x12]
cdq
shl ecx, 8
add ecx, eax
mov eax, dword [ebp - 0x10]
adc eax, edx
shld eax, ecx, 8
mov dword [ebp - 0x10], eax
movzx eax, byte [esi + 0x11]
cdq
shl ecx, 8
add ecx, eax
mov eax, dword [ebp - 0x10]
adc eax, edx
shld eax, ecx, 8
mov dword [ebp - 0x10], eax
movzx eax, byte [esi + 0x10]
jmp 0x492212
movzx eax, byte [esi + 0x10]
cdq
mov ecx, eax
mov eax, edx
shld eax, ecx, 8
mov dword [ebp - 0x10], eax
movzx eax, byte [esi + 0x11]
cdq
shl ecx, 8
add ecx, eax
mov eax, dword [ebp - 0x10]
adc eax, edx
shld eax, ecx, 8
mov dword [ebp - 0x10], eax
movzx eax, byte [esi + 0x12]
cdq
shl ecx, 8
add ecx, eax
mov eax, dword [ebp - 0x10]
adc eax, edx
shld eax, ecx, 8
mov dword [ebp - 0x10], eax
movzx eax, byte [esi + 0x13]
cdq
shl ecx, 8
add ecx, eax
mov eax, dword [ebp - 0x10]
adc eax, edx
shld eax, ecx, 8
mov dword [ebp - 0x10], eax
movzx eax, byte [esi + 0x14]
cdq
shl ecx, 8
add ecx, eax
mov eax, dword [ebp - 0x10]
adc eax, edx
shld eax, ecx, 8
mov dword [ebp - 0x10], eax
movzx eax, byte [esi + 0x15]
cdq
shl ecx, 8
add ecx, eax
mov eax, dword [ebp - 0x10]
adc eax, edx
mov edx, dword [ebp - 0x4c]
cmp ecx, dword [edx + 0x18]
jne 0x492e41
cmp eax, dword [edx + 0x1c]
jne 0x492e41
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 8]
cmp edx, 1
jne 0x492245
shl eax, 8
add eax, dword [ebp - 4]
jmp 0x49224d
mov ecx, dword [ebp - 4]
shl ecx, 8
add eax, ecx
test ax, ax
je 0x492278
mov eax, dword [ebp - 0x54]
cmp edx, 1
jne 0x492262
shl eax, 8
add eax, dword [ebp - 0xc]
jmp 0x49226a
mov ecx, dword [ebp - 0xc]
shl ecx, 8
add eax, ecx
movzx eax, ax
add eax, esi
cmp eax, dword [ebp - 0x58]
jbe 0x492b71
mov al, byte [esi + 0x51]
test al, al
je 0x4922a5
cmp al, 1
je 0x4922a5
cmp al, 2
je 0x4922a5
cmp al, 3
je 0x4922a5
cmp dword [0x561618], 0
mov esi, dword [ebp - 0x40]
je 0x492e57
push str.ntfs_proc_idxentry:_Skipping_because_of_invalid_name_space_n
jmp 0x492e1b
cmp edx, 1
jne 0x49237a
movzx eax, byte [esi + 0x3f]
cdq
shld edx, eax, 8
shl eax, 8
mov dword [ebp - 0xc], eax
movzx eax, byte [esi + 0x3e]
mov dword [ebp - 4], edx
cdq
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
adc dword [ebp - 4], edx
mov edx, dword [ebp - 4]
shld edx, eax, 8
shl eax, 8
mov dword [ebp - 0xc], eax
movzx eax, byte [esi + 0x3d]
mov dword [ebp - 4], edx
cdq
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
adc dword [ebp - 4], edx
mov edx, dword [ebp - 4]
shld edx, eax, 8
shl eax, 8
mov dword [ebp - 0xc], eax
movzx eax, byte [esi + 0x3c]
mov dword [ebp - 4], edx
cdq
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
adc dword [ebp - 4], edx
mov edx, dword [ebp - 4]
shld edx, eax, 8
shl eax, 8
mov dword [ebp - 0xc], eax
movzx eax, byte [esi + 0x3b]
mov dword [ebp - 4], edx
cdq
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
adc dword [ebp - 4], edx
mov edx, dword [ebp - 4]
shld edx, eax, 8
shl eax, 8
mov dword [ebp - 0xc], eax
movzx eax, byte [esi + 0x3a]
mov dword [ebp - 4], edx
cdq
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
adc dword [ebp - 4], edx
mov edx, dword [ebp - 4]
shld edx, eax, 8
shl eax, 8
mov dword [ebp - 0xc], eax
movzx eax, byte [esi + 0x39]
mov dword [ebp - 4], edx
cdq
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
adc dword [ebp - 4], edx
mov edx, dword [ebp - 4]
shld edx, eax, 8
shl eax, 8
mov dword [ebp - 0xc], eax
movzx eax, byte [esi + 0x38]
jmp 0x492441
movzx eax, byte [esi + 0x38]
cdq
shld edx, eax, 8
shl eax, 8
mov dword [ebp - 0xc], eax
movzx eax, byte [esi + 0x39]
mov dword [ebp - 4], edx
cdq
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
adc dword [ebp - 4], edx
mov edx, dword [ebp - 4]
shld edx, eax, 8
shl eax, 8
mov dword [ebp - 0xc], eax
movzx eax, byte [esi + 0x3a]
mov dword [ebp - 4], edx
cdq
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
adc dword [ebp - 4], edx
mov edx, dword [ebp - 4]
shld edx, eax, 8
shl eax, 8
mov dword [ebp - 0xc], eax
movzx eax, byte [esi + 0x3b]
mov dword [ebp - 4], edx
cdq
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
adc dword [ebp - 4], edx
mov edx, dword [ebp - 4]
shld edx, eax, 8
shl eax, 8
mov dword [ebp - 0xc], eax
movzx eax, byte [esi + 0x3c]
mov dword [ebp - 4], edx
cdq
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
adc dword [ebp - 4], edx
mov edx, dword [ebp - 4]
shld edx, eax, 8
shl eax, 8
mov dword [ebp - 0xc], eax
movzx eax, byte [esi + 0x3d]
mov dword [ebp - 4], edx
cdq
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
adc dword [ebp - 4], edx
mov edx, dword [ebp - 4]
shld edx, eax, 8
shl eax, 8
mov dword [ebp - 0xc], eax
movzx eax, byte [esi + 0x3e]
mov dword [ebp - 4], edx
cdq
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
adc dword [ebp - 4], edx
mov edx, dword [ebp - 4]
shld edx, eax, 8
shl eax, 8
mov dword [ebp - 0xc], eax
movzx eax, byte [esi + 0x3f]
mov dword [ebp - 4], edx
cdq
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x14]
adc dword [ebp - 4], edx
cmp dword [eax + 0x98], 1
jne 0x492527
movzx eax, byte [esi + 0x47]
cdq
shld edx, eax, 8
shl eax, 8
mov dword [ebp - 8], eax
movzx eax, byte [esi + 0x46]
mov dword [ebp - 0x10], edx
cdq
add dword [ebp - 8], eax
mov eax, dword [ebp - 8]
adc dword [ebp - 0x10], edx
mov edx, dword [ebp - 0x10]
shld edx, eax, 8
shl eax, 8
mov dword [ebp - 8], eax
movzx eax, byte [esi + 0x45]
mov dword [ebp - 0x10], edx
cdq
add dword [ebp - 8], eax
mov eax, dword [ebp - 8]
adc dword [ebp - 0x10], edx
mov edx, dword [ebp - 0x10]
shld edx, eax, 8
shl eax, 8
mov dword [ebp - 8], eax
movzx eax, byte [esi + 0x44]
mov dword [ebp - 0x10], edx
cdq
add dword [ebp - 8], eax
mov eax, dword [ebp - 8]
adc dword [ebp - 0x10], edx
mov edx, dword [ebp - 0x10]
shld edx, eax, 8
shl eax, 8
mov dword [ebp - 8], eax
movzx eax, byte [esi + 0x43]
mov dword [ebp - 0x10], edx
cdq
add dword [ebp - 8], eax
mov eax, dword [ebp - 8]
adc dword [ebp - 0x10], edx
mov edx, dword [ebp - 0x10]
shld edx, eax, 8
shl eax, 8
mov dword [ebp - 8], eax
movzx eax, byte [esi + 0x42]
mov dword [ebp - 0x10], edx
cdq
add dword [ebp - 8], eax
mov eax, dword [ebp - 8]
adc dword [ebp - 0x10], edx
mov edx, dword [ebp - 0x10]
shld edx, eax, 8
shl eax, 8
mov dword [ebp - 8], eax
movzx eax, byte [esi + 0x41]
mov dword [ebp - 0x10], edx
cdq
add dword [ebp - 8], eax
mov eax, dword [ebp - 8]
adc dword [ebp - 0x10], edx
mov edx, dword [ebp - 0x10]
shld edx, eax, 8
shl eax, 8
mov dword [ebp - 8], eax
movzx eax, byte [esi + 0x40]
jmp 0x4925ee
movzx eax, byte [esi + 0x40]
cdq
shld edx, eax, 8
shl eax, 8
mov dword [ebp - 8], eax
movzx eax, byte [esi + 0x41]
mov dword [ebp - 0x10], edx
cdq
add dword [ebp - 8], eax
mov eax, dword [ebp - 8]
adc dword [ebp - 0x10], edx
mov edx, dword [ebp - 0x10]
shld edx, eax, 8
shl eax, 8
mov dword [ebp - 8], eax
movzx eax, byte [esi + 0x42]
mov dword [ebp - 0x10], edx
cdq
add dword [ebp - 8], eax
mov eax, dword [ebp - 8]
adc dword [ebp - 0x10], edx
mov edx, dword [ebp - 0x10]
shld edx, eax, 8
shl eax, 8
mov dword [ebp - 8], eax
movzx eax, byte [esi + 0x43]
mov dword [ebp - 0x10], edx
cdq
add dword [ebp - 8], eax
mov eax, dword [ebp - 8]
adc dword [ebp - 0x10], edx
mov edx, dword [ebp - 0x10]
shld edx, eax, 8
shl eax, 8
mov dword [ebp - 8], eax
movzx eax, byte [esi + 0x44]
mov dword [ebp - 0x10], edx
cdq
add dword [ebp - 8], eax
mov eax, dword [ebp - 8]
adc dword [ebp - 0x10], edx
mov edx, dword [ebp - 0x10]
shld edx, eax, 8
shl eax, 8
mov dword [ebp - 8], eax
movzx eax, byte [esi + 0x45]
mov dword [ebp - 0x10], edx
cdq
add dword [ebp - 8], eax
mov eax, dword [ebp - 8]
adc dword [ebp - 0x10], edx
mov edx, dword [ebp - 0x10]
shld edx, eax, 8
shl eax, 8
mov dword [ebp - 8], eax
movzx eax, byte [esi + 0x46]
mov dword [ebp - 0x10], edx
cdq
add dword [ebp - 8], eax
mov eax, dword [ebp - 8]
adc dword [ebp - 0x10], edx
mov edx, dword [ebp - 0x10]
shld edx, eax, 8
shl eax, 8
mov dword [ebp - 8], eax
movzx eax, byte [esi + 0x47]
mov dword [ebp - 0x10], edx
cdq
add dword [ebp - 8], eax
mov eax, dword [ebp - 0x10]
adc eax, edx
cmp dword [ebp - 4], eax
jb 0x492e2e
ja 0x492611
mov eax, dword [ebp - 8]
cmp dword [ebp - 0xc], eax
jb 0x492e2e
cmp byte [esi + 0x50], 0
je 0x492e2e
cmp byte [esi + 0x52], 0
je 0x492e2e
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x98], 1
jne 0x492701
movzx eax, byte [esi + 0x1f]
cdq
shld edx, eax, 8
shl eax, 8
mov dword [ebp - 0x10], eax
movzx eax, byte [esi + 0x1e]
mov dword [ebp - 0xc], edx
cdq
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
adc dword [ebp - 0xc], edx
mov edx, dword [ebp - 0xc]
shld edx, eax, 8
shl eax, 8
mov dword [ebp - 0x10], eax
movzx eax, byte [esi + 0x1d]
mov dword [ebp - 0xc], edx
cdq
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
adc dword [ebp - 0xc], edx
mov edx, dword [ebp - 0xc]
shld edx, eax, 8
shl eax, 8
mov dword [ebp - 0x10], eax
movzx eax, byte [esi + 0x1c]
mov dword [ebp - 0xc], edx
cdq
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
adc dword [ebp - 0xc], edx
mov edx, dword [ebp - 0xc]
shld edx, eax, 8
shl eax, 8
mov dword [ebp - 0x10], eax
movzx eax, byte [esi + 0x1b]
mov dword [ebp - 0xc], edx
cdq
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
adc dword [ebp - 0xc], edx
mov edx, dword [ebp - 0xc]
shld edx, eax, 8
shl eax, 8
mov dword [ebp - 0x10], eax
movzx eax, byte [esi + 0x1a]
mov dword [ebp - 0xc], edx
cdq
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
adc dword [ebp - 0xc], edx
mov edx, dword [ebp - 0xc]
shld edx, eax, 8
shl eax, 8
mov dword [ebp - 0x10], eax
movzx eax, byte [esi + 0x19]
mov dword [ebp - 0xc], edx
cdq
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
adc dword [ebp - 0xc], edx
mov edx, dword [ebp - 0xc]
shld edx, eax, 8
shl eax, 8
mov dword [ebp - 0x10], eax
movzx eax, byte [esi + 0x18]
jmp 0x4927c8
movzx eax, byte [esi + 0x18]
cdq
shld edx, eax, 8
shl eax, 8
mov dword [ebp - 0x10], eax
movzx eax, byte [esi + 0x19]
mov dword [ebp - 0xc], edx
cdq
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
adc dword [ebp - 0xc], edx
mov edx, dword [ebp - 0xc]
shld edx, eax, 8
shl eax, 8
mov dword [ebp - 0x10], eax
movzx eax, byte [esi + 0x1a]
mov dword [ebp - 0xc], edx
cdq
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
adc dword [ebp - 0xc], edx
mov edx, dword [ebp - 0xc]
shld edx, eax, 8
shl eax, 8
mov dword [ebp - 0x10], eax
movzx eax, byte [esi + 0x1b]
mov dword [ebp - 0xc], edx
cdq
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
adc dword [ebp - 0xc], edx
mov edx, dword [ebp - 0xc]
shld edx, eax, 8
shl eax, 8
mov dword [ebp - 0x10], eax
movzx eax, byte [esi + 0x1c]
mov dword [ebp - 0xc], edx
cdq
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
adc dword [ebp - 0xc], edx
mov edx, dword [ebp - 0xc]
shld edx, eax, 8
shl eax, 8
mov dword [ebp - 0x10], eax
movzx eax, byte [esi + 0x1d]
mov dword [ebp - 0xc], edx
cdq
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
adc dword [ebp - 0xc], edx
mov edx, dword [ebp - 0xc]
shld edx, eax, 8
shl eax, 8
mov dword [ebp - 0x10], eax
movzx eax, byte [esi + 0x1e]
mov dword [ebp - 0xc], edx
cdq
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
adc dword [ebp - 0xc], edx
mov edx, dword [ebp - 0xc]
shld edx, eax, 8
shl eax, 8
mov dword [ebp - 0x10], eax
movzx eax, byte [esi + 0x1f]
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0xc], edx
cdq
add ecx, eax
mov eax, dword [ebp - 0xc]
adc eax, edx
push eax
push ecx
call fcn.00491be0
add esp, 8
test al, al
je 0x492e0a
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x98], 1
jne 0x4928c4
movzx eax, byte [esi + 0x37]
cdq
shld edx, eax, 8
shl eax, 8
mov dword [ebp - 0x10], eax
movzx eax, byte [esi + 0x36]
mov dword [ebp - 0xc], edx
cdq
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
adc dword [ebp - 0xc], edx
mov edx, dword [ebp - 0xc]
shld edx, eax, 8
shl eax, 8
mov dword [ebp - 0x10], eax
movzx eax, byte [esi + 0x35]
mov dword [ebp - 0xc], edx
cdq
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
adc dword [ebp - 0xc], edx
mov edx, dword [ebp - 0xc]
shld edx, eax, 8
shl eax, 8
mov dword [ebp - 0x10], eax
movzx eax, byte [esi + 0x34]
mov dword [ebp - 0xc], edx
cdq
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
adc dword [ebp - 0xc], edx
mov edx, dword [ebp - 0xc]
shld edx, eax, 8
shl eax, 8
mov dword [ebp - 0x10], eax
movzx eax, byte [esi + 0x33]
mov dword [ebp - 0xc], edx
cdq
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
adc dword [ebp - 0xc], edx
mov edx, dword [ebp - 0xc]
shld edx, eax, 8
shl eax, 8
mov dword [ebp - 0x10], eax
movzx eax, byte [esi + 0x32]
mov dword [ebp - 0xc], edx
cdq
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
adc dword [ebp - 0xc], edx
mov edx, dword [ebp - 0xc]
shld edx, eax, 8
shl eax, 8
mov dword [ebp - 0x10], eax
movzx eax, byte [esi + 0x31]
mov dword [ebp - 0xc], edx
cdq
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
adc dword [ebp - 0xc], edx
mov edx, dword [ebp - 0xc]
shld edx, eax, 8
shl eax, 8
mov dword [ebp - 0x10], eax
movzx eax, byte [esi + 0x30]
jmp 0x49298b
movzx eax, byte [esi + 0x30]
cdq
shld edx, eax, 8
shl eax, 8
mov dword [ebp - 0x10], eax
movzx eax, byte [esi + 0x31]
mov dword [ebp - 0xc], edx
cdq
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
adc dword [ebp - 0xc], edx
mov edx, dword [ebp - 0xc]
shld edx, eax, 8
shl eax, 8
mov dword [ebp - 0x10], eax
movzx eax, byte [esi + 0x32]
mov dword [ebp - 0xc], edx
cdq
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
adc dword [ebp - 0xc], edx
mov edx, dword [ebp - 0xc]
shld edx, eax, 8
shl eax, 8
mov dword [ebp - 0x10], eax
movzx eax, byte [esi + 0x33]
mov dword [ebp - 0xc], edx
cdq
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
adc dword [ebp - 0xc], edx
mov edx, dword [ebp - 0xc]
shld edx, eax, 8
shl eax, 8
mov dword [ebp - 0x10], eax
movzx eax, byte [esi + 0x34]
mov dword [ebp - 0xc], edx
cdq
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
adc dword [ebp - 0xc], edx
mov edx, dword [ebp - 0xc]
shld edx, eax, 8
shl eax, 8
mov dword [ebp - 0x10], eax
movzx eax, byte [esi + 0x35]
mov dword [ebp - 0xc], edx
cdq
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
adc dword [ebp - 0xc], edx
mov edx, dword [ebp - 0xc]
shld edx, eax, 8
shl eax, 8
mov dword [ebp - 0x10], eax
movzx eax, byte [esi + 0x36]
mov dword [ebp - 0xc], edx
cdq
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
adc dword [ebp - 0xc], edx
mov edx, dword [ebp - 0xc]
shld edx, eax, 8
shl eax, 8
mov dword [ebp - 0x10], eax
movzx eax, byte [esi + 0x37]
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0xc], edx
cdq
add ecx, eax
mov eax, dword [ebp - 0xc]
adc eax, edx
push eax
push ecx
call fcn.00491be0
add esp, 8
test al, al
je 0x492e0a
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x98], 1
jne 0x492a87
movzx eax, byte [esi + 0x27]
cdq
shld edx, eax, 8
shl eax, 8
mov dword [ebp - 0x10], eax
movzx eax, byte [esi + 0x26]
mov dword [ebp - 0xc], edx
cdq
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
adc dword [ebp - 0xc], edx
mov edx, dword [ebp - 0xc]
shld edx, eax, 8
shl eax, 8
mov dword [ebp - 0x10], eax
movzx eax, byte [esi + 0x25]
mov dword [ebp - 0xc], edx
cdq
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
adc dword [ebp - 0xc], edx
mov edx, dword [ebp - 0xc]
shld edx, eax, 8
shl eax, 8
mov dword [ebp - 0x10], eax
movzx eax, byte [esi + 0x24]
mov dword [ebp - 0xc], edx
cdq
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
adc dword [ebp - 0xc], edx
mov edx, dword [ebp - 0xc]
shld edx, eax, 8
shl eax, 8
mov dword [ebp - 0x10], eax
movzx eax, byte [esi + 0x23]
mov dword [ebp - 0xc], edx
cdq
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
adc dword [ebp - 0xc], edx
mov edx, dword [ebp - 0xc]
shld edx, eax, 8
shl eax, 8
mov dword [ebp - 0x10], eax
movzx eax, byte [esi + 0x22]
mov dword [ebp - 0xc], edx
cdq
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
adc dword [ebp - 0xc], edx
mov edx, dword [ebp - 0xc]
shld edx, eax, 8
shl eax, 8
mov dword [ebp - 0x10], eax
movzx eax, byte [esi + 0x21]
mov dword [ebp - 0xc], edx
cdq
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
adc dword [ebp - 0xc], edx
mov edx, dword [ebp - 0xc]
shld edx, eax, 8
shl eax, 8
mov dword [ebp - 0x10], eax
movzx eax, byte [esi + 0x20]
jmp 0x492b4e
movzx eax, byte [esi + 0x20]
cdq
shld edx, eax, 8
shl eax, 8
mov dword [ebp - 0x10], eax
movzx eax, byte [esi + 0x21]
mov dword [ebp - 0xc], edx
cdq
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
adc dword [ebp - 0xc], edx
mov edx, dword [ebp - 0xc]
shld edx, eax, 8
shl eax, 8
mov dword [ebp - 0x10], eax
movzx eax, byte [esi + 0x22]
mov dword [ebp - 0xc], edx
cdq
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
adc dword [ebp - 0xc], edx
mov edx, dword [ebp - 0xc]
shld edx, eax, 8
shl eax, 8
mov dword [ebp - 0x10], eax
movzx eax, byte [esi + 0x23]
mov dword [ebp - 0xc], edx
cdq
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
adc dword [ebp - 0xc], edx
mov edx, dword [ebp - 0xc]
shld edx, eax, 8
shl eax, 8
mov dword [ebp - 0x10], eax
movzx eax, byte [esi + 0x24]
mov dword [ebp - 0xc], edx
cdq
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
adc dword [ebp - 0xc], edx
mov edx, dword [ebp - 0xc]
shld edx, eax, 8
shl eax, 8
mov dword [ebp - 0x10], eax
movzx eax, byte [esi + 0x25]
mov dword [ebp - 0xc], edx
cdq
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
adc dword [ebp - 0xc], edx
mov edx, dword [ebp - 0xc]
shld edx, eax, 8
shl eax, 8
mov dword [ebp - 0x10], eax
movzx eax, byte [esi + 0x26]
mov dword [ebp - 0xc], edx
cdq
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
adc dword [ebp - 0xc], edx
mov edx, dword [ebp - 0xc]
shld edx, eax, 8
shl eax, 8
mov dword [ebp - 0x10], eax
movzx eax, byte [esi + 0x27]
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0xc], edx
cdq
add ecx, eax
mov eax, dword [ebp - 0xc]
adc eax, edx
push eax
push ecx
call fcn.00491be0
add esp, 8
test al, al
je 0x492e0a
mov edx, dword [ebp - 0x48]
cmp byte [esi + 0x51], 2
jne 0x492c64
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x492c45
cmp edx, 1
jne 0x492bd0
mov eax, dword [ebp - 0x50]
shld eax, edi, 8
shl edi, 8
add edi, dword [ebp - 0x38]
adc eax, dword [ebp - 0x3c]
shld eax, edi, 8
shl edi, 8
add edi, dword [ebp - 0x30]
adc eax, dword [ebp - 0x34]
shld eax, edi, 8
shl edi, 8
add edi, dword [ebp - 0x28]
adc eax, dword [ebp - 0x2c]
shld eax, edi, 8
shl edi, 8
add edi, dword [ebp - 0x20]
adc eax, dword [ebp - 0x24]
shld eax, edi, 8
shl edi, 8
add edi, ebx
adc eax, dword [ebp - 0x1c]
jmp 0x492c13
mov eax, dword [ebp - 0x1c]
shld eax, ebx, 8
shl ebx, 8
add ebx, dword [ebp - 0x20]
adc eax, dword [ebp - 0x24]
shld eax, ebx, 8
shl ebx, 8
add ebx, dword [ebp - 0x28]
adc eax, dword [ebp - 0x2c]
shld eax, ebx, 8
shl ebx, 8
add ebx, dword [ebp - 0x30]
adc eax, dword [ebp - 0x34]
shld eax, ebx, 8
shl ebx, 8
add ebx, dword [ebp - 0x38]
adc eax, dword [ebp - 0x3c]
shld eax, ebx, 8
shl ebx, 8
add edi, ebx
adc eax, dword [ebp - 0x50]
cmp dword [ecx + 0x18], edi
jne 0x492c2e
cmp dword [ecx + 0x1c], eax
jne 0x492c2e
push ecx
mov ecx, dword [ebp - 0x14]
mov edx, esi
call fcn.00491b50
mov ecx, dword [ebp - 0x18]
add esp, 4
mov edx, ecx
mov ecx, dword [ebp - 0x4c]
call fcn.00477a60
test al, al
jne 0x492e89
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x98]
cmp edx, 1
jne 0x492dbc
movzx ecx, byte [esi + 0xb]
movzx eax, byte [esi + 0xa]
jmp 0x492dc4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x492c84
mov ecx, dword [ebp - 0x4c]
mov edx, ebx
call fcn.00477a60
test al, al
jne 0x492e89
mov dword [ebp - 0x18], 0
mov ebx, dword [ebp - 0x44]
mov edx, esi
mov ecx, dword [ebp - 0x14]
push ebx
call fcn.00491870
add esp, 4
test al, al
je 0x492cba
cmp dword [0x561618], 0
je 0x492c45
push str.ntfs_proc_idxentry:_Skipping_because_error_copying_dent_entry_n
call fcn.004bdd06
add eax, 0x40
push eax
call fcn.00479b20
add esp, 8
jmp 0x492c45
cmp byte [ebp + 8], 1
mov edx, dword [ebp - 0x14]
je 0x492d19
mov edi, dword [edx + 0x98]
cmp edi, 1
jne 0x492cd8
movzx ecx, byte [esi + 0xb]
movzx eax, byte [esi + 0xa]
jmp 0x492ce0
movzx ecx, byte [esi + 0xa]
movzx eax, byte [esi + 0xb]
shl ecx, 8
add eax, ecx
test ax, ax
je 0x492d19
cmp edi, 1
jne 0x492cf9
movzx ecx, byte [esi + 9]
movzx eax, byte [esi + 8]
jmp 0x492d01
movzx ecx, byte [esi + 8]
movzx eax, byte [esi + 9]
shl ecx, 8
add ecx, eax
movzx eax, cx
add eax, esi
cmp eax, dword [ebp - 0x58]
ja 0x492d19
mov dword [ebx + 0x38], 1
jmp 0x492d20
mov dword [ebx + 0x38], 2
cmp dword [0x561618], 0
je 0x492d94
mov ecx, dword [edx + 0x98]
cmp ecx, 1
jne 0x492d3e
movzx edx, byte [esi + 9]
movzx eax, byte [esi + 8]
jmp 0x492d46
movzx edx, byte [esi + 8]
movzx eax, byte [esi + 9]
shl edx, 8
add edx, eax
cmp ecx, 1
jne 0x492d5a
movzx edi, byte [esi + 0xb]
movzx eax, byte [esi + 0xa]
jmp 0x492d62
movzx edi, byte [esi + 0xa]
movzx eax, byte [esi + 0xb]
push dword [ebx + 0x38]
mov ecx, dword [ebp - 0x58]
shl edi, 8
add edi, eax
movzx eax, dx
sub ecx, eax
movzx eax, di
push 0
sub ecx, esi
push ecx
push eax
push dword [ebx + 4]
push str.ntfs_proc_idxentry:_Entry_Details_of__s:_Str_Len:__hu__Len_to_end_after_current:__llu__flags:__x_n
call fcn.004bdd06
add eax, 0x40
push eax
call fcn.00479b20
add esp, 0x1c
cmp byte [esi + 0x51], 3
jne 0x492c42
mov ecx, dword [ebp - 0x4c]
mov edx, ebx
call fcn.00477a60
test al, al
jne 0x492e9d
mov dword [ebp - 0x18], 0
jmp 0x492c45
movzx ecx, byte [esi + 0xa]
movzx eax, byte [esi + 0xb]
shl ecx, 8
add eax, ecx
test ax, ax
jne 0x492ddd
movzx eax, byte [esi + 0x50]
lea esi, [esi + eax*2]
add esi, 0x55
and esi, 0xfffffffc
jmp 0x492e57
cmp edx, 1
jne 0x492df6
movzx ecx, byte [esi + 9]
movzx eax, byte [esi + 8]
shl ecx, 8
add ecx, eax
movzx eax, cx
add esi, eax
jmp 0x492e57
movzx ecx, byte [esi + 8]
movzx eax, byte [esi + 9]
shl ecx, 8
add ecx, eax
movzx eax, cx
add esi, eax
jmp 0x492e57
cmp dword [0x561618], 0
mov esi, dword [ebp - 0x40]
je 0x492e57
push str.ntfs_proc_idxentry:_Skipping_because_of_invalid_times_n
call fcn.004bdd06
add eax, 0x40
push eax
call fcn.00479b20
add esp, 8
jmp 0x492e57
cmp dword [0x561618], 0
mov esi, dword [ebp - 0x40]
je 0x492e57
push str.ntfs_proc_idxentry:_Skipping_because_of_reported_file_sizes__name_length__or_NULL_name_n
jmp 0x492e1b
cmp dword [0x561618], 0
mov esi, dword [ebp - 0x40]
je 0x492e57
push str.ntfs_proc_idxentry:_Skipping_because_of_wrong_parent_address_n
jmp 0x492e1b
mov esi, dword [ebp - 0x40]
lea eax, [esi + 0x53]
cmp eax, dword [ebp - 0x5c]
jb 0x491d60
mov edx, dword [ebp - 0x18]
test edx, edx
je 0x492e76
mov ecx, dword [ebp - 0x4c]
call fcn.00477a60
test al, al
jne 0x492e89
mov edi, dword [ebp - 0x44]
mov ecx, edi
call fcn.00480420
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x44]
call fcn.00480420
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, ebx
call fcn.00480420
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret