Function at 0x101d5800
Capabilities:
Change the wallpaper

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x164
call 0x101d5811
pop eax
mov dword [ebp - str._INFO__Setting_wallpapers_for_all_users...], 0x1044370c
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.100748a0
add esp, 4
lea eax, [ebp - 0x160]
push eax
call fcn.10165350
add esp, 4
lea edi, [ebp - 0x2c]
push 8
push edi
call fcn.10195c70
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], 0x10443718
mov dword [ebp - 0x114], 2
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x54], 0x101ab600
mov dword [ebp - 0x110], esi
mov dword [ebp - 0x10c], 1
lea eax, [ebp - 0x40]
push ebx
push eax
call fcn.1001b0a0
add esp, 8
cmp dword [ebp - 0x28], 0
je 0x101d58d2
mov eax, dword [0x1044eff8]
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.1016ca40
add esp, 0x14
cmp dword [ebp - 0x114], 0
je 0x101d591d
mov eax, dword [0x1044eff8]
push edi
push 0
push dword [eax]
call sub.KERNEL32.dll_HeapFree
mov edx, dword [ebp - 0x58]
movaps xmm0, xmmword [0x1043e290]
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.101746e0
add esp, 8
cmp byte [ebp - 0x2c], 4
jne 0x101d598a
mov ebx, dword [ebp - 0x28]
jmp 0x101d5998
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x28]
cmp al, 4
jne 0x101d5aad
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x101d5b77
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x14], ecx
jmp 0x101d59bc
test eax, eax
je 0x101d5b77
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.10175c40
add esp, 0x18
movzx ebx, byte [ebp - 0x118]
cmp ebx, 4
jne 0x101d5a10
mov eax, dword [ebp - 0x114]
test eax, eax
je 0x101d5b56
mov ecx, edi
sub ecx, eax
jb 0x101d6669
add dword [ebp - 0x14], eax
mov ebx, esi
mov eax, ecx
jmp 0x101d59b4
mov eax, dword [ebx*4 + 0x101d68cc]
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], 0x1016c1c0
mov dword [ebp - str._ERROR__Error_creating_temp_wallpaper_file:__7D], 0x1044378c
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.10167360
mov dword [ebp - 0x10c], 2
lea eax, [ebp - 0x118]
push eax
call fcn.100748a0
add esp, 4
cmp byte [ebp - 0x40], 3
jne 0x101d662a
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 0x101d5b42
cmp dword [ebx + 8], 9
jb 0x101d5b33
mov edi, dword [edi - 4]
mov eax, dword [0x1044eff8]
push edi
push 0
push dword [eax]
call sub.KERNEL32.dll_HeapFree
mov eax, dword [0x1044eff8]
push esi
push 0
push dword [eax]
call sub.KERNEL32.dll_HeapFree
jmp 0x101d662a
mov ecx, 0x1043e4fc
mov eax, 2
mov ebx, esi
jmp 0x101d658b
push ebx
call sub.KERNEL32.dll_CloseHandle
mov edi, dword [ebp - 0x50]
mov esi, dword [ebp - 0x58]
test edi, edi
je 0x101d5bc2
js 0x101d6688
mov eax, dword [0x1044f00c]
mov ebx, dword [0x1044eff8]
movzx eax, byte [eax]
mov eax, dword [ebx]
test eax, eax
jne 0x101d5bb0
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x101d5d8d
mov dword [ebx], eax
push edi
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
jne 0x101d5bc7
jmp 0x101d5d8d
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.1002ad90
add esp, 0xc
cmp dword [ebp - 0x118], 0
jne 0x101d668f
mov ecx, dword [ebp - 0x114]
test ecx, ecx
je 0x101d668f
mov edx, dword [ebp - 0x110]
call fcn.101d5580
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 0x101d5c7f
lea eax, [ebp - 0x40]
mov dword [ebp - str._INFOWALL__Set_wallpaper_for_current_user:_d8D], 0x10443890
mov dword [ebp - 0x114], 1
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x28], 0x1002e030
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x10c], 1
lea eax, [ebp - 0x118]
push eax
call fcn.100748a0
add esp, 4
jmp 0x101d5d20
cmp eax, 0x5b3
jne 0x101d5cd3
lea eax, [ebp - 0x40]
mov dword [ebp - 0x118], 0x1044381c
mov dword [ebp - 0x114], 1
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x28], 0x1002e030
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x10c], 1
lea eax, [ebp - 0x118]
push eax
call fcn.100748a0
add esp, 4
lea eax, [ebp - 0x40]
mov dword [ebp - str._ERRORWALL__Error_setting_wallpaper_for_current_user:], 0x1044385c
mov dword [ebp - 0x114], 1
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x28], 0x1002e030
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x10c], 1
lea eax, [ebp - 0x118]
push eax
call fcn.100748a0
add esp, 4
cmp dword [ebp - 0x14], 0
mov word [esi], 0
je 0x101d5d3a
mov eax, dword [0x1044eff8]
push esi
push 0
push dword [eax]
call sub.KERNEL32.dll_HeapFree
test edi, edi
je 0x101d5d4f
mov eax, dword [0x1044eff8]
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 0x101d5d9d
js 0x101d6688
mov eax, dword [0x1044f00c]
mov esi, dword [0x1044eff8]
movzx eax, byte [eax]
mov eax, dword [esi]
test eax, eax
jne 0x101d5d7e
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x101d5d8d
mov dword [esi], eax
push edi
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
mov esi, eax
test eax, eax
jne 0x101d5da2
push edi
push 1
call fcn.1001ac80
add esp, 8
jmp 0x101d66aa
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.101c0e10
add esp, 4
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x168], 0x104405fa
mov dword [ebp - 0x170], 0x10440638
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.101769e0
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 0x101d5e8e
setns al
js 0x101d66a5
mov byte [ebp - 0x10], al
mov eax, dword [0x1044f00c]
mov edi, dword [0x1044eff8]
movzx eax, byte [eax]
mov eax, dword [edi]
test eax, eax
jne 0x101d5e6c
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x101d5e7b
mov dword [edi], eax
push ebx
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
mov edi, eax
test eax, eax
jne 0x101d5e93
movzx eax, byte [ebp - 0x10]
push ebx
push eax
call fcn.1001ac80
add esp, 8
jmp 0x101d66aa
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 0x101d5ecc
cmp dword [ebp - 0x48], 0
je 0x101d5ecc
mov eax, dword [0x1044eff8]
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], 0x10440718
mov dword [ebp - 0x28], 7
mov byte [ebp - 0x5c], 3
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], 0x101a2960
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 6
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x34], 0x101ab600
mov dword [ebp - 0x20], 2
lea ebx, [ebp - 0x12c]
lea esi, [ebp - 0x2c]
push esi
push ebx
call fcn.1001b0a0
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], 0x10440718
mov byte [ebp - 0x5c], 3
mov dword [ebp - 0x28], 7
mov dword [ebp - 0x40], ecx
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x3c], 0x101a2960
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], 0x101ab600
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.1001b0a0
add esp, 8
mov eax, dword [ebp - 0x124]
movsd xmm0, qword [ebp - 0x12c]
mov dword [ebp - str._Command________P_aD], 0x10440760
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], 0x101ab600
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 0x101ab600
lea eax, [ebp - 0x118]
push eax
push edi
call fcn.1001b0a0
add esp, 8
mov eax, dword [ebp - 0x38]
movsd xmm0, qword [ebp - 0x40]
mov esi, dword [0x1044eff8]
mov dword [ebp - 0x124], eax
mov eax, dword [0x1044f00c]
movsd qword [ebp - 0x12c], xmm0
movzx eax, byte [eax]
mov eax, dword [esi]
test eax, eax
jne 0x101d62c7
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x101d667a
mov dword [esi], eax
push 0xa
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x101d667a
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.101d68e0
add esp, 4
movzx eax, byte [ebp - 0x2c]
cmp al, 4
sete bl
cmp byte [ebp - 0x2b], 0
setne bh
cmp al, 4
je 0x101d63da
cmp al, 3
jne 0x101d63da
mov eax, dword [ebp - 0x28]
mov esi, dword [eax + 4]
mov edi, dword [eax]
mov dword [ebp - 0x14], eax
mov eax, dword [esi]
push edi
call eax
add esp, 4
cmp dword [esi + 4], 0
je 0x101d63c6
cmp dword [esi + 8], 9
jb 0x101d63b7
mov edi, dword [edi - 4]
mov eax, dword [0x1044eff8]
push edi
push 0
push dword [eax]
call sub.KERNEL32.dll_HeapFree
push dword [ebp - 0x14]
push 0
mov eax, dword [0x1044eff8]
push dword [eax]
call sub.KERNEL32.dll_HeapFree
lea esi, [ebp - 0x2c]
and bl, bh
je 0x101d643b
call fcn.101bcb00
mov edi, eax
lea eax, [ebp - 0x118]
push eax
push esi
call fcn.101bd600
add esp, 8
mov ebx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x28]
mov ecx, edi
call fcn.101bcc30
cmp bl, 4
jne 0x101d6456
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.100748a0
add esp, 4
jmp 0x101d64fe
lea eax, [ebp - 0x118]
push eax
push esi
call fcn.101bd600
add esp, 8
mov ebx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x28]
cmp bl, 4
je 0x101d6407
mov eax, ebx
mov byte [ebp - 0x120], bl
shr ebx, 0x18
mov dword [ebp - 0x2c], 0x104407cc
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.10167360
mov dword [ebp - 0x20], 1
lea eax, [ebp - 0x2c]
push eax
call fcn.100748a0
add esp, 4
cmp byte [ebp - 0x120], 3
jne 0x101d64fe
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 0x101d64ef
cmp dword [edi + 8], 9
jb 0x101d64e0
mov ebx, dword [ebx - 4]
push ebx
push 0
mov eax, dword [0x1044eff8]
push dword [eax]
call sub.KERNEL32.dll_HeapFree
push esi
push 0
mov eax, dword [0x1044eff8]
push dword [eax]
call sub.KERNEL32.dll_HeapFree
mov esi, dword [0x1044eff8]
lea ecx, [ebp - 0x118]
call fcn.101a5cb0
cmp dword [ebp - 0x14c], 0
je 0x101d6527
push dword [ebp - 0x150]
push 0
push dword [esi]
call sub.KERNEL32.dll_HeapFree
cmp dword [ebp - 0x140], 0
je 0x101d653f
push dword [ebp - 0x144]
push 0
push dword [esi]
call sub.KERNEL32.dll_HeapFree
cmp dword [ebp - 0x134], 0
je 0x101d6557
push dword [ebp - 0x138]
push 0
push dword [esi]
call sub.KERNEL32.dll_HeapFree
cmp dword [ebp - 0x30], 0
je 0x101d6569
push dword [ebp - 0x44]
push 0
push dword [esi]
call sub.KERNEL32.dll_HeapFree
cmp dword [ebp - 0x15c], 0
je 0x101d665e
push dword [ebp - 0x160]
push 0
push dword [esi]
jmp 0x101d6659
mov dword [ebp - 0x40], eax
lea esi, [ebp - 0x40]
lea eax, [ebp - 0x2c]
mov dword [ebp - str._ERRORWALL__Error_writing_wallpaper_to_disk:], 0x10443758
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.10167360
mov dword [ebp - 0x10c], 1
lea eax, [ebp - 0x118]
push eax
call fcn.100748a0
add esp, 4
cmp byte [ebp - 0x40], 3
jne 0x101d6624
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 0x101d6612
cmp dword [edi + 8], 9
jb 0x101d6603
mov ebx, dword [ebx - 4]
push ebx
push 0
mov eax, dword [0x1044eff8]
push dword [eax]
call sub.KERNEL32.dll_HeapFree
push esi
push 0
mov eax, dword [0x1044eff8]
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 0x101d6641
mov eax, dword [0x1044eff8]
push dword [ebp - 0x58]
push 0
push dword [eax]
call sub.KERNEL32.dll_HeapFree
cmp dword [ebp - 0x15c], 0
je 0x101d665e
mov eax, dword [0x1044eff8]
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 0x1043e554
push edi
push eax
call fcn.1002abd0
add esp, 0xc
jmp 0x101d66aa
push 0xa
push 1
call fcn.1001ac80
add esp, 8
jmp 0x101d66aa
call fcn.1001ac40
jmp 0x101d66aa
push 0x104437c0
push 0x2b
push str.called__Option::unwrap____on_a__None__valueIndex_out_of_bounds
call fcn.10027330
add esp, 0xc
jmp 0x101d66aa
call fcn.1001ac40
ud2