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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52d115
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x5ba11c]
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 0x4906ef
cmp esi, 0x96
jge 0x490243
test esi, esi
jle 0x4900ee
mov ecx, dword [ebp - 0x98]
call fcn.004c5fc0
mov dword [ebp - 0x58], eax
cmp eax, 4
je 0x490005
add esi, 3
mov dword [ebp - 0x70], esi
mov byte [ebp - 4], 2
call fcn.0044d220
mov ecx, eax
test ecx, ecx
je 0x490f29
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.00452740
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.00453b60
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 0x490071
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 0x490f33
mov eax, dword [ecx]
push dword [ebp - 0x4c]
mov eax, dword [eax + 8]
call eax
test al, al
jne 0x4900e3
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x4900c5
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4900bb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x490f38
push edx
push ecx
call fcn.004eb418
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.004eabba
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 0x4902b3
call fcn.0044a970
mov dword [ebp - 0x58], eax
test eax, eax
jns 0x4902ad
call fcn.004d03a0
mov esi, eax
mov ecx, esi
call fcn.004d0140
cmp byte [0x5c216a], 0
jne 0x49017e
mov ecx, 0xf0
call fcn.004d0a00
mov dword [ebp - 0x4c], eax
mov byte [ebp - 4], 6
test eax, eax
je 0x490177
movsd xmm0, qword [ebp - 0x78]
sub esp, 8
mov ecx, eax
movsd qword [esp], xmm0
push 0x5c216a
sub esp, 0xc
push 0x243
push str.C:BuildAgentwork4d643bb3f4c71f96RemoteInstallerInstallerUI_agent_install_action.cpp
push 0x20
call fcn.004d0210
jmp 0x490179
xor eax, eax
mov dword [0x5c4840], eax
mov ecx, esi
call fcn.004d0150
mov ecx, dword [0x5c4840]
lea ecx, [ecx + 0xd0]
call fcn.004d0140
mov eax, dword [0x5c4840]
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.0044f340
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x58]
push dword [eax]
call fcn.004523d0
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 0x4901e7
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 [0x5c4840]
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 0x49021c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov ecx, dword [0x5c4840]
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [0x5c4840]
lea ecx, [ecx + 0xd0]
call fcn.004d0150
mov dword [ebp - 0x54], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x4c], eax
call fcn.004d03a0
mov esi, eax
mov ecx, esi
call fcn.004d0140
cmp byte [0x5c2100], 0
jne 0x490567
mov ecx, 0xf0
call fcn.004d0a00
mov dword [ebp - 0x60], eax
mov byte [ebp - 4], 0x11
test eax, eax
je 0x490560
movsd xmm0, qword [ebp - 0x78]
sub esp, 8
mov ecx, eax
movsd qword [esp], xmm0
push 0x5c2100
sub esp, 0xc
push 0x258
push str.C:BuildAgentwork4d643bb3f4c71f96RemoteInstallerInstallerUI_agent_install_action.cpp
push 0x20
call fcn.004d0210
jmp 0x490562
mov esi, dword [ebp - 0x94]
mov eax, dword [ebp - 0x90]
test esi, esi
jne 0x4902c5
test eax, eax
je 0x49054f
test eax, eax
jne 0x4902d1
cmp esi, 0x800
jbe 0x4902d6
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.00494fa0
mov eax, dword [ebp - 0x64]
mov byte [ebp - 4], 0xc
mov eax, dword [eax]
test eax, eax
jne 0x490315
sub esp, 8
mov edx, 0xda
mov ecx, str.ATL::CAtlFile::Seek
call fcn.0044d7e0
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 0x49033c
call fcn.0044a970
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 0x490407
call fcn.004d03a0
mov ecx, eax
mov dword [ebp - 0x58], eax
call fcn.004d0140
cmp byte [0x5c2110], 0
jne 0x4903ad
mov ecx, 0xf0
call fcn.004d0a00
mov dword [ebp - 0x60], eax
test eax, eax
je 0x4903a6
movsd xmm0, qword [ebp - 0x78]
sub esp, 8
mov ecx, eax
movsd qword [esp], xmm0
push 0x5c2110
sub esp, 0xc
push 9
push str.c:_buildagentwork4d643bb3f4c71f96_remoteinstallerinstallerui_redefine_atlassert.h
push 0x18
call fcn.004d0210
jmp 0x4903a8
xor eax, eax
mov dword [0x5c47f8], eax
mov ecx, dword [ebp - 0x58]
call fcn.004d0150
mov ecx, dword [0x5c47f8]
lea ecx, [ecx + 0xd0]
call fcn.004d0140
mov ecx, dword [0x5c47f8]
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 [0x5c47f8]
add esp, 0x14
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [0x5c47f8]
lea ecx, [ecx + 0xd0]
call fcn.004d0150
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 0x490430
call fcn.0044a970
jmp 0x490440
xor eax, eax
mov ecx, 0x80070026
cmp dword [ebp - 0x88], esi
cmovne eax, ecx
mov byte [ebp - 4], 0xb
test eax, eax
jns 0x49048c
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x84]
test ecx, ecx
je 0x490243
mov edx, dword [ebp - 0x7c]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x49047d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x490f3d
push edx
push ecx
call fcn.004eb418
add esp, 8
jmp 0x490243
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.004700c0
lea ecx, [ebp - 0x2c]
call fcn.0046dca0
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 0x4904f0
push eax
push 0x24
push esi
call fcn.004ef150
add esp, 0xc
test eax, eax
je 0x4904f0
sub eax, esi
jmp 0x4904f3
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 0x490552
mov edx, dword [ebp - 0x7c]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x49052d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x490f42
push edx
push ecx
call fcn.004eb418
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 0x48ffd0
xor eax, eax
mov dword [0x5c4790], eax
mov ecx, esi
call fcn.004d0150
mov ecx, dword [0x5c4790]
lea ecx, [ecx + 0xd0]
call fcn.004d0140
mov eax, dword [0x5c4790]
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.0044f250
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x58]
push dword [eax]
call fcn.004523d0
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 0x4905d0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x12
push dword [esi]
push dword [0x5c4790]
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 0x490600
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov ecx, dword [0x5c4790]
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [0x5c4790]
lea ecx, [ecx + 0xd0]
call fcn.004d0150
mov byte [ebp - 4], 0x16
call fcn.0044d220
mov ecx, eax
test ecx, ecx
je 0x490f47
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.00452740
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.00497640
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 0x490683
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.0044d220
mov ecx, eax
test ecx, ecx
je 0x490f51
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.00452740
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 0x1c
push eax
mov ecx, esi
call fcn.004968a0
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 0x490091
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x490091
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x49078d
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x5c]
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.00452450
mov byte [ebp - 4], 0xe
mov edx, dword [eax]
mov esi, dword [esi]
sub esi, 0x10
lea ecx, [edx - 0x10]
cmp ecx, esi
je 0x49076b
mov eax, dword [esi + 0xc]
shr eax, 0x1f
test al, al
jne 0x49075f
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x49075f
call fcn.00453880
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 0x490755
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 0x49076b
push dword [edx - 0xc]
mov ecx, dword [ebp - 0x50]
push edx
call fcn.00453a80
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 0x490789
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
call fcn.004d03a0
mov esi, eax
mov ecx, esi
call fcn.004d0140
cmp byte [0x5c217a], 0
jne 0x4907ee
mov ecx, 0xf0
call fcn.004d0a00
mov dword [ebp - 0x60], eax
mov byte [ebp - 4], 0x1e
test eax, eax
je 0x4907e3
movsd xmm0, qword [ebp - 0x78]
sub esp, 8
mov ecx, eax
movsd qword [esp], xmm0
push 0x5c217a
sub esp, 0xc
push 0x25f
push str.C:BuildAgentwork4d643bb3f4c71f96RemoteInstallerInstallerUI_agent_install_action.cpp
push 0x50
call fcn.004d0210
jmp 0x4907e5
xor eax, eax
mov byte [ebp - 4], 1
mov dword [0x5c4960], eax
mov ecx, esi
call fcn.004d0150
mov ecx, dword [0x5c4960]
lea ecx, [ecx + 0xd0]
call fcn.004d0140
mov edx, dword [0x5c4960]
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 [0x5c4960]
add esp, 0xc
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [0x5c4960]
lea ecx, [ecx + 0xd0]
call fcn.004d0150
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 0x490ce3
push esi
push 0x24
push eax
call fcn.004ef150
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x490ce3
sub ecx, dword [ebp - 0x4c]
cmp ecx, 0xffffffff
je 0x490ce3
cmp ecx, esi
ja 0x490897
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 0x4908df
mov eax, dword [ebp - 0x18]
mov edx, ecx
sub edx, esi
sub eax, esi
mov dword [ebp - 0x4c], edx
cmp edx, eax
ja 0x4908cc
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.004ed4d0
mov eax, dword [ebp - 0x4c]
add esp, 0xc
mov byte [esi + eax], 0
jmp 0x4908df
push 0
push edx
mov byte [ebp - 0x4c], 0
lea ecx, [ebp - 0x2c]
push dword [ebp - 0x4c]
push edx
call fcn.00498780
cmp dword [ebp - 0x18], 0x10
lea edx, [ebp - 0x2c]
mov esi, dword [ebp - 0x1c]
cmovae edx, dword [ebp - 0x2c]
test esi, esi
je 0x49096c
lea eax, [esi - 1]
mov ecx, edi
cmp eax, 0xffffffff
cmovb ecx, eax
add ecx, edx
cmp byte [ecx], 0x3a
je 0x49090d
cmp ecx, edx
je 0x49096c
dec ecx
cmp byte [ecx], 0x3a
jne 0x490903
sub ecx, edx
cmp ecx, 0xffffffff
je 0x49096c
lea edx, [ecx + 1]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
cmp esi, edx
jb 0x490f5b
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.004700c0
lea ecx, [ebp - 0x2c]
call fcn.0046dca0
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.00501e2a
mov edx, dword [ebp - 0x1c]
add esp, 0xc
mov esi, eax
mov dword [ebp - 0x5c], esi
test edx, edx
je 0x490b4c
mov ecx, dword [ebp - 0x8c]
test ecx, ecx
je 0x490b4c
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
add eax, edx
cmp ecx, eax
jne 0x490b4c
mov ecx, esi
call fcn.004c0c10
mov byte [ebp - 0x45], al
test al, al
jne 0x490b0c
call fcn.004d03a0
mov ecx, eax
mov dword [ebp - 0x4c], eax
call fcn.004d0140
cmp byte [0x5c2167], 0
jne 0x490a3a
mov ecx, 0xf0
call fcn.004d0a00
mov dword [ebp - 0x60], eax
mov byte [ebp - 4], 0x31
test eax, eax
je 0x490a2f
movsd xmm0, qword [ebp - 0x78]
sub esp, 8
mov ecx, eax
movsd qword [esp], xmm0
push 0x5c2167
sub esp, 0xc
push 0x27f
push str.C:BuildAgentwork4d643bb3f4c71f96RemoteInstallerInstallerUI_agent_install_action.cpp
push 0x20
call fcn.004d0210
jmp 0x490a31
xor eax, eax
mov byte [ebp - 4], 1
mov dword [0x5c48b0], eax
mov ecx, dword [ebp - 0x4c]
call fcn.004d0150
mov ecx, dword [0x5c48b0]
lea ecx, [ecx + 0xd0]
call fcn.004d0140
mov ecx, dword [0x5c48b0]
push esi
push str.Invalid_answer_code_from_remote___ld_
push ecx
mov eax, dword [ecx]
call dword [eax + 0x48]
mov ecx, dword [0x5c48b0]
add esp, 0xc
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [0x5c48b0]
lea ecx, [ecx + 0xd0]
call fcn.004d0150
push 0x81
lea ecx, [ebp - 0x4c]
call fcn.00454430
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.00497ca0
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 0x490ac3
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.00454430
push eax
mov ecx, esi
mov byte [ebp - 4], 0x34
call fcn.004968a0
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 0x490091
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x490091
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x4900c7
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x490b3a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x490f38
push edx
push ecx
call fcn.004eb418
mov al, byte [ebp - 0x45]
add esp, 8
jmp 0x4900c7
call fcn.004d03a0
mov esi, eax
mov ecx, esi
call fcn.004d0140
cmp byte [0x5c2105], 0
jne 0x490bad
mov ecx, 0xf0
call fcn.004d0a00
mov dword [ebp - 0x60], eax
mov byte [ebp - 4], 0x28
test eax, eax
je 0x490ba2
movsd xmm0, qword [ebp - 0x78]
sub esp, 8
mov ecx, eax
movsd qword [esp], xmm0
push 0x5c2105
sub esp, 0xc
push 0x275
push str.C:BuildAgentwork4d643bb3f4c71f96RemoteInstallerInstallerUI_agent_install_action.cpp
push 0x20
call fcn.004d0210
jmp 0x490ba4
xor eax, eax
mov byte [ebp - 4], 1
mov dword [0x5c47b8], eax
mov ecx, esi
call fcn.004d0150
mov ecx, dword [0x5c47b8]
lea ecx, [ecx + 0xd0]
call fcn.004d0140
mov edx, dword [0x5c47b8]
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 [0x5c47b8]
add esp, 0xc
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [0x5c47b8]
lea ecx, [ecx + 0xd0]
call fcn.004d0150
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.0044d220
mov ecx, eax
test ecx, ecx
je 0x490f60
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.00452740
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.00497a80
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 0x490c77
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.0044d220
mov ecx, eax
test ecx, ecx
je 0x490f6a
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.00452740
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0x2f
push eax
mov ecx, esi
call fcn.004968a0
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 0x490091
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x490091
call fcn.004d03a0
mov esi, eax
mov ecx, esi
call fcn.004d0140
cmp byte [0x5c2114], 0
jne 0x490d44
mov ecx, 0xf0
call fcn.004d0a00
mov dword [ebp - 0x60], eax
mov byte [ebp - 4], 0x1f
test eax, eax
je 0x490d39
movsd xmm0, qword [ebp - 0x78]
sub esp, 8
mov ecx, eax
movsd qword [esp], xmm0
push 0x5c2114
sub esp, 0xc
push 0x264
push str.C:BuildAgentwork4d643bb3f4c71f96RemoteInstallerInstallerUI_agent_install_action.cpp
push 0x20
call fcn.004d0210
jmp 0x490d3b
xor eax, eax
mov byte [ebp - 4], 1
mov dword [0x5c48d8], eax
mov ecx, esi
call fcn.004d0150
mov ecx, dword [0x5c48d8]
lea ecx, [ecx + 0xd0]
call fcn.004d0140
mov edx, dword [0x5c48d8]
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 [0x5c48d8]
add esp, 0xc
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [0x5c48d8]
lea ecx, [ecx + 0xd0]
call fcn.004d0150
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.0044d220
mov ecx, eax
test ecx, ecx
je 0x490f74
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.00452740
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.00497860
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 0x490e0e
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.0044d220
mov ecx, eax
test ecx, ecx
je 0x490f7e
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.00452740
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0x26
push eax
mov ecx, esi
call fcn.004968a0
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 0x490091
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x490091
push 0x80004005
call fcn.0044a700
call fcn.004d1af6
call fcn.004fafb1
call fcn.004fafb1
call fcn.004fafb1
push 0x80004005
call fcn.0044a700
push 0x80004005
call fcn.0044a700
call fcn.00470c80
push 0x80004005
call fcn.0044a700
push 0x80004005
call fcn.0044a700
push 0x80004005
call fcn.0044a700
push 0x80004005
call fcn.0044a700
int3