Function at 0x4aa770
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x73cccc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x598
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
push 0x4a57d0
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
call fcn.00486340
add eax, 0x7c
lea ecx, [ebp - 0x50]
push eax
call fcn.0048f7c0
cmp dword [ebp - 0x3c], 8
lea eax, [ebp - 0x50]
cmovae eax, dword [ebp - 0x50]
push eax
push 0
push 2
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov esi, eax
mov dword [ebp - 0x38], esi
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 4], 0
cmp edx, 8
jb 0x4aa80c
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4aa802
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4aad8b
push edx
push ecx
call fcn.00512900
add esp, 8
xor eax, eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
test esi, esi
je 0x4aa839
push esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [ebp + 4]
test eax, eax
je 0x4aad90
mov esi, dword [ebp - 0x38]
call fcn.004b6ad0
push 0xc350
mov edi, eax
lea eax, [ebp - 0xe0]
push 0x7596ec
push eax
call fcn.00514b80
add esp, 0xc
push eax
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.004b4160
mov edx, dword [ebp - 0xcc]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x4aa8a3
mov ecx, dword [ebp - 0xe0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4aa899
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4aada0
push edx
push ecx
call fcn.00512900
add esp, 8
call fcn.00486340
mov ecx, dword [ebp + 0xc]
mov dword [eax], ecx
call fcn.004b6ad0
mov edi, eax
call fcn.00486340
mov ecx, dword [eax + 4]
push ecx
mov ecx, edi
call fcn.004b56e0
mov byte [ebp - 4], 2
call fcn.00486340
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x174]
push 0x140
push 0x208
movzx eax, byte [eax + 9]
push eax
push edi
call fcn.00497620
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x8c], eax
sub esp, 0x10
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x84], eax
mov eax, esp
mov dword [ebp - 0x90], 0x75b2ec
mov dword [ebp - 0x88], 0x75ba90
push 5
mov dword [eax], 0xcc
mov dword [eax + 4], 0
mov dword [eax + 8], ecx
lea eax, [ebp - 0xc8]
push 0x759c28
push eax
mov byte [ebp - 4], 3
call fcn.0048bbe0
add esp, 0x1c
lea eax, [ebp - 0xc8]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x174]
call fcn.00498570
mov edx, dword [ebp - 0xb4]
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x4aa9a0
mov ecx, dword [ebp - 0xc8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4aa996
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4aada5
push edx
push ecx
call fcn.00512900
add esp, 8
lea ecx, [ebp - 0x5a4]
call fcn.004a3c30
mov eax, dword [ebp + 0x10]
xorps xmm0, xmm0
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x5a4]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x174]
mov dword [ebp - 0x2c], eax
movq qword [ebp - 0x28], xmm0
mov byte [ebp - 4], 6
call fcn.00486340
cmp byte [eax + 8], 0
je 0x4aaa85
movq xmm0, qword [str.Restarted]
mov al, byte [0x75baac]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x54], 0xf
mov dword [ebp - 0x58], 9
movq qword [ebp - 0x68], xmm0
mov byte [ebp - 0x60], al
mov byte [ebp - 0x5f], 0
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x68]
push eax
push 1
call fcn.004ab600
mov edx, dword [ebp - 0x54]
add esp, 0xc
mov byte [ebp - 4], 6
cmp edx, 0x10
jb 0x4aaa5a
mov ecx, dword [ebp - 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4aaa50
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4aadaa
push edx
push ecx
call fcn.00512900
add esp, 8
lea ecx, [ebp - 0x34]
call fcn.004aee90
push 8
call fcn.00512870
add esp, 4
test eax, eax
je 0x4aab17
lea ecx, [ebp - 0x34]
mov dword [eax + 4], 0x4ae610
mov dword [eax], ecx
jmp 0x4aab19
lea ecx, [ebp - 0x34]
call fcn.004a6220
test al, al
je 0x4aaa62
call fcn.004b6ad0
mov ecx, eax
call fcn.004b42c0
call fcn.004b6ad0
push 1
push 0
mov ecx, eax
call fcn.004b5b50
cmp dword [ebp - 0x24], 0
mov byte [ebp - 4], 8
je 0x4aaae5
call sub.KERNEL32.dll_GetCurrentThreadId
mov ecx, dword [ebp - 0x24]
cmp ecx, eax
je 0x4aadd7
push 0
push ecx
push dword [ebp - 0x28]
call fcn.006ead35
add esp, 0xc
test eax, eax
jne 0x4aadde
xorps xmm0, xmm0
movlpd qword [ebp - 0x28], xmm0
lea ecx, [ebp - 0x5a4]
call fcn.004a4830
lea ecx, [ebp - 0x174]
call fcn.004a4f60
test esi, esi
je 0x4aad78
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4aadaf
jmp 0x4aad78
xor eax, eax
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 9
push ecx
push 0
push eax
push 0x49ff00
push 0
push 0
call fcn.007116bf
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x20], ecx
test ecx, ecx
je 0x4aade5
cmp dword [ebp - 0x24], 0
mov byte [ebp - 4], 6
jne 0x4aadc2
mov eax, dword [ebp - 0x1c]
push 0x83
push edi
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], eax
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov edi, eax
mov eax, dword [ebp + 4]
test edi, edi
je 0x4aadc7
call fcn.00486340
cmp byte [eax + 9], 0
jne 0x4aabe5
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
lea eax, [ebp - 0xac]
push 0
push 0
push 0
push eax
call esi
test eax, eax
je 0x4aabe5
nop dword [eax]
lea eax, [ebp - 0xac]
push eax
push edi
push dword [ebp - 0xac]
call dword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x4aabd2
lea eax, [ebp - 0xac]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0xac]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0
push 0
lea eax, [ebp - 0xac]
push eax
call esi
test eax, eax
jne 0x4aaba0
cmp dword [ebp - 0x24], 0
mov byte [ebp - 4], 0xa
je 0x4aac1d
call sub.KERNEL32.dll_GetCurrentThreadId
mov ecx, dword [ebp - 0x24]
cmp ecx, eax
je 0x4aadd7
push 0
push ecx
push dword [ebp - 0x28]
call fcn.006ead35
add esp, 0xc
test eax, eax
jne 0x4aadde
xorps xmm0, xmm0
movlpd qword [ebp - 0x28], xmm0
lea ecx, [ebp - 0x5a4]
call fcn.004a4830
lea ecx, [ebp - 0x174]
call fcn.004a4f60
mov dword [ebp - 4], 0
call fcn.004b6ad0
mov ecx, eax
call fcn.004b6940
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x4aad78
push eax
jmp 0x4aab04
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0070b6e4
push str.C:_buildAgentworkci_deploy_ninja_boot_x86_gitClientdependenciesmicrosoft_wilincludewil_resource.h
push 0x92d
push ecx
call fcn.00478d80
call fcn.0070b6e4
call fcn.0070b6e4
call fcn.0070b6e4
mov eax, dword [ebp + 4]
push str.C:_buildAgentworkci_deploy_ninja_boot_x86_gitClientdependenciesmicrosoft_wilincludewil_resource.h
push 0x937
push eax
call fcn.00478d80
call fcn.00521490
push str.C:_buildAgentworkci_deploy_ninja_boot_x86_gitClientInstallerWindows_srcInstaller.cpp
push 0xe0
push eax
call fcn.00497dd0
push 5
call fcn.006eb4d7
push 2
call fcn.006eb4d7
push 6
mov dword [ebp - 0x1c], 0
call fcn.006eb4d7
int3