Function at 0x101a3690
Capabilities:
Create restart manager session
Enumerate processes that use resource

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x59c
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov eax, dword [0x1035648c]
mov dword [ebp - 0x1c], 4
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], esi
mov eax, dword [eax]
test eax, eax
jne 0x101a36dd
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x101a4380
mov ecx, dword [0x1035648c]
mov dword [ecx], eax
push 0x42
push 8
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x101a4380
mov dword [ebp - 0x48], 0
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x4c], eax
push eax
push 0
push ecx
call sub.rstrtmgr.dll_RmStartSession
mov edi, dword [ebp + 8]
test eax, eax
je 0x101a37f5
call sub.KERNEL32.dll_GetLastError
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x58]
mov dword [ebp - str.cannot_start_restart_manager_session:], 0x10352120
mov dword [ebp - 0x308], 1
mov dword [ebp - 0x2fc], 0
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0x40], 0x1002d590
mov dword [ebp - 0x304], eax
mov dword [ebp - 0x300], 1
lea ecx, [ebp - 0x30c]
lea eax, [ebp - 0x5a8]
push ecx
push eax
call fcn.1001ac00
add esp, 8
mov eax, dword [ebp - 0x5a0]
movsd xmm0, qword [ebp - 0x5a8]
mov esi, edi
mov edi, dword [0x103564a0]
mov dword [ebp - 0x304], eax
movsd qword [ebp - 0x30c], xmm0
movzx eax, byte [edi]
mov eax, dword [0x1035648c]
mov eax, dword [eax]
test eax, eax
jne 0x101a37b3
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x101a4391
mov ecx, dword [0x1035648c]
mov dword [ecx], eax
push 0xc
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x101a4391
mov ebx, eax
mov eax, dword [ebp - 0x304]
mov dword [ebx + 8], eax
movsd xmm0, qword [ebp - 0x30c]
movsd qword [ebx], xmm0
movzx eax, byte [edi]
mov eax, dword [0x1035648c]
mov eax, dword [eax]
test eax, eax
je 0x101a396d
mov edi, esi
jmp 0x101a3984
add esi, ebx
mov dword [ebp - 0x30c], 1
mov dword [ebp - 0x308], ebx
mov dword [ebp - 0x304], esi
mov word [ebp - 0x300], 0
lea ebx, [ebp - 0x30c]
lea ecx, [ebp - 0x44]
mov edx, ebx
call fcn.101a1630
mov ecx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x30c], ecx
push 0
push 0
push 0
push 0
push ebx
push 1
push eax
call sub.rstrtmgr.dll_RmRegisterResources
test eax, eax
je 0x101a39aa
push dword [ebp - 0x48]
call sub.rstrtmgr.dll_RmEndSession
call sub.KERNEL32.dll_GetLastError
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x5c]
mov dword [ebp - str.cannot_register_resource:], 0x10352144
mov dword [ebp - 0x308], 1
mov dword [ebp - 0x2fc], 0
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x54], 0x1002d590
mov dword [ebp - 0x304], eax
mov dword [ebp - 0x300], 1
lea eax, [ebp - 0x5a8]
push ebx
push eax
call fcn.1001ac00
add esp, 8
mov eax, dword [ebp - 0x5a0]
movsd xmm0, qword [ebp - 0x5a8]
mov esi, dword [0x103564a0]
mov dword [ebp - 0x304], eax
movsd qword [ebp - 0x30c], xmm0
movzx eax, byte [esi]
mov eax, dword [0x1035648c]
mov eax, dword [eax]
test eax, eax
jne 0x101a38f1
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x101a43ad
mov ecx, dword [0x1035648c]
mov dword [ecx], eax
push 0xc
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x101a43ad
mov ebx, eax
mov eax, dword [ebp - 0x304]
mov dword [ebx + 8], eax
movsd xmm0, qword [ebp - 0x30c]
movsd qword [ebx], xmm0
movzx eax, byte [esi]
mov eax, dword [0x1035648c]
mov eax, dword [eax]
test eax, eax
jne 0x101a393d
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x101a43bb
mov ecx, dword [0x1035648c]
mov dword [ecx], eax
push 0xc
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x101a43bb
mov esi, eax
mov dword [eax], ebx
mov dword [eax + 4], 0x103507b8
mov byte [eax + 8], 0x27
cmp dword [ebp - 0x40], 0
jne 0x101a3b55
jmp 0x101a3b66
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x101a439f
mov ecx, dword [0x1035648c]
mov edi, esi
mov dword [ecx], eax
push 0xc
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x101a439f
mov esi, eax
mov dword [eax], ebx
mov dword [eax + 4], 0x103507b8
mov byte [eax + 8], 0x27
jmp 0x101a3b66
mov eax, dword [0x103564a0]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x60], 0xa
movzx eax, byte [eax]
mov eax, dword [0x1035648c]
mov eax, dword [eax]
test eax, eax
jne 0x101a39e7
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x101a43d7
mov ecx, dword [0x1035648c]
mov dword [ecx], eax
push 0x1a18
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x101a43d7
mov esi, eax
push 0x1a18
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x64]
lea edx, [ebp - 0x68]
lea ecx, [ebp - 0x60]
push eax
mov dword [ebp - 0x20], esi
push esi
push ecx
push edx
push dword [ebp - 0x48]
call sub.rstrtmgr.dll_RmGetList
mov esi, dword [0x103564a0]
test eax, eax
je 0x101a3c01
push dword [ebp - 0x48]
call sub.rstrtmgr.dll_RmEndSession
call sub.KERNEL32.dll_GetLastError
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x5c]
mov dword [ebp - str.cannot_list_file_handles:], 0x10352168
mov dword [ebp - 0x308], 1
mov dword [ebp - 0x2fc], 0
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x54], 0x1002d590
mov dword [ebp - 0x304], eax
mov dword [ebp - 0x300], 1
lea eax, [ebp - 0x5a8]
push ebx
push eax
call fcn.1001ac00
add esp, 8
mov eax, dword [ebp - 0x5a0]
movsd xmm0, qword [ebp - 0x5a8]
mov dword [ebp - 0x304], eax
movsd qword [ebp - 0x30c], xmm0
movzx eax, byte [esi]
mov eax, dword [0x1035648c]
mov eax, dword [eax]
test eax, eax
jne 0x101a3ad1
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x101a43e8
mov ecx, dword [0x1035648c]
mov dword [ecx], eax
push 0xc
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x101a43e8
mov ebx, eax
mov eax, dword [ebp - 0x304]
mov dword [ebx + 8], eax
movsd xmm0, qword [ebp - 0x30c]
movsd qword [ebx], xmm0
movzx eax, byte [esi]
mov eax, dword [0x1035648c]
mov eax, dword [eax]
test eax, eax
jne 0x101a3b1d
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x101a43f6
mov ecx, dword [0x1035648c]
mov dword [ecx], eax
push 0xc
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x101a43f6
mov esi, eax
mov dword [eax], ebx
mov dword [eax + 4], 0x103507b8
mov byte [eax + 8], 0x27
push dword [ebp - 0x20]
push 0
mov eax, dword [0x1035648c]
push dword [eax]
call sub.KERNEL32.dll_HeapFree
cmp dword [ebp - 0x40], 0
je 0x101a3b66
push dword [ebp - 0x28]
push 0
mov eax, dword [0x1035648c]
push dword [eax]
call sub.KERNEL32.dll_HeapFree
mov ebx, 3
push dword [ebp - 0x4c]
push 0
mov eax, dword [0x1035648c]
push dword [eax]
call sub.KERNEL32.dll_HeapFree
lea eax, [ebp - 0x70]
mov dword [ebp - 0x40], esi
lea esi, [ebp - 0x44]
mov dword [ebp - str._ERROR__Restart_manager_error___:], 0x10352340
mov dword [ebp - 0x308], 2
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x2fc], 0
mov dword [ebp - 0x5a8], eax
lea eax, [ebp - 0x5a8]
mov dword [ebp - 0x5a4], 0x101990f0
mov dword [ebp - 0x5a0], esi
mov dword [ebp - 0x59c], fcn.1014adc0
mov dword [ebp - 0x304], eax
mov dword [ebp - 0x300], 2
lea eax, [ebp - 0x30c]
push eax
call fcn.1005f950
add esp, 4
movsd xmm0, qword [ebp - 0x44]
movsd qword [edi], xmm0
mov eax, edi
add esp, 0x59c
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x60]
test eax, eax
mov dword [ebp - 0x24], eax
je 0x101a3c82
push 0x29c
push dword [ebp - 0x20]
push ebx
call sub.msvcrt.dll_memcpy
add esp, 0xc
lea ecx, [ebp - 0x1c]
xor edx, edx
call fcn.1019e5c0
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
imul eax, esi, 0x29c
mov dword [ebp - 0x10], ecx
add eax, ecx
push 0x29c
push ebx
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
inc esi
cmp dword [ebp - 0x24], 1
mov dword [ebp - 0x14], esi
je 0x101a3f77
mov eax, dword [ebp - 0x20]
add eax, 0x29c
push 0x29c
push eax
push ebx
call sub.msvcrt.dll_memcpy
add esp, 0xc
cmp esi, dword [ebp - 0x18]
jne 0x101a3c8e
lea ecx, [ebp - 0x1c]
mov edx, esi
call fcn.1019e5c0
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x14]
jmp 0x101a3c91
mov dword [ebp - 0x10], 4
jmp 0x101a3f77
mov ecx, dword [ebp - 0x10]
imul eax, esi, 0x29c
mov dword [ebp - 0x10], ecx
add eax, ecx
push 0x29c
push ebx
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
inc esi
cmp dword [ebp - 0x24], 2
mov dword [ebp - 0x14], esi
je 0x101a3f77
mov eax, dword [ebp - 0x20]
add eax, 0x538
push 0x29c
push eax
push ebx
call sub.msvcrt.dll_memcpy
add esp, 0xc
cmp esi, dword [ebp - 0x18]
jne 0x101a3ce7
lea ecx, [ebp - 0x1c]
mov edx, esi
call fcn.1019e5c0
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x14]
jmp 0x101a3cea
mov ecx, dword [ebp - 0x10]
imul eax, esi, 0x29c
mov dword [ebp - 0x10], ecx
add eax, ecx
push 0x29c
push ebx
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
inc esi
cmp dword [ebp - 0x24], 3
mov dword [ebp - 0x14], esi
je 0x101a3f77
mov eax, dword [ebp - 0x20]
add eax, 0x7d4
push 0x29c
push eax
push ebx
call sub.msvcrt.dll_memcpy
add esp, 0xc
cmp esi, dword [ebp - 0x18]
jne 0x101a3d40
lea ecx, [ebp - 0x1c]
mov edx, esi
call fcn.1019e5c0
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x14]
jmp 0x101a3d43
mov ecx, dword [ebp - 0x10]
imul eax, esi, 0x29c
mov dword [ebp - 0x10], ecx
add eax, ecx
push 0x29c
push ebx
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
inc esi
cmp dword [ebp - 0x24], 4
mov dword [ebp - 0x14], esi
je 0x101a3f77
mov eax, dword [ebp - 0x20]
add eax, 0xa70
push 0x29c
push eax
push ebx
call sub.msvcrt.dll_memcpy
add esp, 0xc
cmp esi, dword [ebp - 0x18]
jne 0x101a3d99
lea ecx, [ebp - 0x1c]
mov edx, esi
call fcn.1019e5c0
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x14]
jmp 0x101a3d9c
mov ecx, dword [ebp - 0x10]
imul eax, esi, 0x29c
mov dword [ebp - 0x10], ecx
add eax, ecx
push 0x29c
push ebx
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
inc esi
cmp dword [ebp - 0x24], 5
mov dword [ebp - 0x14], esi
je 0x101a3f77
mov eax, dword [ebp - 0x20]
add eax, 0xd0c
push 0x29c
push eax
push ebx
call sub.msvcrt.dll_memcpy
add esp, 0xc
cmp esi, dword [ebp - 0x18]
jne 0x101a3df2
lea ecx, [ebp - 0x1c]
mov edx, esi
call fcn.1019e5c0
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x14]
jmp 0x101a3df5
mov ecx, dword [ebp - 0x10]
imul eax, esi, 0x29c
mov dword [ebp - 0x10], ecx
add eax, ecx
push 0x29c
push ebx
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
inc esi
cmp dword [ebp - 0x24], 6
mov dword [ebp - 0x14], esi
je 0x101a3f77
mov eax, dword [ebp - 0x20]
add eax, 0xfa8
push 0x29c
push eax
push ebx
call sub.msvcrt.dll_memcpy
add esp, 0xc
cmp esi, dword [ebp - 0x18]
jne 0x101a3e4b
lea ecx, [ebp - 0x1c]
mov edx, esi
call fcn.1019e5c0
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x14]
jmp 0x101a3e4e
mov ecx, dword [ebp - 0x10]
imul eax, esi, 0x29c
mov dword [ebp - 0x10], ecx
add eax, ecx
push 0x29c
push ebx
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
inc esi
cmp dword [ebp - 0x24], 7
mov dword [ebp - 0x14], esi
je 0x101a3f77
mov eax, dword [ebp - 0x20]
add eax, 0x1244
push 0x29c
push eax
push ebx
call sub.msvcrt.dll_memcpy
add esp, 0xc
cmp esi, dword [ebp - 0x18]
jne 0x101a3ea4
lea ecx, [ebp - 0x1c]
mov edx, esi
call fcn.1019e5c0
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x14]
jmp 0x101a3ea7
mov ecx, dword [ebp - 0x10]
imul eax, esi, 0x29c
mov dword [ebp - 0x10], ecx
add eax, ecx
push 0x29c
push ebx
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
inc esi
cmp dword [ebp - 0x24], 8
mov dword [ebp - 0x14], esi
je 0x101a3f77
mov eax, dword [ebp - 0x20]
add eax, 0x14e0
push 0x29c
push eax
push ebx
call sub.msvcrt.dll_memcpy
add esp, 0xc
cmp esi, dword [ebp - 0x18]
jne 0x101a3efe
lea ecx, [ebp - 0x1c]
mov edx, esi
call fcn.1019e5c0
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
imul eax, esi, 0x29c
add eax, dword [ebp - 0x10]
push 0x29c
push ebx
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
inc esi
cmp dword [ebp - 0x24], 9
mov dword [ebp - 0x14], esi
je 0x101a3f77
mov eax, dword [ebp - 0x20]
add eax, 0x177c
push 0x29c
push eax
push ebx
call sub.msvcrt.dll_memcpy
add esp, 0xc
cmp esi, dword [ebp - 0x18]
mov edx, esi
jne 0x101a3f4f
lea ecx, [ebp - 0x1c]
call fcn.1019e5c0
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
imul eax, edx, 0x29c
mov esi, edx
add eax, dword [ebp - 0x10]
push 0x29c
push ebx
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
inc esi
cmp dword [ebp - 0x24], 0xa
mov dword [ebp - 0x14], esi
jne 0x101a4404
push dword [ebp - 0x20]
push 0
mov esi, dword [0x1035648c]
push dword [esi]
call sub.KERNEL32.dll_HeapFree
cmp dword [ebp - 0x40], 0
je 0x101a3f9b
push dword [ebp - 0x28]
push 0
push dword [esi]
call sub.KERNEL32.dll_HeapFree
push dword [ebp - 0x48]
call sub.rstrtmgr.dll_RmEndSession
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
push dword [ebp - 0x4c]
push 0
mov eax, dword [0x1035648c]
push dword [eax]
call sub.KERNEL32.dll_HeapFree
cmp dword [ebp - 0x10], 0
je 0x101a4378
test esi, esi
je 0x101a4356
mov edi, dword [ebp - 0x10]
imul eax, esi, 0x29c
add eax, edi
mov dword [ebp - 0x4c], eax
jmp 0x101a4026
lea eax, [ebp - 0x80]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x44], 0x10352230
mov dword [ebp - 0x40], 2
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x18], 0x1002d590
mov dword [ebp - 0x38], 1
push esi
call fcn.1005f950
add esp, 4
add edi, 0x29c
cmp edi, dword [ebp - 0x4c]
je 0x101a4356
push 0x29c
push edi
lea esi, [ebp - 0x5a8]
push esi
call sub.msvcrt.dll_memcpy
add esp, 0xc
push 0x29c
push esi
push ebx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 0x7c]
dec eax
cmp eax, 2
jae 0x101a40e0
mov dword [ebp - 0x44], str._DEBUG__File_handler_identified_as_process
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x3c], str.called__Option::unwrap____on_a__None__valueIndex_out_of_bounds
mov dword [ebp - 0x38], 0
lea eax, [ebp - 0x44]
push eax
call fcn.1005f950
add esp, 4
mov esi, dword [ebp - 0x30c]
cmp esi, 0x65
jb 0x101a423e
call sub.KERNEL32.dll_GetCurrentProcessId
cmp esi, eax
jne 0x101a42b3
mov dword [ebp - 0x44], str._CRITICAL__File_is_locked_by_our_process._Should_not_happen.
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x3c], str.called__Option::unwrap____on_a__None__valueIndex_out_of_bounds
mov dword [ebp - 0x38], 0
lea eax, [ebp - 0x44]
push eax
call fcn.1005f950
add esp, 4
jmp 0x101a4017
cmp dword [ebp - 0x80], 3
lea esi, [ebp - 0x44]
jne 0x101a3fdf
mov dword [ebp - 0x44], str._DEBUG__File_handler_identified_as_service
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x3c], str.called__Option::unwrap____on_a__None__valueIndex_out_of_bounds
mov dword [ebp - 0x38], 0
push esi
call fcn.1005f950
add esp, 4
lea ecx, [ebp - 0x1c]
lea edx, [ebp - 0x100]
call fcn.101b66c0
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x44], 0x103521e0
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x54], 0x1019efd0
mov dword [ebp - 0x38], 1
push esi
call fcn.1005f950
add esp, 4
cmp dword [ebp - 0x18], 0
mov esi, dword [0x1035648c]
je 0x101a4177
push dword [ebp - 0x1c]
push 0
push dword [esi]
call sub.KERNEL32.dll_HeapFree
mov eax, dword [0x103564a0]
movzx eax, byte [eax]
mov eax, dword [esi]
test eax, eax
jne 0x101a419a
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x101a43c9
mov ecx, dword [0x1035648c]
mov dword [ecx], eax
push 0xc
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x101a43c9
mov esi, eax
lea ebx, [ebp - 0x44]
lea edx, [ebp - 0x100]
mov ecx, ebx
call fcn.101b66c0
mov eax, dword [ebp - 0x3c]
mov dword [esi + 8], eax
movsd xmm0, qword [ebp - 0x44]
movsd qword [esi], xmm0
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x54], 1
mov dword [ebp - 0x50], 1
mov dword [ebp - 0x1c], 0
push 0
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x58]
push eax
push ebx
call fcn.101b3250
add esp, 0x18
push ebx
call fcn.101b48d0
add esp, 4
mov ebx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x44]
test ebx, ebx
mov dword [ebp - 0x28], eax
je 0x101a427b
mov eax, dword [ebp - 0x28]
lea esi, [eax + 4]
jmp 0x101a4226
add esi, 0xc
dec ebx
je 0x101a427b
cmp dword [esi], 0
je 0x101a4220
push dword [esi - 4]
push 0
mov eax, dword [0x1035648c]
push dword [eax]
call sub.KERNEL32.dll_HeapFree
jmp 0x101a4220
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x44], 0x103522a0
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x18], 0x1002d590
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], 1
lea eax, [ebp - 0x44]
push eax
call fcn.1005f950
add esp, 4
jmp 0x101a4017
cmp dword [ebp - 0x40], 0
je 0x101a4292
push dword [ebp - 0x28]
push 0
mov eax, dword [0x1035648c]
push dword [eax]
call sub.KERNEL32.dll_HeapFree
mov eax, dword [ebp - 0x38]
lea ebx, [ebp - 0x30c]
test eax, eax
je 0x101a4017
cmp dword [ebp - 0x34], 0
je 0x101a4017
push eax
jmp 0x101a4343
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x44], 0x103522d0
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x18], 0x1002d590
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], 1
lea esi, [ebp - 0x44]
push esi
call fcn.1005f950
add esp, 4
push dword [ebp - 0x30c]
push esi
call fcn.101adb50
add esp, 8
cmp byte [ebp - 0x44], 3
jne 0x101a4017
mov eax, dword [ebp - 0x40]
mov esi, dword [eax + 4]
mov ecx, dword [eax]
mov dword [ebp - 0x28], eax
mov eax, dword [esi]
mov dword [ebp - 0x24], ecx
push ecx
call eax
add esp, 4
cmp dword [esi + 4], 0
je 0x101a4340
cmp dword [esi + 8], 9
jae 0x101a432b
mov eax, dword [ebp - 0x24]
jmp 0x101a4331
mov eax, dword [ebp - 0x24]
mov eax, dword [eax - 4]
push eax
push 0
mov eax, dword [0x1035648c]
push dword [eax]
call sub.KERNEL32.dll_HeapFree
push dword [ebp - 0x28]
push 0
mov eax, dword [0x1035648c]
push dword [eax]
call sub.KERNEL32.dll_HeapFree
jmp 0x101a4017
cmp dword [ebp - 0x20], 0
je 0x101a436d
push dword [ebp - 0x10]
push 0
mov eax, dword [0x1035648c]
push dword [eax]
call sub.KERNEL32.dll_HeapFree
mov edi, dword [ebp + 8]
mov byte [edi], 4
jmp 0x101a3bf4
mov ebx, dword [ebp - 0x20]
jmp 0x101a3b7c
push 0x42
push 2
call fcn.1001a7e0
add esp, 8
jmp 0x101a4415
push 0xc
push 4
call fcn.1001a7e0
add esp, 8
jmp 0x101a4415
push 0xc
push 4
call fcn.1001a7e0
add esp, 8
jmp 0x101a4415
push 0xc
push 4
call fcn.1001a7e0
add esp, 8
jmp 0x101a4415
push 0xc
push 4
call fcn.1001a7e0
add esp, 8
jmp 0x101a4415
push 0xc
push 4
call fcn.1001a7e0
add esp, 8
jmp 0x101a4415
push 0x1a18
push 4
call fcn.1001a7e0
add esp, 8
jmp 0x101a4415
push 0xc
push 4
call fcn.1001a7e0
add esp, 8
jmp 0x101a4415
push 0xc
push 4
call fcn.1001a7e0
add esp, 8
jmp 0x101a4415
push 0x10352170
push 0xa
push 0xa
call fcn.10026930
add esp, 0xc
ud2