Function at 0x404710
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42b50e
mov eax, dword fs:[0]
push eax
sub esp, 0x32c
mov eax, dword [0x434674]
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
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x134], edi
cmp dword [edi], ebx
je 0x404f27
sub esp, 0x1c
mov ecx, esp
xor eax, eax
mov esi, 7
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
mov dword [ebp - 0x12c], esp
mov word [ecx], ax
push 1
mov eax, 0x42fafc
call fcn.0040a960
mov dword [ebp - 4], ebx
mov eax, dword [edi]
sub esp, 0x1c
mov ecx, esp
xor edx, edx
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
mov word [ecx], dx
mov edx, eax
lea edi, [edx + 2]
mov dword [ebp - 0x130], esp
mov dword [ebp - 0x130], edi
lea ecx, [ecx]
mov di, word [edx]
add edx, 2
cmp di, bx
jne 0x4047a0
sub edx, dword [ebp - 0x130]
sar edx, 1
push edx
call fcn.0040a960
lea ecx, [ebp - 0x144]
mov dword [ebp - 4], 0xffffffff
call fcn.004100c0
add esp, 0x38
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x140]
mov edi, dword [ebp - 0x144]
sub ecx, edi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 4
jne 0x404da0
push ebx
xor ecx, ecx
push edi
or eax, 0xffffffff
lea edi, [ebp - 0xf0]
mov dword [ebp - 0xdc], esi
mov dword [ebp - 0xe0], ebx
mov word [ebp - 0xf0], cx
call fcn.00408500
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x144]
add eax, 0x1c
push ebx
xor edx, edx
push eax
or eax, 0xffffffff
lea edi, [ebp - 0x80]
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], dx
call fcn.00408500
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x144]
add eax, 0x38
push ebx
xor ecx, ecx
push eax
or eax, 0xffffffff
lea edi, [ebp - 0x48]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], cx
call fcn.00408500
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x144]
add eax, 0x54
push ebx
xor edx, edx
push eax
or eax, 0xffffffff
lea edi, [ebp - 0x2c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
call fcn.00408500
mov byte [ebp - 4], 5
push ebx
push 0x42fa3d
lea ecx, [ebp - 0xd4]
mov dword [ebp - 0xc0], 0xf
mov dword [ebp - 0xc4], ebx
mov byte [ebp - 0xd4], bl
call fcn.004014a0
mov byte [ebp - 4], 6
cmp dword [ebp - 0xdc], 8
mov ebx, dword [ebp - 0xf0]
jae 0x4048da
lea ebx, [ebp - 0xf0]
lea eax, [ebp - 0xd4]
push eax
call fcn.00410060
xor eax, eax
add esp, 4
push eax
push 0x42fa3d
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x88], 0xf
mov dword [ebp - 0x8c], eax
mov byte [ebp - 0x9c], al
call fcn.004014a0
mov byte [ebp - 4], 7
cmp dword [ebp - 0x6c], 8
mov ebx, dword [ebp - 0x80]
jae 0x404922
lea ebx, [ebp - 0x80]
lea ecx, [ebp - 0x9c]
push ecx
call fcn.00410060
xor eax, eax
add esp, 4
push eax
push 0x42fa3d
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0xa4], 0xf
mov dword [ebp - 0xa8], eax
mov byte [ebp - 0xb8], al
call fcn.004014a0
mov eax, 8
mov byte [ebp - 4], al
mov ebx, dword [ebp - 0x48]
cmp dword [ebp - 0x34], eax
jae 0x40496d
lea ebx, [ebp - 0x48]
lea edx, [ebp - 0xb8]
push edx
call fcn.00410060
add esp, 4
lea eax, [ebp - 0x338]
push eax
call fcn.00406cf0
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x328]
push edx
mov byte [ebp - 4], 9
call fcn.0040e8b0
add esp, 8
lea eax, [ebp - 0x130]
push eax
lea ecx, [ebp - 0x338]
push ecx
call fcn.00405c20
lea edx, [ebp - 0x290]
push edx
call fcn.00407420
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x130]
push eax
lea ecx, [ebp - 0x290]
push ecx
call fcn.00405350
lea esi, [ebp - 0x64]
lea eax, [ebp - 0x290]
call fcn.00407500
mov byte [ebp - 4], 0xb
mov ebx, dword [ebp - 0xd4]
mov esi, 0x10
cmp dword [ebp - 0xc0], esi
jae 0x404a00
lea ebx, [ebp - 0xd4]
mov edi, str.filePath_
call fcn.004101e0
mov ebx, dword [ebp - 0x9c]
cmp dword [ebp - 0x88], esi
jae 0x404a1e
lea ebx, [ebp - 0x9c]
mov edi, str.parameter_
call fcn.004101e0
mov ebx, dword [ebp - 0xb8]
cmp dword [ebp - 0xa4], esi
jae 0x404a3c
lea ebx, [ebp - 0xb8]
mov edi, str.authority_
call fcn.004101e0
mov ebx, dword [ebp - 0x64]
cmp dword [ebp - 0x50], esi
jae 0x404a51
lea ebx, [ebp - 0x64]
mov edi, str.callPid_
call fcn.004101e0
mov ecx, dword [ebp - 0x80]
mov eax, 8
cmp dword [ebp - 0x6c], eax
jae 0x404a6b
lea ecx, [ebp - 0x80]
cmp dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xf0]
jae 0x404a7f
lea eax, [ebp - 0xf0]
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x148], ecx
call fcn.00401a70
mov edi, str.PackageInstall
mov ebx, str.IsAdmin
test eax, eax
jne 0x404aa3
mov ebx, str.not_Is_Admin
call fcn.004101e0
mov eax, dword [ebp - 0x48]
mov edi, 8
xor esi, esi
mov dword [ebp - 0x12c], 0
cmp dword [ebp - 0x34], edi
jae 0x404ac4
lea eax, [ebp - 0x48]
push eax
call fcn.00412597
add esp, 4
push str.ADMIN
push eax
call fcn.00413404
add esp, 8
test eax, eax
je 0x404ae4
mov esi, 1
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x34], edi
jae 0x404aef
lea eax, [ebp - 0x48]
push eax
call fcn.00412597
add esp, 4
push str.USER
push eax
call fcn.00413404
add esp, 8
test eax, eax
jne 0x404b46
test esi, esi
jne 0x404b22
lea edx, [ebp - 0x14c]
push edx
lea ecx, [ebp - 0x12c]
call fcn.004023d0
jmp 0x404b51
cmp esi, 1
jne 0x404b41
mov edx, dword [ebp - 0x130]
lea eax, [ebp - 0x14c]
push eax
lea ecx, [ebp - 0x12c]
call fcn.004020f0
jmp 0x404b51
cmp esi, 2
jne 0x404b51
lea esi, [ebp - 0x14c]
call fcn.00402360
lea ecx, [ebp - 0x1f8]
push ecx
call fcn.00407af0
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x12c]
push edx
lea eax, [ebp - 0x1e8]
push eax
call fcn.00405540
lea esi, [ebp - 0x128]
lea eax, [ebp - 0x1f8]
call fcn.00407b90
mov esi, 0x10
cmp dword [eax + 0x14], esi
jb 0x404b91
mov eax, dword [eax]
mov ebx, eax
mov edi, str.run_install_ok._install_ProcessId
call fcn.004101e0
cmp dword [ebp - 0x114], esi
jb 0x404bb4
mov ecx, dword [ebp - 0x128]
push ecx
call fcn.00412271
add esp, 4
lea esi, [ebp - 0x128]
lea eax, [ebp - 0x1f8]
call fcn.00407b90
mov ecx, eax
lea eax, [ebp - 0x10c]
mov byte [ebp - 4], 0xd
call fcn.0040eb60
mov esi, 0x10
cmp dword [ebp - 0x114], esi
jb 0x404bf2
mov edx, dword [ebp - 0x128]
push edx
call fcn.00412271
add esp, 4
mov ecx, dword [ebp - 0x10c]
cmp dword [ebp - 0xf8], esi
jae 0x404c06
lea ecx, [ebp - 0x10c]
mov eax, dword [ebp - 0x134]
mov eax, dword [eax + 4]
push esi
lea edx, [eax + 0x40]
mov eax, dword [eax + 0x3c]
push edx
mov edx, dword [ebp - 0xfc]
xor ebx, ebx
push ebx
push edx
push ecx
push eax
call dword [sym.imp.WS2_32.dll_sendto]
cmp dword [ebp - 0xf8], esi
jb 0x404c40
mov ecx, dword [ebp - 0x10c]
push ecx
call fcn.00412271
add esp, 4
mov edi, 0xf
lea ecx, [ebp - 0x1f8]
mov dword [ebp - 0xf8], edi
mov dword [ebp - 0xfc], ebx
mov byte [ebp - 0x10c], bl
mov byte [ebp - 4], 0xb
call fcn.00405090
cmp dword [ebp - 0x50], esi
jb 0x404c77
mov edx, dword [ebp - 0x64]
push edx
call fcn.00412271
add esp, 4
lea ecx, [ebp - 0x290]
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
mov byte [ebp - 4], 9
call fcn.00405010
lea ecx, [ebp - 0x338]
mov byte [ebp - 4], 8
call fcn.00404f70
cmp dword [ebp - 0xa4], esi
jb 0x404cb5
mov eax, dword [ebp - 0xb8]
push eax
call fcn.00412271
add esp, 4
mov dword [ebp - 0xa4], edi
mov dword [ebp - 0xa8], ebx
mov byte [ebp - 0xb8], bl
cmp dword [ebp - 0x88], esi
jb 0x404cde
mov ecx, dword [ebp - 0x9c]
push ecx
call fcn.00412271
add esp, 4
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x8c], ebx
mov byte [ebp - 0x9c], bl
cmp dword [ebp - 0xc0], esi
jb 0x404d07
mov edx, dword [ebp - 0xd4]
push edx
call fcn.00412271
add esp, 4
mov esi, 8
mov dword [ebp - 0xc0], edi
mov dword [ebp - 0xc4], ebx
mov byte [ebp - 0xd4], bl
cmp dword [ebp - 0x18], esi
jb 0x404d2f
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00412271
add esp, 4
xor ecx, ecx
mov edi, 7
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], cx
cmp dword [ebp - 0x34], esi
jb 0x404d51
mov edx, dword [ebp - 0x48]
push edx
call fcn.00412271
add esp, 4
xor eax, eax
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], ax
cmp dword [ebp - 0x6c], esi
jb 0x404d6e
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.00412271
add esp, 4
xor edx, edx
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], dx
cmp dword [ebp - 0xdc], esi
jb 0x404f60
mov eax, dword [ebp - 0xf0]
push eax
call fcn.00412271
mov edi, dword [ebp - 0x144]
add esp, 4
jmp 0x404ed8
mov ebx, str.cmpDatas_parameter_number_error_
mov edi, str.RecvSocketJob::WorkThread_:
call fcn.004101e0
xor eax, eax
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x2c], al
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x140]
mov edi, dword [ebp - 0x144]
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x12c], edi
cmp edi, eax
je 0x404ed1
mov edx, dword [ebp - 0x12c]
xor ecx, ecx
push ecx
push edx
or eax, 0xffffffff
lea edi, [ebp - 0x64]
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], 0
mov word [ebp - 0x64], cx
call fcn.00408500
mov byte [ebp - 4], 0xf
cmp dword [ebp - 0x50], 8
mov esi, dword [ebp - 0x64]
jae 0x404e18
mov esi, edi
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push esi
push 0
push 1
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebx, eax
push ebx
call fcn.004109a4
add esp, 4
push 0
push 0
push ebx
mov edi, eax
push edi
push 0xffffffffffffffff
push esi
push 0
push 1
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404e52
sub eax, edx
push eax
push edi
lea ecx, [ebp - 0x2c]
call fcn.004014a0
push edi
call fcn.0041355a
mov ebx, dword [ebp - 0x2c]
add esp, 4
cmp dword [ebp - 0x18], 0x10
jae 0x404e7a
lea ebx, [ebp - 0x2c]
mov edi, str.cmpDatas:
call fcn.004101e0
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0x50], 8
jb 0x404e9a
mov eax, dword [ebp - 0x64]
push eax
call fcn.00412271
add esp, 4
mov eax, dword [ebp - 0x12c]
add eax, 0x1c
mov dword [ebp - 0x12c], eax
cmp eax, dword [ebp - 0x130]
jne 0x404de2
cmp dword [ebp - 0x18], 0x10
jb 0x404f5b
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00412271
mov edi, dword [ebp - 0x144]
add esp, 4
mov esi, 8
xor ebx, ebx
cmp edi, ebx
je 0x404f1f
mov ebx, dword [ebp - 0x140]
cmp edi, ebx
je 0x404f16
cmp dword [edi + 0x14], esi
jb 0x404ef6
mov edx, dword [edi]
push edx
call fcn.00412271
add esp, 4
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
add edi, 0x1c
cmp edi, ebx
jne 0x404ee6
mov edi, dword [ebp - 0x144]
push edi
call fcn.00412271
add esp, 4
mov edi, dword [ebp - 0x134]
xor ebx, ebx
mov eax, dword [edi]
cmp eax, ebx
je 0x404f36
push eax
call fcn.00412271
add esp, 4
push edi
call fcn.00412271
add esp, 4
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.00411d6c
mov esp, ebp
pop ebp
ret
xor ebx, ebx
lea esi, [ebx + 8]
mov edi, dword [ebp - 0x144]
jmp 0x404ed8