Function at 0x4a9e00
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7219fd
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x83e264]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xc]
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 0
call fcn.004b2720
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 1
push ecx
mov ecx, eax
call fcn.0049a830
mov byte [ebp - 4], 2
cmp dword [0x85cfa0], 0
jne 0x4a9eba
mov dword [0x8433b0], 2
cmp eax, 0x846e00
je 0x4a9e84
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x4a9e78
mov eax, dword [eax]
push ecx
push eax
mov ecx, 0x846e00
call fcn.00481410
call fcn.00509f30
add eax, 0x60
cmp eax, 0x846e18
je 0x4a9eaa
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x4a9e9e
mov eax, dword [eax]
push ecx
push eax
mov ecx, 0x846e18
call fcn.00481410
push 0x4c0bf0
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov dword [0x85cfa0], eax
lea ecx, [ebp - 0x70]
call fcn.004813b0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0
call fcn.004813b0
push str.en_US.utf8
push 0
call fcn.00532e96
add esp, 8
call fcn.00509f30
add eax, 0x18
cmp dword [eax + 0x14], 8
jb 0x4a9eed
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov edi, dword [0x84ce30]
test edi, edi
je 0x4a9f21
mov esi, dword [0x84ce34]
test esi, esi
je 0x4aa010
lock inc dword [esi + 4]
mov esi, dword [0x84ce34]
mov edi, dword [0x84ce30]
jmp 0x4aa010
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x85cf68]
cmp eax, dword [ecx + 0x20]
jle 0x4a9ff6
push 0x85cf68
call fcn.0051e16d
add esp, 4
cmp dword [0x85cf68], 0xffffffff
jne 0x4a9ff6
push 0x20
mov byte [ebp - 4], 3
call fcn.0051dec4
mov esi, eax
xor eax, eax
mov dword [ebp - 0xec], esi
mov dword [ebp - 0xec], esi
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [esi + 0x18], 0x40000000
mov dword [esi + 0x1c], 0x1e
mov dword [0x85cf6c], eax
mov dword [0x85cf70], eax
push 0x10
mov byte [ebp - 4], 4
call fcn.0051dec4
mov dword [ebp - 0xec], eax
xorps xmm0, xmm0
push 0x733960
movq qword [eax], xmm0
mov dword [eax + 8], 0
mov dword [eax + 4], 1
mov dword [eax + 8], 1
mov dword [eax], vtable.std::_Ref_count_struct__public:_static_class_std::shared_ptr_class_libDebugLog::LocalLogFile____cdecl_libDebugLog::LocalLogFile::get_ins_void_::_2::the_helper_.0
mov dword [eax + 0xc], esi
mov dword [0x85cf6c], esi
mov dword [0x85cf70], eax
call fcn.0051e47f
push 0x85cf68
call fcn.0051e123
add esp, 0x10
mov esi, dword [0x85cf70]
test esi, esi
je 0x4aa00a
lock inc dword [esi + 4]
mov esi, dword [0x85cf70]
mov edi, dword [0x85cf6c]
mov dword [ebp - 0xf8], esi
mov dword [ebp - 0xfc], edi
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x70]
mov byte [ebp - 0xf0], 0
push dword [ebp - 0xf0]
call fcn.004aa440
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x58]
mov byte [ebp - 0xf0], 0
push dword [ebp - 0xf0]
call fcn.004aa400
add esp, 8
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 7
call fcn.004b2720
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 8
push ecx
mov ecx, eax
call fcn.0049a830
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 9
call fcn.00482720
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x40]
call fcn.0049ab70
push eax
lea ecx, [ebp - 0xb8]
call fcn.00482720
lea ecx, [ebp - 0x40]
call fcn.004813b0
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x88]
call fcn.00482720
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x88]
call fcn.0049ab70
push eax
lea ecx, [ebp - 0x28]
call fcn.00482720
lea ecx, [ebp - 0x88]
call fcn.004813b0
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
mov byte [ebp - 0xf0], 0
cmovae eax, dword [ebp - 0x28]
push dword [ebp - 0xf0]
mov dword [ebp - 0xec], eax
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.00490840
add esp, 0xc
push 0x1e
push 0xa00000
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 0xe
push eax
mov ecx, edi
call fcn.0050dc70
lea ecx, [ebp - 0xa0]
call fcn.004813b0
lea ecx, [ebp - 0x28]
call fcn.004813b0
lea ecx, [ebp - 0xb8]
call fcn.004813b0
lea ecx, [ebp - 0xd0]
call fcn.004813b0
lea ecx, [ebp - 0xe8]
call fcn.004813b0
lea ecx, [ebp - 0x58]
call fcn.004813b0
lea ecx, [ebp - 0x70]
call fcn.004813b0
or edi, 0xffffffff
test esi, esi
je 0x4aa19b
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x4aa19b
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x4aa19b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
push 2
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [ebp - 0xec], eax
mov byte [ebp - 4], 0xf
test eax, eax
jns 0x4aa1db
push eax
push str.CoInitializeEx_failed__hr_0x_x_
push 0x29
push str.C:_actions_runner_work_app_xbc_win_agent_app_xbc_win_agent_src_toolIoTMessageDispatcheriot_main.cpp
push str.wmain
push 0x44
push 4
call fcn.0050ef60
add esp, 0x1c
mov ebx, 1
jmp 0x4aa385
xorps xmm0, xmm0
movups xmmword [ebp - 0x38], xmm0
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x11c]
push ebx
mov byte [ebp - 4], 0x10
call fcn.004818b0
add esp, 4
mov edx, 0x84497c
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0xfc]
call fcn.0049cd20
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0xfc]
test eax, eax
je 0x4aa227
mov eax, dword [eax]
test eax, eax
je 0x4aa227
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 8
push str._service
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
call fcn.00481410
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004827f0
add esp, 8
lea ecx, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xf4]
push eax
call fcn.00482470
mov esi, dword [ebp - 0x118]
lea ecx, [ebp - 0x28]
mov eax, dword [eax + 4]
test eax, eax
cmovne esi, eax
call fcn.004813b0
cmp esi, dword [ebp - 0x118]
je 0x4aa2df
lea ecx, [ebp - 0xf4]
call fcn.004a9d50
mov byte [ebp - 4], 0x13
call fcn.004a5bc0
mov byte [ebp - 4], 0x12
mov esi, dword [ebp - 0xf0]
test esi, esi
je 0x4aa2d8
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x4aa2d8
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x4aa2d8
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
call fcn.004b0e20
jmp 0x4aa2ee
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x38]
call fcn.004aa650
mov esi, dword [ebp - 0xf8]
xor ebx, ebx
test esi, esi
je 0x4aa318
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x4aa318
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x4aa318
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x10c]
mov edx, dword [ebp - 0x110]
sub ecx, edx
and ecx, 0xfffffffc
mov eax, edx
cmp ecx, 0x1000
jb 0x4aa343
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4aa3b4
push ecx
push edx
call fcn.0051def4
mov edx, dword [ebp - 0x118]
mov dword [ebp - 0x110], ebx
mov dword [ebp - 0x10c], ebx
mov dword [ebp - 0x108], ebx
call fcn.00481dd0
push 0x2c
push dword [ebp - 0x118]
call fcn.0051def4
add esp, 0x10
lea ecx, [ebp - 0x38]
call fcn.00484790
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [0x85cfa0]
test ecx, ecx
je 0x4aa396
push ecx
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0051deb6
mov esp, ebp
pop ebp
ret
call fcn.0052981f
int3