Function at 0x4d6170
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6b13e5
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x7adbc4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x98], edx
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x54], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x64], eax
mov eax, dword [edx]
mov dword [ebp - 0x68], eax
xor al, al
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x50], ecx
mov byte [ebp - 0x45], al
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], al
xor esi, esi
mov byte [ebp - 4], 1
xorps xmm0, xmm0
mov dword [ebp - 0x70], esi
or edi, 0xffffffff
movsd qword [ebp - 0x78], xmm0
nop dword [eax]
test al, al
jne 0x4d691f
cmp esi, 0x96
jge 0x4d6473
test esi, esi
jle 0x4d631e
mov ecx, dword [ebp - 0x98]
call fcn.0050c230
mov dword [ebp - 0x58], eax
cmp eax, 4
je 0x4d6235
add esi, 3
mov dword [ebp - 0x70], esi
mov byte [ebp - 4], 2
call fcn.00493480
mov ecx, eax
test ecx, ecx
je 0x4d7159
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x6c], eax
push 0x12f
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 3
call fcn.004989a0
mov eax, dword [ebp - 0x68]
push esi
mov byte [ebp - 4], 4
add eax, 0x34
push dword [ebp - 0x58]
mov esi, dword [ebp - 0x6c]
push esi
push str._s___d_:__d__...
push eax
call fcn.00499dc0
add esp, 0x14
add esi, 0xfffffff0
mov byte [ebp - 4], 5
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4d62a1
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x4d7163
mov eax, dword [ecx]
push dword [ebp - 0x4c]
mov eax, dword [eax + 8]
call eax
test al, al
jne 0x4d6313
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x4d62f5
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4d62eb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d7168
push edx
push ecx
call fcn.0066a2e8
add esp, 8
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00669a8a
mov esp, ebp
pop ebp
ret
push 0x400
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x90]
push eax
mov eax, dword [ebp - 0x64]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
mov dword [ebp - 0x94], esi
cmp esi, 0xffffffff
jne 0x4d64e3
call fcn.00490bd0
mov dword [ebp - 0x58], eax
test eax, eax
jns 0x4d64dd
call fcn.00516890
mov esi, eax
mov ecx, esi
call fcn.00516630
cmp byte [0x7b8a22], 0
jne 0x4d63ae
mov ecx, 0xf0
call fcn.00516ef0
mov dword [ebp - 0x4c], eax
mov byte [ebp - 4], 6
test eax, eax
je 0x4d63a7
movsd xmm0, qword [ebp - 0x78]
sub esp, 8
mov ecx, eax
movsd qword [esp], xmm0
push 0x7b8a22
sub esp, 0xc
push 0x243
push str.C:GitLab_Runner_buildsTzUW5DUw0windowswindows_agentRemoteInstallerInstallerUI_agent_install_action.cpp
push 0x20
call fcn.00516700
jmp 0x4d63a9
xor eax, eax
mov dword [0x7bb11c], eax
mov ecx, esi
call fcn.00516640
mov ecx, dword [0x7bb11c]
lea ecx, [ecx + 0xd0]
call fcn.00516630
mov eax, dword [0x7bb11c]
mov eax, dword [eax]
mov eax, dword [eax + 0x48]
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x4c]
mov edx, dword [ebp - 0x58]
call fcn.004955a0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x58]
push dword [eax]
call fcn.00498630
mov edx, dword [ebp - 0x4c]
mov esi, eax
mov dword [ebp - 0x54], 1
add edx, 0xfffffff0
mov byte [ebp - 4], 9
mov ecx, edi
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x4d6417
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 7
push dword [esi]
push str.Failed_to_read_the_size_of_remote_file
push dword [0x7bb11c]
call dword [ebp - 0x5c]
mov edx, dword [ebp - 0x58]
add esp, 0xc
add edx, 0xfffffff0
mov byte [ebp - 4], 0xa
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4d644c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov ecx, dword [0x7bb11c]
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [0x7bb11c]
lea ecx, [ecx + 0xd0]
call fcn.00516640
mov dword [ebp - 0x54], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x4c], eax
call fcn.00516890
mov esi, eax
mov ecx, esi
call fcn.00516630
cmp byte [0x7b89b8], 0
jne 0x4d6797
mov ecx, 0xf0
call fcn.00516ef0
mov dword [ebp - 0x60], eax
mov byte [ebp - 4], 0x11
test eax, eax
je 0x4d6790
movsd xmm0, qword [ebp - 0x78]
sub esp, 8
mov ecx, eax
movsd qword [esp], xmm0
push 0x7b89b8
sub esp, 0xc
push 0x258
push str.C:GitLab_Runner_buildsTzUW5DUw0windowswindows_agentRemoteInstallerInstallerUI_agent_install_action.cpp
push 0x20
call fcn.00516700
jmp 0x4d6792
mov esi, dword [ebp - 0x94]
mov eax, dword [ebp - 0x90]
test esi, esi
jne 0x4d64f5
test eax, eax
je 0x4d677f
test eax, eax
jne 0x4d6501
cmp esi, 0x800
jbe 0x4d6506
mov esi, 0x800
push ecx
lea eax, [ebp - 0x45]
mov byte [ebp - 0x45], 0
push eax
lea eax, [esi + 2]
push eax
lea ecx, [ebp - 0x84]
call fcn.004db1d0
mov eax, dword [ebp - 0x64]
mov byte [ebp - 4], 0xc
mov eax, dword [eax]
test eax, eax
jne 0x4d6545
sub esp, 8
mov edx, 0xda
mov ecx, str.ATL::CAtlFile::Seek
call fcn.00493a40
mov eax, dword [ebp - 0x64]
add esp, 8
mov eax, dword [eax]
push 0
lea ecx, [ebp - 0x9c]
xorps xmm0, xmm0
push ecx
push 0
push eax
movlpd qword [ebp - 0xa0], xmm0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x4d656c
call fcn.00490bd0
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x64]
mov byte [ebp - 4], 0xd
mov eax, dword [eax]
test eax, eax
jne 0x4d6637
call fcn.00516890
mov ecx, eax
mov dword [ebp - 0x58], eax
call fcn.00516630
cmp byte [0x7b89c8], 0
jne 0x4d65dd
mov ecx, 0xf0
call fcn.00516ef0
mov dword [ebp - 0x60], eax
test eax, eax
je 0x4d65d6
movsd xmm0, qword [ebp - 0x78]
sub esp, 8
mov ecx, eax
movsd qword [esp], xmm0
push 0x7b89c8
sub esp, 0xc
push 9
push str.c:gitlab_runner_builds_tzuw5duw0windowswindows_agent_remoteinstallerinstallerui_redefine_atlassert.h
push 0x18
call fcn.00516700
jmp 0x4d65d8
xor eax, eax
mov dword [0x7bb0d4], eax
mov ecx, dword [ebp - 0x58]
call fcn.00516640
mov ecx, dword [0x7bb0d4]
lea ecx, [ecx + 0xd0]
call fcn.00516630
mov ecx, dword [0x7bb0d4]
push str.ATLASSERT
push 0x5f
push str.ATL::CAtlFile::Read
mov eax, dword [ecx]
push str.SCAssertT_at__s__d:__s
push ecx
call dword [eax + 0x48]
mov ecx, dword [0x7bb0d4]
add esp, 0x14
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [0x7bb0d4]
lea ecx, [ecx + 0xd0]
call fcn.00516640
mov ecx, dword [ebp - 0x64]
mov eax, dword [ecx]
push 0
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x88], 0
push ecx
push esi
push dword [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4d6660
call fcn.00490bd0
jmp 0x4d6670
xor eax, eax
mov ecx, 0x80070026
cmp dword [ebp - 0x88], esi
cmovne eax, ecx
mov byte [ebp - 4], 0xb
test eax, eax
jns 0x4d66bc
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x84]
test ecx, ecx
je 0x4d6473
mov edx, dword [ebp - 0x7c]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x4d66ad
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d716d
push edx
push ecx
call fcn.0066a2e8
add esp, 8
jmp 0x4d6473
push esi
push dword [ebp - 0x84]
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
call fcn.004b6300
lea ecx, [ebp - 0x2c]
call fcn.004b3ee0
movups xmm1, xmmword [ebp - 0x44]
cmp dword [ebp - 0x30], 0x10
lea esi, [ebp - 0x2c]
movq xmm0, qword [ebp - 0x34]
movd eax, xmm1
movups xmmword [ebp - 0x2c], xmm1
cmovae esi, eax
movq qword [ebp - 0x1c], xmm0
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x4d6720
push eax
push 0x24
push esi
call fcn.0066d740
add esp, 0xc
test eax, eax
je 0x4d6720
sub eax, esi
jmp 0x4d6723
or eax, 0xffffffff
cmp eax, 0xffffffff
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x84]
setne al
mov byte [ebp - 0x45], al
test ecx, ecx
je 0x4d6782
mov edx, dword [ebp - 0x7c]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x4d675d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d7172
push edx
push ecx
call fcn.0066a2e8
add esp, 8
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov al, byte [ebp - 0x45]
mov ecx, dword [ebp - 0x70]
inc ecx
mov dword [ebp - 0x70], ecx
mov esi, ecx
jmp 0x4d6200
xor eax, eax
mov dword [0x7bb06c], eax
mov ecx, esi
call fcn.00516640
mov ecx, dword [0x7bb06c]
lea ecx, [ecx + 0xd0]
call fcn.00516630
mov eax, dword [0x7bb06c]
mov eax, dword [eax]
mov eax, dword [eax + 0x48]
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x4c]
mov edx, dword [ebp - 0x4c]
call fcn.004954b0
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x58]
push dword [eax]
call fcn.00498630
mov edx, dword [ebp - 0x4c]
mov esi, eax
mov dword [ebp - 0x54], 2
add edx, 0xfffffff0
mov byte [ebp - 4], 0x14
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4d6800
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x12
push dword [esi]
push dword [0x7bb06c]
call dword [ebp - 0x5c]
mov edx, dword [ebp - 0x58]
add esp, 8
add edx, 0xfffffff0
mov byte [ebp - 4], 0x15
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4d6830
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov ecx, dword [0x7bb06c]
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [0x7bb06c]
lea ecx, [ecx + 0xd0]
call fcn.00516640
mov byte [ebp - 4], 0x16
call fcn.00493480
mov ecx, eax
test ecx, ecx
je 0x4d7177
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x54], eax
push 0x81
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x17
call fcn.004989a0
mov esi, dword [ebp - 0x68]
lea eax, [ebp - 0x54]
push ecx
push eax
push ecx
mov ecx, esi
mov byte [ebp - 4], 0x18
call fcn.004dd870
mov edx, dword [ebp - 0x54]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x19
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4d68b3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esi + 0x2c], 3
mov byte [ebp - 4], 0x1a
call fcn.00493480
mov ecx, eax
test ecx, ecx
je 0x4d7181
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x54], eax
push 0x81
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x1b
call fcn.004989a0
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 0x1c
push eax
mov ecx, esi
call fcn.004dcad0
mov eax, dword [ebp - 0x54]
lea edx, [eax - 0x10]
mov byte [ebp - 4], 0x1d
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x4d62c1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4d62c1
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x4d69bd
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x5c]
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.004986b0
mov byte [ebp - 4], 0xe
mov edx, dword [eax]
mov esi, dword [esi]
sub esi, 0x10
lea ecx, [edx - 0x10]
cmp ecx, esi
je 0x4d699b
mov eax, dword [esi + 0xc]
shr eax, 0x1f
test al, al
jne 0x4d698f
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x4d698f
call fcn.00499ae0
mov dword [ebp - 0x4c], eax
mov byte [ebp - 4], 0xf
lea edx, [esi + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4d6985
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x50]
add eax, 0x10
mov dword [ecx], eax
jmp 0x4d699b
push dword [edx - 0xc]
mov ecx, dword [ebp - 0x50]
push edx
call fcn.00499ce0
mov edx, dword [ebp - 0x5c]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x10
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4d69b9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
call fcn.00516890
mov esi, eax
mov ecx, esi
call fcn.00516630
cmp byte [0x7b8a32], 0
jne 0x4d6a1e
mov ecx, 0xf0
call fcn.00516ef0
mov dword [ebp - 0x60], eax
mov byte [ebp - 4], 0x1e
test eax, eax
je 0x4d6a13
movsd xmm0, qword [ebp - 0x78]
sub esp, 8
mov ecx, eax
movsd qword [esp], xmm0
push 0x7b8a32
sub esp, 0xc
push 0x25f
push str.C:GitLab_Runner_buildsTzUW5DUw0windowswindows_agentRemoteInstallerInstallerUI_agent_install_action.cpp
push 0x50
call fcn.00516700
jmp 0x4d6a15
xor eax, eax
mov byte [ebp - 4], 1
mov dword [0x7bb23c], eax
mov ecx, esi
call fcn.00516640
mov ecx, dword [0x7bb23c]
lea ecx, [ecx + 0xd0]
call fcn.00516630
mov edx, dword [0x7bb23c]
cmp dword [ebp - 0x18], 0x10
mov eax, dword [edx]
mov ecx, dword [eax + 0x48]
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
push str.Result_file_ready___s_
push edx
call ecx
mov ecx, dword [0x7bb23c]
add esp, 0xc
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [0x7bb23c]
lea ecx, [ecx + 0xd0]
call fcn.00516640
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
mov esi, dword [ebp - 0x1c]
cmovae eax, dword [ebp - 0x2c]
mov dword [ebp - 0x4c], eax
test esi, esi
je 0x4d6f13
push esi
push 0x24
push eax
call fcn.0066d740
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x4d6f13
sub ecx, dword [ebp - 0x4c]
cmp ecx, 0xffffffff
je 0x4d6f13
cmp ecx, esi
ja 0x4d6ac7
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x1c], ecx
cmovae eax, dword [ebp - 0x2c]
mov byte [eax + ecx], 0
jmp 0x4d6b0f
mov eax, dword [ebp - 0x18]
mov edx, ecx
sub edx, esi
sub eax, esi
mov dword [ebp - 0x4c], edx
cmp edx, eax
ja 0x4d6afc
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
push edx
cmovae eax, dword [ebp - 0x2c]
add esi, eax
mov dword [ebp - 0x1c], ecx
push 0
push esi
call fcn.0066d4a0
mov eax, dword [ebp - 0x4c]
add esp, 0xc
mov byte [esi + eax], 0
jmp 0x4d6b0f
push 0
push edx
mov byte [ebp - 0x4c], 0
lea ecx, [ebp - 0x2c]
push dword [ebp - 0x4c]
push edx
call fcn.004de9b0
cmp dword [ebp - 0x18], 0x10
lea edx, [ebp - 0x2c]
mov esi, dword [ebp - 0x1c]
cmovae edx, dword [ebp - 0x2c]
test esi, esi
je 0x4d6b9c
lea eax, [esi - 1]
mov ecx, edi
cmp eax, 0xffffffff
cmovb ecx, eax
add ecx, edx
cmp byte [ecx], 0x3a
je 0x4d6b3d
cmp ecx, edx
je 0x4d6b9c
dec ecx
cmp byte [ecx], 0x3a
jne 0x4d6b33
sub ecx, edx
cmp ecx, 0xffffffff
je 0x4d6b9c
lea edx, [ecx + 1]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
cmp esi, edx
jb 0x4d718b
sub esi, edx
lea eax, [ebp - 0x2c]
cmp esi, 0xffffffff
mov ecx, edi
cmovb ecx, esi
cmp dword [ebp - 0x18], 0x10
push ecx
cmovae eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x44]
add eax, edx
push eax
call fcn.004b6300
lea ecx, [ebp - 0x2c]
call fcn.004b3ee0
movups xmm0, xmmword [ebp - 0x44]
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [ebp - 0x34]
movq qword [ebp - 0x1c], xmm0
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x8c]
push 0xa
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x8c], 0
cmovae eax, dword [ebp - 0x2c]
push ecx
push eax
call fcn.006831f7
mov edx, dword [ebp - 0x1c]
add esp, 0xc
mov esi, eax
mov dword [ebp - 0x5c], esi
test edx, edx
je 0x4d6d7c
mov ecx, dword [ebp - 0x8c]
test ecx, ecx
je 0x4d6d7c
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
add eax, edx
cmp ecx, eax
jne 0x4d6d7c
mov ecx, esi
call fcn.00506e80
mov byte [ebp - 0x45], al
test al, al
jne 0x4d6d3c
call fcn.00516890
mov ecx, eax
mov dword [ebp - 0x4c], eax
call fcn.00516630
cmp byte [0x7b8a1f], 0
jne 0x4d6c6a
mov ecx, 0xf0
call fcn.00516ef0
mov dword [ebp - 0x60], eax
mov byte [ebp - 4], 0x31
test eax, eax
je 0x4d6c5f
movsd xmm0, qword [ebp - 0x78]
sub esp, 8
mov ecx, eax
movsd qword [esp], xmm0
push 0x7b8a1f
sub esp, 0xc
push 0x27f
push str.C:GitLab_Runner_buildsTzUW5DUw0windowswindows_agentRemoteInstallerInstallerUI_agent_install_action.cpp
push 0x20
call fcn.00516700
jmp 0x4d6c61
xor eax, eax
mov byte [ebp - 4], 1
mov dword [0x7bb18c], eax
mov ecx, dword [ebp - 0x4c]
call fcn.00516640
mov ecx, dword [0x7bb18c]
lea ecx, [ecx + 0xd0]
call fcn.00516630
mov ecx, dword [0x7bb18c]
push esi
push str.Invalid_answer_code_from_remote___ld_
push ecx
mov eax, dword [ecx]
call dword [eax + 0x48]
mov ecx, dword [0x7bb18c]
add esp, 0xc
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [0x7bb18c]
lea ecx, [ecx + 0xd0]
call fcn.00516640
push 0x81
lea ecx, [ebp - 0x4c]
call fcn.0049a680
mov esi, dword [ebp - 0x68]
lea ecx, [ebp - 0x5c]
push ecx
push eax
push ecx
mov ecx, esi
mov byte [ebp - 4], 0x32
call fcn.004dded0
mov edx, dword [ebp - 0x4c]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x33
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4d6cf3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4c]
push 0x81
mov dword [esi + 0x2c], 3
call fcn.0049a680
push eax
mov ecx, esi
mov byte [ebp - 4], 0x34
call fcn.004dcad0
mov eax, dword [ebp - 0x4c]
lea edx, [eax - 0x10]
mov byte [ebp - 4], 0x35
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x4d62c1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4d62c1
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x4d62f7
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4d6d6a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d7168
push edx
push ecx
call fcn.0066a2e8
mov al, byte [ebp - 0x45]
add esp, 8
jmp 0x4d62f7
call fcn.00516890
mov esi, eax
mov ecx, esi
call fcn.00516630
cmp byte [0x7b89bd], 0
jne 0x4d6ddd
mov ecx, 0xf0
call fcn.00516ef0
mov dword [ebp - 0x60], eax
mov byte [ebp - 4], 0x28
test eax, eax
je 0x4d6dd2
movsd xmm0, qword [ebp - 0x78]
sub esp, 8
mov ecx, eax
movsd qword [esp], xmm0
push 0x7b89bd
sub esp, 0xc
push 0x275
push str.C:GitLab_Runner_buildsTzUW5DUw0windowswindows_agentRemoteInstallerInstallerUI_agent_install_action.cpp
push 0x20
call fcn.00516700
jmp 0x4d6dd4
xor eax, eax
mov byte [ebp - 4], 1
mov dword [0x7bb094], eax
mov ecx, esi
call fcn.00516640
mov ecx, dword [0x7bb094]
lea ecx, [ecx + 0xd0]
call fcn.00516630
mov edx, dword [0x7bb094]
cmp dword [ebp - 0x18], 0x10
mov eax, dword [edx]
mov ecx, dword [eax + 0x48]
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
push str.Invalid_extracted_answer_from_remote___s_
push edx
call ecx
mov ecx, dword [0x7bb094]
add esp, 0xc
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [0x7bb094]
lea ecx, [ecx + 0xd0]
call fcn.00516640
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 4], 0x29
call fcn.00493480
mov ecx, eax
test ecx, ecx
je 0x4d7190
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x50], eax
push 0x81
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x2a
call fcn.004989a0
mov esi, dword [ebp - 0x68]
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0x2b
push eax
push ecx
mov ecx, esi
call fcn.004ddcb0
mov edx, dword [ebp - 0x50]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x2c
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4d6ea7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esi + 0x2c], 3
mov byte [ebp - 4], 0x2d
call fcn.00493480
mov ecx, eax
test ecx, ecx
je 0x4d719a
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x50], eax
push 0x81
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x2e
call fcn.004989a0
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0x2f
push eax
mov ecx, esi
call fcn.004dcad0
mov eax, dword [ebp - 0x50]
lea edx, [eax - 0x10]
mov byte [ebp - 4], 0x30
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x4d62c1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4d62c1
call fcn.00516890
mov esi, eax
mov ecx, esi
call fcn.00516630
cmp byte [0x7b89cc], 0
jne 0x4d6f74
mov ecx, 0xf0
call fcn.00516ef0
mov dword [ebp - 0x60], eax
mov byte [ebp - 4], 0x1f
test eax, eax
je 0x4d6f69
movsd xmm0, qword [ebp - 0x78]
sub esp, 8
mov ecx, eax
movsd qword [esp], xmm0
push 0x7b89cc
sub esp, 0xc
push 0x264
push str.C:GitLab_Runner_buildsTzUW5DUw0windowswindows_agentRemoteInstallerInstallerUI_agent_install_action.cpp
push 0x20
call fcn.00516700
jmp 0x4d6f6b
xor eax, eax
mov byte [ebp - 4], 1
mov dword [0x7bb1b4], eax
mov ecx, esi
call fcn.00516640
mov ecx, dword [0x7bb1b4]
lea ecx, [ecx + 0xd0]
call fcn.00516630
mov edx, dword [0x7bb1b4]
cmp dword [ebp - 0x18], 0x10
mov eax, dword [edx]
mov ecx, dword [eax + 0x48]
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
push str.Logic_error__unexpected_behaviour_with___s_
push edx
call ecx
mov ecx, dword [0x7bb1b4]
add esp, 0xc
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [0x7bb1b4]
lea ecx, [ecx + 0xd0]
call fcn.00516640
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 4], 0x20
call fcn.00493480
mov ecx, eax
test ecx, ecx
je 0x4d71a4
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x50], eax
push 0x81
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x21
call fcn.004989a0
mov esi, dword [ebp - 0x68]
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0x22
push eax
push ecx
mov ecx, esi
call fcn.004dda90
mov edx, dword [ebp - 0x50]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x23
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4d703e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esi + 0x2c], 3
mov byte [ebp - 4], 0x24
call fcn.00493480
mov ecx, eax
test ecx, ecx
je 0x4d71ae
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x50], eax
push 0x81
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x25
call fcn.004989a0
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0x26
push eax
mov ecx, esi
call fcn.004dcad0
mov eax, dword [ebp - 0x50]
lea edx, [eax - 0x10]
mov byte [ebp - 4], 0x27
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x4d62c1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4d62c1
push 0x80004005
call fcn.00490960
call fcn.006509c6
call fcn.0067a867
call fcn.0067a867
call fcn.0067a867
push 0x80004005
call fcn.00490960
push 0x80004005
call fcn.00490960
call fcn.004b6ec0
push 0x80004005
call fcn.00490960
push 0x80004005
call fcn.00490960
push 0x80004005
call fcn.00490960
push 0x80004005
call fcn.00490960
int3