Function at 0x64007ea0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x64143101
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1424
call fcn.6411db70
mov eax, dword [0x6419e6d0]
xor eax, esp
mov dword [esp + 0x1420], eax
push ebx
push esi
push edi
mov eax, dword [0x6419e6d0]
xor eax, esp
push eax
lea eax, [esp + 0x1438]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x58], eax
xor eax, eax
mov esi, vtable.CArray_unsigned_long_int__unsigned_long_int_const__.0
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x1440], eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x1440], 1
call fcn.64016e10
lea ebx, [esp + 0x28]
lea eax, [esp + 0x44]
call fcn.640088e0
mov byte [esp + 0x1440], 0
mov eax, dword [esp + 0x2c]
xor edi, edi
cmp eax, edi
je 0x64007f5b
push eax
call fcn.6401c80c
add esp, 4
mov eax, dword [0x641a629c]
cmp eax, edi
jne 0x64007f9a
push 0x20
call fcn.6401c7d2
add esp, 4
cmp eax, edi
je 0x64007f93
mov dword [eax], vtable.CAppSettings.0
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], edi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x18], edi
mov dword [eax + 0x14], edi
mov dword [eax + 4], edi
mov dword [eax + 8], 1
jmp 0x64007f95
xor eax, eax
mov dword [0x641a629c], eax
cmp dword [eax + 4], edi
je 0x64007fb1
call fcn.640030a0
mov eax, dword [eax + 0x14]
xor ebx, ebx
cmp eax, edi
mov dword [esp + 0x1c], eax
jg 0x64008025
push 0xa80
lea eax, [esp + 0x9b0]
push edi
push eax
call fcn.6411bc30
mov ebx, dword [esp + 0x58]
xor ecx, ecx
add esp, 0xc
cmp ebx, edi
setle cl
mov dword [esp + 0x5c], edi
mov dword [esp + 0x40], edi
dec ecx
and ecx, dword [esp + 0x48]
mov dword [esp + 0x20], ecx
mov ecx, dword [0x641a62cc]
cmp ecx, edi
jne 0x640080c2
push 0x74
call fcn.6401c7d2
mov esi, eax
add esp, 4
cmp esi, edi
je 0x640080ba
lea eax, [esi + 0x5c]
push eax
mov dword [esi], vtable.CSXUPTPLibInstance.0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [esi + 4], edi
mov ecx, esi
jmp 0x640080bc
mov esi, vtable.CArray_unsigned_long_int__unsigned_long_int_const__.0
mov eax, dword [0x641a629c]
xor edi, edi
cmp eax, edi
jne 0x64008066
push 0x20
call fcn.6401c7d2
add esp, 4
cmp eax, edi
je 0x6400805f
mov dword [eax], vtable.CAppSettings.0
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], edi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x18], edi
mov dword [eax + 0x14], edi
mov dword [eax + 4], edi
mov dword [eax + 8], 1
jmp 0x64008061
xor eax, eax
mov dword [0x641a629c], eax
cmp ebx, edi
jl 0x640080b5
cmp ebx, dword [eax + 0x14]
jge 0x640080b5
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + ebx*4]
lea eax, [ecx + ebx*4]
mov eax, dword [esp + 0x4c]
cmp eax, edi
mov dword [esp + 0x20], edx
mov dword [esp + 0x3c], eax
jl 0x640080b5
lea edi, [eax + 1]
lea esi, [esp + 0x44]
call fcn.64013b20
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x3c]
inc ebx
cmp ebx, dword [esp + 0x1c]
mov dword [eax + edx*4], ecx
jl 0x64008020
xor edi, edi
jmp 0x64007fb1
call fcn.6401d5d9
xor ecx, ecx
mov dword [0x641a62cc], ecx
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x60]
push eax
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x9b4]
push edx
push ebx
push eax
call fcn.640160a0
cmp eax, edi
jne 0x640080fc
push str.CFindSxItemThread::FindSxItem_API_SxuptpEnumDeviceServers_failed
push 3
mov esi, 0x641a62d4
call fcn.64004fe0
add esp, 8
jmp 0x640087d2
mov dword [esp + 0x28], vtable.CArray_struct_tagSXITEM__struct_tagSXITEM_const__.0
mov dword [esp + 0x2c], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], edi
mov byte [esp + 0x1440], 2
cmp dword [esp + 0x40], edi
mov dword [esp + 0x20], edi
jle 0x64008368
lea ecx, [esp + 0x9ac]
mov dword [esp + 0x18], ecx
jmp 0x64008140
push 0x7c0
xor edi, edi
lea edx, [esp + 0x1f0]
push edi
push edx
call fcn.6411bc30
mov ecx, dword [0x641a62cc]
add esp, 0xc
mov dword [esp + 0x24], edi
mov dword [esp + 0x14], edi
cmp ecx, edi
jne 0x64008199
push 0x74
call fcn.6401c7d2
mov esi, eax
add esp, 4
cmp esi, edi
je 0x6400818f
lea eax, [esi + 0x5c]
push eax
mov dword [esi], vtable.CSXUPTPLibInstance.0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [esi + 4], edi
jmp 0x64008191
xor esi, esi
mov ecx, esi
mov dword [0x641a62cc], ecx
mov esi, dword [esp + 0x18]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x28]
push eax
mov eax, dword [esi + 6]
lea edx, [esp + 0x1f4]
push edx
push eax
call fcn.64016160
test eax, eax
jne 0x640081d9
mov ecx, dword [esi + 6]
push ecx
push str.CFindSxItemThread::FindSxItem_SXUPTP__API_SxuptpEnumDevices__08x__failed
push 3
mov esi, 0x641a62d4
call fcn.64004fe0
add esp, 0xc
jmp 0x6400834e
mov eax, dword [esp + 0x14]
cmp eax, edi
jbe 0x640082e2
mov dword [esp + 0x3c], edi
jle 0x6400834e
lea edx, [esp + 0x1ec]
mov dword [esp + 0x1c], edx
lea ebx, [ebx]
mov ebx, dword [esp + 0x30]
push 0xac
lea eax, [esp + 0x140]
push 0
push eax
call fcn.6411bc30
mov esi, dword [esp + 0x24]
mov ecx, 0xa
lea edi, [esp + 0x148]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov esi, dword [esp + 0x28]
mov ecx, 0x1f
lea edi, [esp + 0x172]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x641a62cc]
add esp, 0xc
test ecx, ecx
jne 0x6400827e
push 0x74
call fcn.6401c7d2
mov esi, eax
add esp, 4
test esi, esi
je 0x64008274
lea ecx, [esi + 0x5c]
push ecx
mov dword [esi], vtable.CSXUPTPLibInstance.0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [esi + 4], 0
jmp 0x64008276
xor esi, esi
mov ecx, esi
mov dword [0x641a62cc], ecx
mov eax, dword [esp + 0x142]
lea edx, [esp + 0x166]
push edx
push eax
call fcn.64016380
mov dword [esp + 0x1e4], eax
test ebx, ebx
jl 0x640080b5
lea edi, [ebx + 1]
lea esi, [esp + 0x28]
call fcn.640089d0
mov eax, dword [esp + 0x3c]
add dword [esp + 0x1c], 0x7c
mov edi, ebx
imul edi, edi, 0xac
add edi, dword [esp + 0x2c]
mov ecx, 0x2b
lea esi, [esp + 0x13c]
inc eax
rep movsd dword es:[edi], dword [esi]
cmp eax, dword [esp + 0x14]
mov dword [esp + 0x3c], eax
jl 0x64008200
jmp 0x6400834e
push 0xac
lea ecx, [esp + 0x90]
push 0
push ecx
call fcn.6411bc30
mov ecx, 0xa
lea edi, [esp + 0x98]
rep movsd dword es:[edi], dword [esi]
push 0x7c
lea edx, [esp + 0xc6]
push 0
push edx
movsw word es:[edi], word [esi]
call fcn.6411bc30
mov eax, dword [esp + 0x48]
add esp, 0x18
mov ebx, eax
test eax, eax
jl 0x640080b5
lea edi, [eax + 1]
lea esi, [esp + 0x28]
call fcn.640089d0
mov edi, ebx
imul edi, edi, 0xac
add edi, dword [esp + 0x2c]
mov ecx, 0x2b
lea esi, [esp + 0x8c]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x20]
add dword [esp + 0x18], 0x2a
inc eax
cmp eax, dword [esp + 0x40]
mov dword [esp + 0x20], eax
jl 0x64008140
xor edi, edi
mov ebx, dword [esp + 0x30]
push ebx
push str.CFindSxItemThread::FindSxItem__Find__d_item_s_
push 1
mov esi, 0x641a62d4
call fcn.64004fe0
mov eax, dword [0x641a62c8]
add esp, 0xc
cmp eax, edi
jne 0x640083c8
push 0x30
call fcn.6401c7d2
mov esi, eax
add esp, 4
cmp esi, edi
je 0x640083c1
mov dword [esi], vtable.CSxItemStore.0
lea eax, [esi + 0x18]
push eax
mov dword [esi + 4], vtable.CArray_class_CSxItem___class_CSxItem__const_const__.0
mov dword [esi + 8], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0xc], edi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, esi
jmp 0x640083c3
xor eax, eax
mov dword [0x641a62c8], eax
add eax, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp ebx, edi
mov ebx, dword [0x641a62c8]
mov dword [esp + 0x1c], edi
jle 0x640085cc
mov ecx, dword [esp + 0x2c]
add ecx, 0x2a
mov dword [esp + 0x18], ecx
nop
xor edi, edi
xor eax, eax
mov dword [esp + 0x14], eax
cmp ebx, edi
jne 0x6400843f
push 0x30
call fcn.6401c7d2
mov esi, eax
add esp, 4
cmp esi, edi
je 0x64008431
mov dword [esi], vtable.CSxItemStore.0
lea edx, [esi + 0x18]
push edx
mov dword [esi + 4], vtable.CArray_class_CSxItem___class_CSxItem__const_const__.0
mov dword [esi + 8], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0xc], edi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
jmp 0x64008433
xor esi, esi
mov eax, dword [esp + 0x14]
mov ebx, esi
mov dword [0x641a62c8], ebx
cmp eax, dword [ebx + 0xc]
jge 0x6400855f
mov ecx, dword [esp + 0x1c]
cmp ecx, edi
jl 0x640080b5
cmp ecx, dword [esp + 0x30]
jge 0x640080b5
cmp eax, edi
jl 0x640080b5
cmp eax, dword [ebx + 0xc]
jge 0x640080b5
mov eax, dword [ebx + 8]
mov ecx, dword [esp + 0x14]
mov edx, dword [eax + ecx*4]
mov eax, dword [esp + 0x18]
mov esi, eax
sub esp, 0x2c
mov ecx, 0x1f
lea edi, [esp + 0xb8]
rep movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [eax - 0x2a]
mov ecx, 0xa
rep movsd dword es:[edi], dword [esi]
push edx
mov dword [esp + 0x54], edx
movsw word es:[edi], word [esi]
call fcn.64013e50
test eax, eax
je 0x640084cc
mov eax, dword [esp + 0x24]
mov dx, word [eax + 0x70]
cmp dx, word [esp + 0xf4]
jne 0x640084cc
mov ax, word [eax + 0x6e]
cmp ax, word [esp + 0xf2]
je 0x640084db
inc dword [esp + 0x14]
mov eax, dword [esp + 0x14]
xor edi, edi
jmp 0x640083f8
mov eax, dword [esp + 0x14]
cmp eax, dword [ebx + 0xc]
jge 0x640080b5
mov edx, dword [esp + 0x18]
lea esi, [edx - 0x2a]
mov ecx, 0xa
lea edi, [esp + 0x60]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 8]
movsw word es:[edi], word [esi]
mov edi, dword [ecx + eax*4]
add edi, 0x84
mov ecx, 0xa
lea esi, [esp + 0x60]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
cmp eax, dword [ebx + 0xc]
jge 0x640080b5
mov ecx, 0x1f
mov esi, edx
lea edi, [esp + 0x13c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 8]
mov edi, dword [ecx + eax*4]
add edi, 8
mov ecx, 0x1f
lea esi, [esp + 0x13c]
rep movsd dword es:[edi], dword [esi]
cmp eax, dword [ebx + 0xc]
jge 0x640080b5
mov ecx, dword [ebx + 8]
mov eax, dword [ecx + eax*4]
mov ecx, dword [edx + 0x7e]
mov dword [eax + 0xb8], ecx
jmp 0x640085ad
mov eax, dword [esp + 0x1c]
cmp eax, edi
jl 0x640080b5
cmp eax, dword [esp + 0x30]
jge 0x640080b5
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 0x7e]
push edx
sub esp, 0x7c
mov edi, esp
mov esi, eax
mov ecx, 0x1f
rep movsd dword es:[edi], dword [esi]
sub esp, 0x2c
lea esi, [eax - 0x2a]
mov edi, esp
mov ecx, 0xa
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
movsw word es:[edi], word [esi]
call fcn.64015990
mov ebx, dword [0x641a62c8]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
inc eax
add edx, 0xac
cmp eax, dword [esp + 0x30]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], edx
jl 0x640083f0
xor edi, edi
mov dword [esp + 0x14], edi
cmp ebx, edi
jne 0x64008613
push 0x30
call fcn.6401c7d2
mov esi, eax
add esp, 4
cmp esi, edi
je 0x64008609
mov dword [esi], vtable.CSxItemStore.0
lea eax, [esi + 0x18]
push eax
mov dword [esi + 4], vtable.CArray_class_CSxItem___class_CSxItem__const_const__.0
mov dword [esi + 8], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0xc], edi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
jmp 0x6400860b
xor esi, esi
mov ebx, esi
mov dword [0x641a62c8], ebx
mov ecx, dword [esp + 0x14]
cmp ecx, dword [ebx + 0xc]
jge 0x640087a6
cmp dword [esp + 0x30], edi
mov dword [esp + 0x1c], edi
jle 0x64008720
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x1c]
xor edi, edi
cmp eax, edi
jl 0x640080b5
cmp eax, dword [esp + 0x30]
jge 0x640080b5
cmp ebx, edi
jne 0x64008691
push 0x30
call fcn.6401c7d2
mov esi, eax
add esp, 4
cmp esi, edi
je 0x64008687
mov dword [esi], vtable.CSxItemStore.0
lea eax, [esi + 0x18]
push eax
mov dword [esi + 4], vtable.CArray_class_CSxItem___class_CSxItem__const_const__.0
mov dword [esi + 8], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0xc], edi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
jmp 0x64008689
xor esi, esi
mov ebx, esi
mov dword [0x641a62c8], ebx
mov eax, dword [esp + 0x14]
cmp eax, edi
jl 0x640080b5
cmp eax, dword [ebx + 0xc]
jge 0x640080b5
mov ecx, dword [ebx + 8]
mov edx, eax
mov edx, dword [ecx + edx*4]
mov eax, dword [esp + 0x18]
lea esi, [eax + 0x2a]
sub esp, 0x2c
mov ecx, 0x1f
lea edi, [esp + 0xb8]
rep movsd dword es:[edi], dword [esi]
mov edi, esp
mov esi, eax
mov ecx, 0xa
rep movsd dword es:[edi], dword [esi]
push edx
mov dword [esp + 0x54], edx
movsw word es:[edi], word [esi]
call fcn.64013e50
test eax, eax
je 0x64008705
mov eax, dword [esp + 0x24]
mov cx, word [eax + 0x70]
cmp cx, word [esp + 0xf4]
jne 0x64008705
mov dx, word [eax + 0x6e]
cmp dx, word [esp + 0xf2]
je 0x64008796
mov eax, dword [esp + 0x1c]
add dword [esp + 0x18], 0xac
inc eax
cmp eax, dword [esp + 0x30]
mov dword [esp + 0x1c], eax
jl 0x64008636
xor edi, edi
cmp ebx, edi
jne 0x64008765
push 0x30
call fcn.6401c7d2
mov esi, eax
add esp, 4
cmp esi, edi
je 0x6400875b
mov dword [esi], vtable.CSxItemStore.0
lea eax, [esi + 0x18]
push eax
mov dword [esi + 4], vtable.CArray_class_CSxItem___class_CSxItem__const_const__.0
mov dword [esi + 8], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0xc], edi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
jmp 0x6400875d
xor esi, esi
mov ebx, esi
mov dword [0x641a62c8], ebx
mov eax, dword [esp + 0x14]
cmp eax, edi
jl 0x640080b5
cmp eax, dword [ebx + 0xc]
jge 0x640080b5
mov ecx, dword [ebx + 8]
mov edx, dword [ecx + eax*4]
inc eax
mov dword [edx + 0xb8], 4
mov dword [esp + 0x14], eax
xor edi, edi
jmp 0x640085d0
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
xor edi, edi
jmp 0x640085d0
add ebx, 0x18
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp + 0xc], edi
je 0x640087ba
call fcn.64007c40
mov eax, dword [esp + 0x58]
inc dword [eax + 4]
mov eax, dword [esp + 0x2c]
cmp eax, edi
je 0x640087d2
push eax
call fcn.6401c80c
add esp, 4
mov eax, dword [esp + 0x48]
cmp eax, edi
je 0x640087e3
push eax
call fcn.6401c80c
add esp, 4
mov ecx, dword [esp + 0x1438]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1420]
xor ecx, esp
call fcn.64119c23
mov esp, ebp
pop ebp
ret 8