Function at 0x4accd0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x74131c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x588
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
push 0x4a7db0
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
call fcn.004891a0
add eax, 0x94
lea ecx, [ebp - 0x50]
push eax
call fcn.00492550
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 0x4acd6e
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4acd64
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ad2eb
push edx
push ecx
call fcn.00516d60
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 0x4acd9b
push esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [ebp + 4]
test eax, eax
je 0x4ad2f0
mov esi, dword [ebp - 0x38]
call fcn.004b97a0
push 0xc350
mov edi, eax
lea eax, [ebp - 0xe0]
push 0x75e884
push eax
call fcn.00519080
add esp, 0xc
push eax
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.004b6c10
mov edx, dword [ebp - 0xcc]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x4ace05
mov ecx, dword [ebp - 0xe0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4acdfb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ad300
push edx
push ecx
call fcn.00516d60
add esp, 8
call fcn.004891a0
mov ecx, dword [ebp + 0xc]
mov dword [eax], ecx
call fcn.004b97a0
mov edi, eax
call fcn.004891a0
mov ecx, dword [eax + 4]
push ecx
mov ecx, edi
call fcn.004b82c0
mov byte [ebp - 4], 2
call fcn.004891a0
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x174]
push 0x140
push 0x208
movzx eax, byte [eax + 9]
push eax
push edi
call fcn.00499f10
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], 0x7604d4
mov dword [ebp - 0x88], 0x760c78
push 5
mov dword [eax], 0xcc
mov dword [eax + 4], 0
mov dword [eax + 8], ecx
lea eax, [ebp - 0xc8]
push 0x760c8c
push eax
mov byte [ebp - 4], 3
call fcn.0048e820
add esp, 0x1c
lea eax, [ebp - 0xc8]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x174]
call fcn.0049ae60
mov edx, dword [ebp - 0xb4]
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x4acf02
mov ecx, dword [ebp - 0xc8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4acef8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ad305
push edx
push ecx
call fcn.00516d60
add esp, 8
lea ecx, [ebp - 0x594]
call fcn.004a63b0
mov eax, dword [ebp + 0x10]
xorps xmm0, xmm0
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x594]
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.004891a0
cmp byte [eax + 8], 0
je 0x4acfe7
movq xmm0, qword [str.Restarted]
mov al, byte [0x760ca0]
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.004adb50
mov edx, dword [ebp - 0x54]
add esp, 0xc
mov byte [ebp - 4], 6
cmp edx, 0x10
jb 0x4acfbc
mov ecx, dword [ebp - 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4acfb2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ad30a
push edx
push ecx
call fcn.00516d60
add esp, 8
lea ecx, [ebp - 0x34]
call fcn.004b1450
push 8
call fcn.00516cd0
add esp, 4
test eax, eax
je 0x4ad079
lea ecx, [ebp - 0x34]
mov dword [eax + 4], 0x4b0bf0
mov dword [eax], ecx
jmp 0x4ad07b
lea ecx, [ebp - 0x34]
call fcn.004a87e0
test al, al
je 0x4acfc4
call fcn.004b97a0
mov ecx, eax
call fcn.004b6d70
call fcn.004b97a0
push 1
push 0
mov ecx, eax
call fcn.004b87b0
cmp dword [ebp - 0x24], 0
mov byte [ebp - 4], 8
je 0x4ad047
call sub.KERNEL32.dll_GetCurrentThreadId
mov ecx, dword [ebp - 0x24]
cmp ecx, eax
je 0x4ad337
push 0
push ecx
push dword [ebp - 0x28]
call fcn.006eec05
add esp, 0xc
test eax, eax
jne 0x4ad33e
xorps xmm0, xmm0
movlpd qword [ebp - 0x28], xmm0
lea ecx, [ebp - 0x594]
call fcn.004a6e20
lea ecx, [ebp - 0x174]
call fcn.004a7550
test esi, esi
je 0x4ad2d8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4ad30f
jmp 0x4ad2d8
xor eax, eax
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 9
push ecx
push 0
push eax
push 0x4a2690
push 0
push 0
call fcn.00715c5f
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x20], ecx
test ecx, ecx
je 0x4ad345
cmp dword [ebp - 0x24], 0
mov byte [ebp - 4], 6
jne 0x4ad322
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 0x4ad327
call fcn.004891a0
cmp byte [eax + 9], 0
jne 0x4ad145
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 0x4ad145
nop dword [eax + eax]
lea eax, [ebp - 0xac]
push eax
push edi
push dword [ebp - 0xac]
call dword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x4ad132
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 0x4ad100
cmp dword [ebp - 0x24], 0
mov byte [ebp - 4], 0xa
je 0x4ad17d
call sub.KERNEL32.dll_GetCurrentThreadId
mov ecx, dword [ebp - 0x24]
cmp ecx, eax
je 0x4ad337
push 0
push ecx
push dword [ebp - 0x28]
call fcn.006eec05
add esp, 0xc
test eax, eax
jne 0x4ad33e
xorps xmm0, xmm0
movlpd qword [ebp - 0x28], xmm0
lea ecx, [ebp - 0x594]
call fcn.004a6e20
lea ecx, [ebp - 0x174]
call fcn.004a7550
mov dword [ebp - 4], 0
call fcn.004b97a0
mov ecx, eax
call fcn.004b9610
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x4ad2d8
push eax
jmp 0x4ad066
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.0070f5b4
push str.C:_buildAgentworkci_deploy_ninja_boot_x86_gitClientdependenciesmicrosoft_wilincludewil_resource.h
push 0x92d
push ecx
call fcn.0047b7a0
call fcn.0070f5b4
call fcn.0070f5b4
call fcn.0070f5b4
mov eax, dword [ebp + 4]
push str.C:_buildAgentworkci_deploy_ninja_boot_x86_gitClientdependenciesmicrosoft_wilincludewil_resource.h
push 0x937
push eax
call fcn.0047b7a0
call fcn.00525430
push str.C:_buildAgentworkci_deploy_ninja_boot_x86_gitClientInstallerWindows_srcInstaller.cpp
push 0xe0
push eax
call fcn.0049a6c0
push 5
call fcn.006ef3a7
push 2
call fcn.006ef3a7
push 6
mov dword [ebp - 0x1c], 0
call fcn.006ef3a7
int3