Function at 0x441c70
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d6f52
mov eax, dword fs:[0]
push eax
sub esp, 0x1cc
mov eax, dword [0x53132c]
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
push 0x24
mov esi, ecx
mov ebx, 0xf
xor edi, edi
push str.CStubModule::doRetrieveInstallConfig
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x70], edi
mov byte [ebp - 0x80], 0
call fcn.00404270
push 0x1fc
push str.StubModule.cpp
lea eax, [ebp - 0x80]
push eax
push 0x53543c
lea ecx, [ebp - 0xac]
mov dword [ebp - 4], edi
call fcn.004119e0
cmp dword [ebp - 0x6c], 0x10
mov byte [ebp - 4], 2
jb 0x441cf7
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.00458691
add esp, 4
push 0x86
mov ecx, esi
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x70], edi
mov byte [ebp - 0x80], 0
call fcn.00441760
push 0xffffffffffffffff
push edi
lea eax, [esi + 0x1b4]
xor edx, edx
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], dx
call fcn.00408840
push 0x12
push str.install_config.xml
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.0040e4f0
cmp dword [esi + 0x248], edi
je 0x44210b
push 0x2710
mov ecx, 0x53543c
call fcn.0044af00
test al, al
je 0x441f5c
push 1
push 2
lea ecx, [ebp - 0x1d0]
call fcn.004030f0
mov eax, dword [esi + 0x248]
lea ecx, [ebp - 0x12c]
push 3
mov dword [ebp - 0x130], ecx
mov bl, 4
push eax
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], bl
call fcn.00409340
mov edx, dword [ebp - 0x130]
push edx
lea eax, [ebp - 0x1d0]
push str.Install_config_from_command_line__file:
push eax
mov byte [ebp - 4], 5
call fcn.00404c20
add esp, 8
push eax
call fcn.00404c20
mov eax, dword [ebp - 0x130]
lea ecx, [ebp - 0x12c]
add esp, 8
mov byte [ebp - 4], bl
cmp eax, ecx
je 0x441ddd
push eax
call fcn.004587c5
add esp, 4
lea edx, [ebp - 0x64]
push edx
lea ecx, [ebp - 0x1d0]
call fcn.004031f0
push 0x207
push str.StubModule.cpp
push eax
push 0x2710
mov ecx, 0x53543c
mov byte [ebp - 4], 6
call fcn.0044af10
cmp dword [ebp - 0x50], 0x10
jb 0x441e1c
mov eax, dword [ebp - 0x64]
push eax
call fcn.00458691
add esp, 4
mov edx, dword [ebp - 0x1d0]
mov eax, dword [edx + 4]
lea ecx, [ebp - 0x180]
mov dword [ebp - 0x1d8], ecx
mov dword [ebp + eax - method.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
test byte [ebp - 0x18c], 1
lea ecx, [ebp - 0x1cc]
mov dword [ebp - 0x134], ecx
mov dword [ebp - method.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
je 0x441e6c
mov edx, dword [ebp - 0x1bc]
mov eax, dword [edx]
push eax
call fcn.00458691
add esp, 4
mov eax, dword [ebp - 0x1bc]
mov dword [eax], edi
mov ecx, dword [ebp - 0x1ac]
mov dword [ecx], edi
mov edx, dword [ebp - 0x19c]
mov dword [edx], edi
mov eax, dword [ebp - 0x1b8]
mov dword [eax], edi
mov ecx, dword [ebp - 0x1a8]
mov dword [ecx], edi
mov edx, dword [ebp - 0x198]
mov dword [edx], edi
and dword [ebp - 0x18c], 0xfffffffe
mov dword [ebp - 0x190], edi
mov dword [ebp - method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x194]
mov byte [ebp - 4], 8
mov dword [ebp - 0x1d4], eax
cmp eax, edi
je 0x441f1c
mov ebx, dword [eax]
cmp ebx, edi
je 0x441f0d
push edi
lea ecx, [ebp - 0x138]
call fcn.0044752e
mov eax, dword [ebx + 4]
cmp eax, edi
jbe 0x441ee9
cmp eax, 0xffffffff
jae 0x441ee9
dec eax
mov dword [ebx + 4], eax
mov edi, dword [ebx + 4]
neg edi
sbb edi, edi
lea ecx, [ebp - 0x138]
not edi
call fcn.00447556
and edi, ebx
je 0x441f0b
mov eax, dword [edi]
mov edx, dword [eax]
push 1
mov ecx, edi
call edx
xor edi, edi
mov eax, dword [ebp - 0x1d4]
push eax
call fcn.00458691
add esp, 4
lea ecx, [ebp - 0x1c8]
mov byte [ebp - 4], 7
call fcn.00447beb
mov ecx, dword [ebp - 0x1d0]
mov edx, dword [ecx + 4]
lea eax, [ebp - 0x180]
mov dword [ebp + edx - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
push eax
mov byte [ebp - 4], 3
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.00447a81
add esp, 4
mov ecx, dword [esi + 0x248]
push ecx
lea ecx, [esi + 0xec]
call fcn.00418ff0
cmp eax, edi
jne 0x441f92
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x441f7e
lea eax, [ebp - 0x2c]
mov edx, dword [esi + 0x248]
push edi
push eax
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
jmp 0x442415
push 0x9c40
mov ecx, 0x53543c
call fcn.0044af00
test al, al
je 0x4420d0
push 1
push 2
lea ecx, [ebp - 0x1d0]
call fcn.004030f0
lea eax, [ebp - 0x1d0]
push str.Failed_to_read_install_config_file
push eax
mov byte [ebp - 4], 9
call fcn.00404c20
add esp, 8
lea ecx, [ebp - 0x64]
push ecx
lea ecx, [ebp - 0x1d0]
call fcn.004031f0
push 0x211
push str.StubModule.cpp
push eax
push 0x9c40
mov ecx, 0x53543c
mov byte [ebp - 4], 0xa
call fcn.0044af10
cmp dword [ebp - 0x50], 0x10
jb 0x44200f
mov edx, dword [ebp - 0x64]
push edx
call fcn.00458691
add esp, 4
mov ecx, dword [ebp - 0x1d0]
mov edx, dword [ecx + 4]
lea eax, [ebp - 0x180]
mov dword [ebp - 0x134], eax
mov dword [ebp + edx - method.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
test byte [ebp - 0x18c], 1
mov byte [ebp - 4], 0xb
mov dword [ebp - method.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
je 0x442057
mov eax, dword [ebp - 0x1bc]
mov eax, dword [eax]
push eax
call fcn.00458691
add esp, 4
mov ecx, dword [ebp - 0x1bc]
mov dword [ecx], edi
mov edx, dword [ebp - 0x1ac]
mov dword [edx], edi
mov eax, dword [ebp - 0x19c]
mov dword [eax], edi
mov ecx, dword [ebp - 0x1b8]
mov dword [ecx], edi
mov edx, dword [ebp - 0x1a8]
mov dword [edx], edi
mov eax, dword [ebp - 0x198]
mov dword [eax], edi
and dword [ebp - 0x18c], 0xfffffffe
lea ecx, [ebp - 0x1cc]
mov dword [ebp - 0x190], edi
call fcn.00402d90
mov ecx, dword [ebp - 0x1d0]
mov edx, dword [ecx + 4]
lea eax, [ebp - 0x180]
mov dword [ebp + edx - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
push eax
mov byte [ebp - 4], 3
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.00447a81
add esp, 4
cmp dword [ebp - 0x18], 8
jb 0x4420e2
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00458691
add esp, 4
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
xor edx, edx
mov word [ebp - 0x2c], dx
lea ecx, [ebp - 0xac]
mov dword [ebp - 4], 0xffffffff
call fcn.00411ac0
xor al, al
jmp 0x44244b
lea eax, [ebp - 0x48]
push eax
mov ecx, esi
call fcn.00440cf0
cmp dword [esi + 0xe4], 0x10
mov edi, dword [esi + 0xe0]
lea eax, [esi + 0xd0]
mov byte [ebp - 4], 0xc
jb 0x442131
mov eax, dword [eax]
mov edx, dword [ebp - 0x2c]
mov ecx, 8
cmp dword [ebp - 0x18], ecx
jae 0x442141
lea edx, [ebp - 0x2c]
cmp dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x48]
jae 0x44214c
lea ecx, [ebp - 0x48]
push edi
push eax
push edx
push ecx
mov ecx, dword [esi + 0x428]
call fcn.0040bfc0
mov edi, eax
xor ebx, ebx
cmp edi, ebx
je 0x4422f0
push 0x9c40
mov ecx, 0x53543c
call fcn.0044af00
test al, al
je 0x4422ad
push 1
push 2
lea ecx, [ebp - 0x1d0]
call fcn.004030f0
push edi
lea ecx, [ebp - 0x1d0]
push str.Failed_to_retrieve_install_config_file_from_server:
push ecx
mov byte [ebp - 4], 0xd
call fcn.00404c20
add esp, 8
mov ecx, eax
call fcn.00414820
lea edx, [ebp - 0x64]
push edx
lea ecx, [ebp - 0x1d0]
call fcn.004031f0
push 0x21f
push str.StubModule.cpp
push eax
push 0x9c40
mov ecx, 0x53543c
mov byte [ebp - 4], 0xe
call fcn.0044af10
cmp dword [ebp - 0x50], 0x10
jb 0x4421ec
mov eax, dword [ebp - 0x64]
push eax
call fcn.00458691
add esp, 4
mov edx, dword [ebp - 0x1d0]
mov eax, dword [edx + 4]
lea ecx, [ebp - 0x180]
mov dword [ebp - 0x134], ecx
mov dword [ebp + eax - method.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
test byte [ebp - 0x18c], 1
mov byte [ebp - 4], 0xf
mov dword [ebp - method.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
je 0x442234
mov ecx, dword [ebp - 0x1bc]
mov eax, dword [ecx]
push eax
call fcn.00458691
add esp, 4
mov edx, dword [ebp - 0x1bc]
mov dword [edx], ebx
mov eax, dword [ebp - 0x1ac]
mov dword [eax], ebx
mov ecx, dword [ebp - 0x19c]
mov dword [ecx], ebx
mov edx, dword [ebp - 0x1b8]
mov dword [edx], ebx
mov eax, dword [ebp - 0x1a8]
mov dword [eax], ebx
mov ecx, dword [ebp - 0x198]
mov dword [ecx], ebx
and dword [ebp - 0x18c], 0xfffffffe
lea ecx, [ebp - 0x1cc]
mov dword [ebp - 0x190], ebx
call fcn.00402d90
mov edx, dword [ebp - 0x1d0]
mov eax, dword [edx + 4]
lea ecx, [ebp - 0x180]
mov dword [ebp + eax - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
push ecx
mov byte [ebp - 4], 0xc
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.00447a81
add esp, 4
mov edi, 8
cmp dword [ebp - 0x34], edi
jb 0x4422c3
mov edx, dword [ebp - 0x48]
push edx
call fcn.00458691
add esp, 4
xor eax, eax
mov esi, 7
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], ax
cmp dword [ebp - 0x18], edi
jb 0x4422e5
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00458691
add esp, 4
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
jmp 0x4420ec
mov eax, dword [ebp - 0x2c]
mov edi, 8
cmp dword [ebp - 0x18], edi
jae 0x442300
lea eax, [ebp - 0x2c]
push eax
lea ecx, [esi + 0xec]
call fcn.00418ff0
cmp eax, ebx
je 0x4423f2
push 0x9c40
mov ecx, 0x53543c
call fcn.0044af00
test al, al
je 0x4423ae
push 1
push 2
lea ecx, [ebp - 0x1d0]
call fcn.004030f0
lea eax, [ebp - 0x1d0]
push 0x4e9d5c
push eax
mov byte [ebp - 4], 0x10
call fcn.00404c20
add esp, 8
lea ecx, [ebp - 0x64]
push ecx
lea ecx, [ebp - 0x1d0]
call fcn.004031f0
push 0x226
push str.StubModule.cpp
push eax
push 0x9c40
mov ecx, 0x53543c
mov byte [ebp - 4], 0x11
call fcn.0044af10
cmp dword [ebp - 0x50], 0x10
jb 0x442391
mov edx, dword [ebp - 0x64]
push edx
call fcn.00458691
add esp, 4
lea ecx, [ebp - 0x1d0]
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], 0
mov byte [ebp - 4], 0xc
call fcn.00401b70
cmp dword [ebp - 0x34], edi
jb 0x4423bf
mov eax, dword [ebp - 0x48]
push eax
call fcn.00458691
add esp, 4
xor ecx, ecx
mov esi, 7
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], cx
cmp dword [ebp - 0x18], edi
jb 0x4423e1
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00458691
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
jmp 0x4420f2
cmp dword [ebp - 0x34], edi
jb 0x442403
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.00458691
add esp, 4
xor edx, edx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], dx
xor edi, edi
cmp dword [ebp - 0x18], 8
jb 0x442427
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00458691
add esp, 4
xor ecx, ecx
mov word [ebp - 0x2c], cx
lea ecx, [ebp - 0xac]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
mov dword [ebp - 4], 0xffffffff
call fcn.00411ac0
mov al, 1
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.004587b6
mov esp, ebp
pop ebp
ret