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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42b4e1
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 0x404eb7
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, 0x42fb34
call fcn.0040a810
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 0x404700
sub edx, dword [ebp - 0x130]
sar edx, 1
push edx
call fcn.0040a810
lea ecx, [ebp - 0x144]
mov dword [ebp - 4], 0xffffffff
call fcn.0040ff50
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 0x404d30
push ebx
xor ecx, ecx
push edi
or eax, 0xffffffff
lea edi, [ebp - 0xd4]
mov dword [ebp - 0xc0], esi
mov dword [ebp - 0xc4], ebx
mov word [ebp - 0xd4], cx
call fcn.00408390
mov eax, edi
mov byte [ebp - 4], 2
call fcn.004101c0
call fcn.00410250
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.00408390
mov eax, edi
mov byte [ebp - 4], 3
call fcn.004101c0
call fcn.00410250
mov eax, dword [ebp - 0x144]
add eax, 0x38
push ebx
xor ecx, ecx
push eax
or eax, 0xffffffff
lea edi, [ebp - 0x2c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], cx
call fcn.00408390
mov eax, edi
mov byte [ebp - 4], 4
call fcn.004101c0
call fcn.00410250
mov eax, dword [ebp - 0x144]
add eax, 0x54
push ebx
xor edx, edx
push eax
or eax, 0xffffffff
lea edi, [ebp - 0x10c]
mov dword [ebp - 0xf8], esi
mov dword [ebp - 0xfc], ebx
mov word [ebp - 0x10c], dx
call fcn.00408390
mov eax, edi
mov byte [ebp - 4], 5
call fcn.004101c0
call fcn.00410250
push ebx
push 0x42fa3d
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0xdc], 0xf
mov dword [ebp - 0xe0], ebx
mov byte [ebp - 0xf0], bl
call fcn.004014a0
mov byte [ebp - 4], 6
cmp dword [ebp - 0xc0], 8
mov ebx, dword [ebp - 0xd4]
jae 0x404876
lea ebx, [ebp - 0xd4]
lea eax, [ebp - 0xf0]
push eax
call fcn.0040fef0
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 0x4048be
lea ebx, [ebp - 0x80]
lea ecx, [ebp - 0x9c]
push ecx
call fcn.0040fef0
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 - 0x2c]
cmp dword [ebp - 0x18], eax
jae 0x404909
lea ebx, [ebp - 0x2c]
lea edx, [ebp - 0xb8]
push edx
call fcn.0040fef0
add esp, 4
lea eax, [ebp - 0x338]
push eax
call fcn.00406b80
lea ecx, [ebp - 0x10c]
push ecx
lea edx, [ebp - 0x328]
push edx
mov byte [ebp - 4], 9
call fcn.0040e740
add esp, 8
lea eax, [ebp - 0x130]
push eax
lea ecx, [ebp - 0x338]
push ecx
call fcn.00405aa0
lea edx, [ebp - 0x290]
push edx
call fcn.004072b0
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x130]
push eax
lea ecx, [ebp - 0x290]
push ecx
call fcn.004052f0
lea esi, [ebp - 0x64]
lea eax, [ebp - 0x290]
call fcn.00407390
mov byte [ebp - 4], 0xb
mov ebx, dword [ebp - 0xf0]
mov esi, 0x10
cmp dword [ebp - 0xdc], esi
jae 0x40499f
lea ebx, [ebp - 0xf0]
mov edi, str.filePath_
call fcn.00410070
mov ebx, dword [ebp - 0x9c]
cmp dword [ebp - 0x88], esi
jae 0x4049bd
lea ebx, [ebp - 0x9c]
mov edi, str.parameter_
call fcn.00410070
mov ebx, dword [ebp - 0xb8]
cmp dword [ebp - 0xa4], esi
jae 0x4049db
lea ebx, [ebp - 0xb8]
mov edi, str.authority_
call fcn.00410070
mov ebx, dword [ebp - 0x64]
cmp dword [ebp - 0x50], esi
jae 0x4049f0
lea ebx, [ebp - 0x64]
mov edi, str.callPid_
call fcn.00410070
mov ecx, dword [ebp - 0x80]
mov eax, 8
cmp dword [ebp - 0x6c], eax
jae 0x404a0a
lea ecx, [ebp - 0x80]
cmp dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xd4]
jae 0x404a1e
lea eax, [ebp - 0xd4]
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 0x404a42
mov ebx, str.not_Is_Admin
call fcn.00410070
mov eax, dword [ebp - 0x2c]
mov edi, 8
xor esi, esi
mov dword [ebp - 0x12c], 0
cmp dword [ebp - 0x18], edi
jae 0x404a63
lea eax, [ebp - 0x2c]
push eax
call fcn.00412547
add esp, 4
push str.ADMIN
push eax
call fcn.004133b4
add esp, 8
test eax, eax
je 0x404a83
mov esi, 1
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jae 0x404a8e
lea eax, [ebp - 0x2c]
push eax
call fcn.00412547
add esp, 4
push str.USER
push eax
call fcn.004133b4
add esp, 8
test eax, eax
jne 0x404ae5
test esi, esi
jne 0x404ac1
lea edx, [ebp - 0x14c]
push edx
lea ecx, [ebp - 0x12c]
call fcn.004023d0
jmp 0x404af0
cmp esi, 1
jne 0x404ae0
mov edx, dword [ebp - 0x130]
lea eax, [ebp - 0x14c]
push eax
lea ecx, [ebp - 0x12c]
call fcn.004020f0
jmp 0x404af0
cmp esi, 2
jne 0x404af0
lea esi, [ebp - 0x14c]
call fcn.00402360
lea ecx, [ebp - 0x1f8]
push ecx
call fcn.00407980
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x12c]
push edx
lea eax, [ebp - 0x1e8]
push eax
call fcn.004054e0
lea esi, [ebp - 0x128]
lea eax, [ebp - 0x1f8]
call fcn.00407a20
mov esi, 0x10
cmp dword [eax + 0x14], esi
jb 0x404b30
mov eax, dword [eax]
mov ebx, eax
mov edi, str.run_install_ok._install_ProcessId
call fcn.00410070
cmp dword [ebp - 0x114], esi
jb 0x404b53
mov ecx, dword [ebp - 0x128]
push ecx
call fcn.00412221
add esp, 4
lea esi, [ebp - 0x128]
lea eax, [ebp - 0x1f8]
call fcn.00407a20
mov ecx, eax
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 0xd
call fcn.0040e9f0
mov esi, 0x10
cmp dword [ebp - 0x114], esi
jb 0x404b8e
mov edx, dword [ebp - 0x128]
push edx
call fcn.00412221
add esp, 4
mov ecx, dword [ebp - 0x48]
cmp dword [ebp - 0x34], esi
jae 0x404b99
lea ecx, [ebp - 0x48]
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 - 0x38]
xor ebx, ebx
push ebx
push edx
push ecx
push eax
call dword [sym.imp.WS2_32.dll_sendto]
cmp dword [ebp - 0x34], esi
jb 0x404bca
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.00412221
add esp, 4
mov edi, 0xf
lea ecx, [ebp - 0x1f8]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
mov byte [ebp - 4], 0xb
call fcn.00405030
cmp dword [ebp - 0x50], esi
jb 0x404bf8
mov edx, dword [ebp - 0x64]
push edx
call fcn.00412221
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.00404fb0
lea ecx, [ebp - 0x338]
mov byte [ebp - 4], 8
call fcn.00404f00
cmp dword [ebp - 0xa4], esi
jb 0x404c36
mov eax, dword [ebp - 0xb8]
push eax
call fcn.00412221
add esp, 4
mov dword [ebp - 0xa4], edi
mov dword [ebp - 0xa8], ebx
mov byte [ebp - 0xb8], bl
cmp dword [ebp - 0x88], esi
jb 0x404c5f
mov ecx, dword [ebp - 0x9c]
push ecx
call fcn.00412221
add esp, 4
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x8c], ebx
mov byte [ebp - 0x9c], bl
cmp dword [ebp - 0xdc], esi
jb 0x404c88
mov edx, dword [ebp - 0xf0]
push edx
call fcn.00412221
add esp, 4
mov esi, 8
mov dword [ebp - 0xdc], edi
mov dword [ebp - 0xe0], ebx
mov byte [ebp - 0xf0], bl
cmp dword [ebp - 0xf8], esi
jb 0x404cb6
mov eax, dword [ebp - 0x10c]
push eax
call fcn.00412221
add esp, 4
xor ecx, ecx
mov edi, 7
mov dword [ebp - 0xf8], edi
mov dword [ebp - 0xfc], ebx
mov word [ebp - 0x10c], cx
cmp dword [ebp - 0x18], esi
jb 0x404ce1
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00412221
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
cmp dword [ebp - 0x6c], esi
jb 0x404cfe
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.00412221
add esp, 4
xor edx, edx
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], dx
cmp dword [ebp - 0xc0], esi
jb 0x404ef0
mov eax, dword [ebp - 0xd4]
push eax
call fcn.00412221
mov edi, dword [ebp - 0x144]
add esp, 4
jmp 0x404e68
mov ebx, str.cmpDatas_parameter_number_error_
mov edi, str.RecvSocketJob::WorkThread_:
call fcn.00410070
xor eax, eax
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x48], 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 0x404e61
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.00408390
mov byte [ebp - 4], 0xf
cmp dword [ebp - 0x50], 8
mov esi, dword [ebp - 0x64]
jae 0x404da8
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.00410964
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 0x404de2
sub eax, edx
push eax
push edi
lea ecx, [ebp - 0x48]
call fcn.004014a0
push edi
call fcn.0041350a
mov ebx, dword [ebp - 0x48]
add esp, 4
cmp dword [ebp - 0x34], 0x10
jae 0x404e0a
lea ebx, [ebp - 0x48]
mov edi, str.cmpDatas:
call fcn.00410070
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0x50], 8
jb 0x404e2a
mov eax, dword [ebp - 0x64]
push eax
call fcn.00412221
add esp, 4
mov eax, dword [ebp - 0x12c]
add eax, 0x1c
mov dword [ebp - 0x12c], eax
cmp eax, dword [ebp - 0x130]
jne 0x404d72
cmp dword [ebp - 0x34], 0x10
jb 0x404eeb
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.00412221
mov edi, dword [ebp - 0x144]
add esp, 4
mov esi, 8
xor ebx, ebx
cmp edi, ebx
je 0x404eaf
mov ebx, dword [ebp - 0x140]
cmp edi, ebx
je 0x404ea6
cmp dword [edi + 0x14], esi
jb 0x404e86
mov edx, dword [edi]
push edx
call fcn.00412221
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 0x404e76
mov edi, dword [ebp - 0x144]
push edi
call fcn.00412221
add esp, 4
mov edi, dword [ebp - 0x134]
xor ebx, ebx
mov eax, dword [edi]
cmp eax, ebx
je 0x404ec6
push eax
call fcn.00412221
add esp, 4
push edi
call fcn.00412221
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.00411d2c
mov esp, ebp
pop ebp
ret
xor ebx, ebx
lea esi, [ebx + 8]
mov edi, dword [ebp - 0x144]
jmp 0x404e68