Function at 0x101b6d90
Capabilities:
Change the wallpaper

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x164
call 0x101b6da1
pop eax
mov dword [ebp - str._INFO__Setting_wallpapers_for_all_users...], 0x10353418
mov dword [ebp - 0x114], 1
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x110], str.called__Option::unwrap____on_a__None__valueIndex_out_of_bounds
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x30], eax
lea ebx, [ebp - 0x118]
push ebx
call fcn.1005f950
add esp, 4
lea eax, [ebp - 0x160]
push eax
call fcn.101490f0
add esp, 4
lea edi, [ebp - 0x2c]
push 8
push edi
call fcn.1018eb40
add esp, 8
lea esi, [ebp - 0x58]
mov dword [ebp - 0x58], edi
mov dword [ebp - str.called__Option::unwrap____on_a__None__valueIndex_out_of_bounds], 0x10353424
mov dword [ebp - 0x114], 2
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x54], 0x1019efd0
mov dword [ebp - 0x110], esi
mov dword [ebp - 0x10c], 1
lea eax, [ebp - 0x40]
push ebx
push eax
call fcn.1001ac00
add esp, 8
cmp dword [ebp - 0x28], 0
je 0x101b6e62
mov eax, dword [0x1035648c]
push dword [ebp - 0x2c]
push 0
push dword [eax]
call sub.KERNEL32.dll_HeapFree
movsd xmm0, qword [ebp - 0x40]
mov eax, dword [ebp - 0x38]
movsd qword [ebp - 0x118], xmm0
mov dword [ebp - 0x110], eax
mov edi, dword [ebp - 0x118]
push eax
push edi
push dword [ebp - 0x158]
push dword [ebp - 0x160]
push esi
call fcn.101504b0
add esp, 0x14
cmp dword [ebp - 0x114], 0
je 0x101b6ead
mov eax, dword [0x1035648c]
push edi
push 0
push dword [eax]
call sub.KERNEL32.dll_HeapFree
mov edx, dword [ebp - 0x58]
movaps xmm0, xmmword [0x1034fc90]
mov dword [ebp - 0xfc], 0
mov word [ebp - 0xf8], 0
mov dword [ebp - 0x118], 0
movups xmmword [ebp - 0x110], xmm0
mov dword [ebp - 0x100], 0
mov byte [ebp - 0xfb], 1
mov byte [ebp - 0xf8], 1
mov byte [ebp - 0xf9], 1
lea eax, [ebp - 0x118]
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x50]
call fcn.10158120
add esp, 8
cmp byte [ebp - 0x2c], 4
jne 0x101b6f1a
mov ebx, dword [ebp - 0x28]
jmp 0x101b6f28
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x28]
cmp al, 4
jne 0x101b703d
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x101b7107
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x14], ecx
jmp 0x101b6f4c
test eax, eax
je 0x101b7107
sub esp, 8
mov esi, ebx
mov edx, ebx
lea ecx, [ebp - 0x118]
push 0
push 0
mov edi, eax
push eax
push dword [ebp - 0x14]
call fcn.10159440
add esp, 0x18
movzx ebx, byte [ebp - 0x118]
cmp ebx, 4
jne 0x101b6fa0
mov eax, dword [ebp - 0x114]
test eax, eax
je 0x101b70e6
mov ecx, edi
sub ecx, eax
jb 0x101b7bf9
add dword [ebp - 0x14], eax
mov ebx, esi
mov eax, ecx
jmp 0x101b6f44
mov eax, dword [ebx*4 + 0x101b7e34]
add eax, dword [ebp - 0x30]
jmp eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x2c], esi
lea esi, [ebp - 0x40]
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x28], 0x1014fc30
mov dword [ebp - str._ERROR__Error_creating_temp_wallpaper_file:_l45], 0x10353498
mov dword [ebp - 0x114], 2
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x20], fcn.1014adc0
mov dword [ebp - 0x10c], 2
lea eax, [ebp - 0x118]
push eax
call fcn.1005f950
add esp, 4
cmp byte [ebp - 0x40], 3
jne 0x101b7bba
mov esi, dword [ebp - 0x3c]
mov ebx, dword [esi + 4]
mov edi, dword [esi]
mov eax, dword [ebx]
push edi
call eax
add esp, 4
cmp dword [ebx + 4], 0
je 0x101b70d2
cmp dword [ebx + 8], 9
jb 0x101b70c3
mov edi, dword [edi - 4]
mov eax, dword [0x1035648c]
push edi
push 0
push dword [eax]
call sub.KERNEL32.dll_HeapFree
mov eax, dword [0x1035648c]
push esi
push 0
push dword [eax]
call sub.KERNEL32.dll_HeapFree
jmp 0x101b7bba
mov ecx, 0x1034fe40
mov eax, 2
mov ebx, esi
jmp 0x101b7b1b
push ebx
call sub.KERNEL32.dll_CloseHandle
mov edi, dword [ebp - 0x50]
mov esi, dword [ebp - 0x58]
test edi, edi
je 0x101b7152
js 0x101b7c18
mov eax, dword [0x103564a0]
mov ebx, dword [0x1035648c]
movzx eax, byte [eax]
mov eax, dword [ebx]
test eax, eax
jne 0x101b7140
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x101b731d
mov dword [ebx], eax
push edi
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
jne 0x101b7157
jmp 0x101b731d
mov eax, 1
push edi
push esi
push eax
mov esi, eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
push edi
mov dword [ebp - 0x30], esi
push esi
lea eax, [ebp - 0x118]
push eax
call fcn.1002a2f0
add esp, 0xc
cmp dword [ebp - 0x118], 0
jne 0x101b7c1f
mov ecx, dword [ebp - 0x114]
test ecx, ecx
je 0x101b7c1f
mov edx, dword [ebp - 0x110]
call fcn.101b6be0
mov dword [ebp - 0x14], edx
mov esi, eax
push 3
push eax
push 0
push 0x14
call sub.user32.dll_SystemParametersInfoW
mov ebx, eax
call sub.KERNEL32.dll_GetLastError
test ebx, ebx
mov dword [ebp - 0x40], eax
je 0x101b720f
lea eax, [ebp - 0x40]
mov dword [ebp - str._INFOWALL__Set_wallpaper_for_current_user:_p55], 0x1035359c
mov dword [ebp - 0x114], 1
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x28], 0x1002d590
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x10c], 1
lea eax, [ebp - 0x118]
push eax
call fcn.1005f950
add esp, 4
jmp 0x101b72b0
cmp eax, 0x5b3
jne 0x101b7263
lea eax, [ebp - 0x40]
mov dword [ebp - 0x118], 0x10353528
mov dword [ebp - 0x114], 1
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x28], 0x1002d590
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x10c], 1
lea eax, [ebp - 0x118]
push eax
call fcn.1005f950
add esp, 4
lea eax, [ebp - 0x40]
mov dword [ebp - str._ERRORWALL__Error_setting_wallpaper_for_current_user:], 0x10353568
mov dword [ebp - 0x114], 1
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x28], 0x1002d590
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x10c], 1
lea eax, [ebp - 0x118]
push eax
call fcn.1005f950
add esp, 4
cmp dword [ebp - 0x14], 0
mov word [esi], 0
je 0x101b72ca
mov eax, dword [0x1035648c]
push esi
push 0
push dword [eax]
call sub.KERNEL32.dll_HeapFree
test edi, edi
je 0x101b72df
mov eax, dword [0x1035648c]
push dword [ebp - 0x30]
push 0
push dword [eax]
call sub.KERNEL32.dll_HeapFree
mov edi, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x58]
test edi, edi
je 0x101b732d
js 0x101b7c18
mov eax, dword [0x103564a0]
mov esi, dword [0x1035648c]
movzx eax, byte [eax]
mov eax, dword [esi]
test eax, eax
jne 0x101b730e
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x101b731d
mov dword [esi], eax
push edi
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
mov esi, eax
test eax, eax
jne 0x101b7332
push edi
push 1
call fcn.1001a7e0
add esp, 8
jmp 0x101b7c3a
mov esi, 1
push edi
push ebx
push esi
call sub.msvcrt.dll_memcpy
add esp, 0xc
movzx eax, byte [ebp - 0x4c]
mov dword [ebp - 0x118], esi
mov dword [ebp - 0x114], edi
mov dword [ebp - 0x110], edi
mov byte [ebp - 0x10c], al
lea eax, [ebp - 0x118]
push eax
call fcn.101a8850
add esp, 4
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x168], 0x10351196
mov dword [ebp - 0x170], 0x103511d4
mov dword [ebp - 0x164], 0x3e
mov dword [ebp - 0x16c], 0x41
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x50]
push eax
mov dword [ebp - 0x44], ecx
push ecx
lea eax, [ebp - 0x118]
push eax
call fcn.1015a1e0
add esp, 0xc
mov esi, dword [ebp - 0x118]
mov eax, dword [ebp - 0x114]
mov ebx, dword [ebp - 0x110]
test esi, esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x48], eax
cmove esi, eax
test ebx, ebx
je 0x101b741e
setns al
js 0x101b7c35
mov byte [ebp - 0x10], al
mov eax, dword [0x103564a0]
mov edi, dword [0x1035648c]
movzx eax, byte [eax]
mov eax, dword [edi]
test eax, eax
jne 0x101b73fc
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x101b740b
mov dword [edi], eax
push ebx
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
mov edi, eax
test eax, eax
jne 0x101b7423
movzx eax, byte [ebp - 0x10]
push ebx
push eax
call fcn.1001a7e0
add esp, 8
jmp 0x101b7c3a
mov edi, 1
push ebx
push esi
push edi
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x138], edi
mov dword [ebp - 0x134], ebx
mov dword [ebp - 0x130], ebx
test ecx, ecx
je 0x101b745c
cmp dword [ebp - 0x48], 0
je 0x101b745c
mov eax, dword [0x1035648c]
push ecx
push 0
push dword [eax]
call sub.KERNEL32.dll_HeapFree
lea eax, [ebp - 0x168]
lea ecx, [ebp - 0x138]
lea ebx, [ebp - 0x118]
lea edi, [ebp - 0x40]
mov dword [ebp - 0x118], 2
mov dword [ebp - 0x110], 2
mov dword [ebp - 0x108], 0x20
mov dword [ebp - 0x104], 0
mov dword [ebp - 0x100], 0
mov byte [ebp - 0xfc], 3
mov dword [ebp - 0xf8], 2
mov dword [ebp - 0xf0], 2
mov dword [ebp - 0xe8], 0x20
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xe0], 0
mov byte [ebp - 0xdc], 3
mov dword [ebp - 0xd8], 2
mov dword [ebp - 0xd0], 2
mov dword [ebp - 0xc8], 0x20
mov dword [ebp - 0xc4], 1
mov dword [ebp - 0xc0], 0
mov byte [ebp - 0xbc], 3
mov dword [ebp - 0xb8], 2
mov dword [ebp - 0xb0], 2
mov dword [ebp - 0xa8], 0x20
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0
mov byte [ebp - 0x9c], 3
mov dword [ebp - 0x98], 2
mov dword [ebp - 0x90], 2
mov dword [ebp - 0x88], 0x20
mov dword [ebp - 0x84], 1
mov dword [ebp - 0x80], 0
mov byte [ebp - 0x7c], 3
mov dword [ebp - 0x78], 2
mov dword [ebp - 0x70], 2
mov dword [ebp - 0x68], 0x20
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x2c], 0x103512b4
mov dword [ebp - 0x28], 7
mov byte [ebp - 0x5c], 3
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], 0x101990f0
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 6
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x34], 0x1019efd0
mov dword [ebp - 0x20], 2
lea ebx, [ebp - 0x12c]
lea esi, [ebp - 0x2c]
push esi
push ebx
call fcn.1001ac00
add esp, 8
movsd xmm0, qword [ebp - 0x12c]
mov eax, dword [ebp - 0x124]
lea ecx, [ebp - 0x170]
lea edx, [ebp - 0x138]
mov dword [ebp - 0x118], 2
mov dword [ebp - 0x110], 2
mov dword [ebp - 0x108], 0x20
mov dword [ebp - 0x104], 0
mov dword [ebp - 0x100], 0
mov byte [ebp - 0xfc], 3
mov dword [ebp - 0xf8], 2
mov dword [ebp - 0xf0], 2
mov dword [ebp - 0xe8], 0x20
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xe0], 0
mov byte [ebp - 0xdc], 3
mov dword [ebp - 0xd8], 2
mov dword [ebp - 0xd0], 2
mov dword [ebp - 0xc8], 0x20
mov dword [ebp - 0xc4], 1
mov dword [ebp - 0xc0], 0
mov byte [ebp - 0xbc], 3
mov dword [ebp - 0xb8], 2
mov dword [ebp - 0xb0], 2
mov dword [ebp - 0xa8], 0x20
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0
mov byte [ebp - 0x9c], 3
mov dword [ebp - 0x98], 2
mov dword [ebp - 0x90], 2
mov dword [ebp - 0x88], 0x20
mov dword [ebp - 0x84], 1
mov dword [ebp - 0x80], 0
mov byte [ebp - 0x7c], 3
mov dword [ebp - 0x78], 2
mov dword [ebp - 0x70], 2
mov dword [ebp - 0x68], 0x20
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x2c], 0x103512b4
mov byte [ebp - 0x5c], 3
mov dword [ebp - 0x28], 7
mov dword [ebp - 0x40], ecx
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x3c], 0x101990f0
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], 0x1019efd0
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], 6
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], 2
movsd qword [ebp - 0x144], xmm0
mov dword [ebp - 0x13c], eax
push esi
push ebx
call fcn.1001ac00
add esp, 8
mov eax, dword [ebp - 0x124]
movsd xmm0, qword [ebp - 0x12c]
mov dword [ebp - str._Command________], 0x103512fc
mov dword [ebp - 0x114], 3
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x110], esi
mov dword [ebp - 0x10c], 2
mov dword [ebp - 0x148], eax
lea eax, [ebp - 0x144]
movsd qword [ebp - 0x150], xmm0
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x150]
mov dword [ebp - 0x28], 0x1019efd0
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 0x1019efd0
lea eax, [ebp - 0x118]
push eax
push edi
call fcn.1001ac00
add esp, 8
mov eax, dword [ebp - 0x38]
movsd xmm0, qword [ebp - 0x40]
mov esi, dword [0x1035648c]
mov dword [ebp - 0x124], eax
mov eax, dword [0x103564a0]
movsd qword [ebp - 0x12c], xmm0
movzx eax, byte [eax]
mov eax, dword [esi]
test eax, eax
jne 0x101b7857
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x101b7c0a
mov dword [esi], eax
push 0xa
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x101b7c0a
mov word [eax + 8], 0x6c6c
mov dword [eax + 4], 0x65687372
mov dword [eax], 0x65776f70
mov ecx, dword [ebp - 0x124]
movsd xmm0, qword [ebp - 0x12c]
mov dword [ebp - 0xf0], ecx
movsd qword [ebp - 0xf8], xmm0
mov dword [ebp - 0xec], eax
mov dword [ebp - 0xe8], 0xa
mov dword [ebp - 0xe4], 0xa
mov word [ebp - 0xc8], 0
mov dword [ebp - 0x118], 3
mov dword [ebp - 0xe0], 1
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xd4], 1
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xcc], 0
lea esi, [ebp - 0x2c]
push esi
call fcn.101b7e50
add esp, 4
movzx eax, byte [ebp - 0x2c]
cmp al, 4
sete bl
cmp byte [ebp - 0x2b], 0
setne bh
cmp al, 4
je 0x101b796a
cmp al, 3
jne 0x101b796a
mov eax, dword [ebp - 0x28]
mov edi, dword [eax + 4]
mov esi, dword [eax]
mov dword [ebp - 0x14], eax
mov eax, dword [edi]
push esi
call eax
add esp, 4
cmp dword [edi + 4], 0
je 0x101b7956
cmp dword [edi + 8], 9
jb 0x101b7947
mov esi, dword [esi - 4]
push esi
push 0
mov eax, dword [0x1035648c]
push dword [eax]
call sub.KERNEL32.dll_HeapFree
push dword [ebp - 0x14]
push 0
mov eax, dword [0x1035648c]
push dword [eax]
call sub.KERNEL32.dll_HeapFree
lea esi, [ebp - 0x2c]
and bl, bh
je 0x101b79cb
call fcn.101a4560
mov edi, eax
lea eax, [ebp - 0x118]
push eax
push esi
call fcn.101a5050
add esp, 8
mov ebx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x28]
mov ecx, edi
call fcn.101a4680
cmp bl, 4
jne 0x101b79e6
mov dword [ebp - 0x2c], str._INFOWALL__Set_machine_lockscreen
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x24], str.called__Option::unwrap____on_a__None__valueIndex_out_of_bounds
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x2c]
push eax
call fcn.1005f950
add esp, 4
jmp 0x101b7a8e
lea eax, [ebp - 0x118]
push eax
push esi
call fcn.101a5050
add esp, 8
mov ebx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x28]
cmp bl, 4
je 0x101b7997
mov eax, ebx
mov byte [ebp - 0x120], bl
shr ebx, 0x18
mov dword [ebp - 0x2c], 0x10351368
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x1c], 0
shr eax, 8
mov byte [ebp - 0x11d], bl
mov word [ebp - 0x11f], ax
mov dword [ebp - 0x11c], esi
lea esi, [ebp - 0x120]
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x3c], fcn.1014adc0
mov dword [ebp - 0x20], 1
lea eax, [ebp - 0x2c]
push eax
call fcn.1005f950
add esp, 4
cmp byte [ebp - 0x120], 3
jne 0x101b7a8e
mov esi, dword [ebp - 0x11c]
mov edi, dword [esi + 4]
mov ebx, dword [esi]
mov eax, dword [edi]
push ebx
call eax
add esp, 4
cmp dword [edi + 4], 0
je 0x101b7a7f
cmp dword [edi + 8], 9
jb 0x101b7a70
mov ebx, dword [ebx - 4]
push ebx
push 0
mov eax, dword [0x1035648c]
push dword [eax]
call sub.KERNEL32.dll_HeapFree
push esi
push 0
mov eax, dword [0x1035648c]
push dword [eax]
call sub.KERNEL32.dll_HeapFree
mov esi, dword [0x1035648c]
lea ecx, [ebp - 0x118]
call fcn.1019ab50
cmp dword [ebp - 0x14c], 0
je 0x101b7ab7
push dword [ebp - 0x150]
push 0
push dword [esi]
call sub.KERNEL32.dll_HeapFree
cmp dword [ebp - 0x140], 0
je 0x101b7acf
push dword [ebp - 0x144]
push 0
push dword [esi]
call sub.KERNEL32.dll_HeapFree
cmp dword [ebp - 0x134], 0
je 0x101b7ae7
push dword [ebp - 0x138]
push 0
push dword [esi]
call sub.KERNEL32.dll_HeapFree
cmp dword [ebp - 0x30], 0
je 0x101b7af9
push dword [ebp - 0x44]
push 0
push dword [esi]
call sub.KERNEL32.dll_HeapFree
cmp dword [ebp - 0x15c], 0
je 0x101b7bee
push dword [ebp - 0x160]
push 0
push dword [esi]
jmp 0x101b7be9
mov dword [ebp - 0x40], eax
lea esi, [ebp - 0x40]
lea eax, [ebp - 0x2c]
mov dword [ebp - str._ERRORWALL__Error_writing_wallpaper_to_disk:], 0x10353464
mov dword [ebp - 0x114], 1
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x28], fcn.1014adc0
mov dword [ebp - 0x10c], 1
lea eax, [ebp - 0x118]
push eax
call fcn.1005f950
add esp, 4
cmp byte [ebp - 0x40], 3
jne 0x101b7bb4
mov esi, dword [ebp - 0x3c]
mov edi, dword [esi + 4]
mov ebx, dword [esi]
mov eax, dword [edi]
push ebx
call eax
add esp, 4
cmp dword [edi + 4], 0
je 0x101b7ba2
cmp dword [edi + 8], 9
jb 0x101b7b93
mov ebx, dword [ebx - 4]
push ebx
push 0
mov eax, dword [0x1035648c]
push dword [eax]
call sub.KERNEL32.dll_HeapFree
push esi
push 0
mov eax, dword [0x1035648c]
push dword [eax]
call sub.KERNEL32.dll_HeapFree
mov ebx, dword [ebp - 0x44]
push ebx
call sub.KERNEL32.dll_CloseHandle
cmp dword [ebp - 0x54], 0
je 0x101b7bd1
mov eax, dword [0x1035648c]
push dword [ebp - 0x58]
push 0
push dword [eax]
call sub.KERNEL32.dll_HeapFree
cmp dword [ebp - 0x15c], 0
je 0x101b7bee
mov eax, dword [0x1035648c]
push dword [ebp - 0x160]
push 0
push dword [eax]
call sub.KERNEL32.dll_HeapFree
add esp, 0x164
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x1034fe98
push edi
push eax
call fcn.1002a130
add esp, 0xc
jmp 0x101b7c3a
push 0xa
push 1
call fcn.1001a7e0
add esp, 8
jmp 0x101b7c3a
call fcn.1001a7a0
jmp 0x101b7c3a
push 0x103534cc
push 0x2b
push str.called__Option::unwrap____on_a__None__valueIndex_out_of_bounds
call fcn.10026890
add esp, 0xc
jmp 0x101b7c3a
call fcn.1001a7a0
ud2