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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42b581
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 0x404e87
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.0040a7f0
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 0x4046d0
sub edx, dword [ebp - 0x130]
sar edx, 1
push edx
call fcn.0040a7f0
lea ecx, [ebp - 0x144]
mov dword [ebp - 4], 0xffffffff
call fcn.0040ff40
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 0x404d00
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.00408370
mov eax, edi
mov byte [ebp - 4], 2
call fcn.004101b0
call fcn.00410240
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.00408370
mov eax, edi
mov byte [ebp - 4], 3
call fcn.004101b0
call fcn.00410240
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.00408370
mov eax, edi
mov byte [ebp - 4], 4
call fcn.004101b0
call fcn.00410240
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.00408370
mov eax, edi
mov byte [ebp - 4], 5
call fcn.004101b0
call fcn.00410240
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 0x404846
lea ebx, [ebp - 0xd4]
lea eax, [ebp - 0xf0]
push eax
call fcn.0040fee0
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 0x40488e
lea ebx, [ebp - 0x80]
lea ecx, [ebp - 0x9c]
push ecx
call fcn.0040fee0
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 0x4048d9
lea ebx, [ebp - 0x2c]
lea edx, [ebp - 0xb8]
push edx
call fcn.0040fee0
add esp, 4
lea eax, [ebp - 0x338]
push eax
call fcn.00406b30
lea ecx, [ebp - 0x10c]
push ecx
lea edx, [ebp - 0x328]
push edx
mov byte [ebp - 4], 9
call fcn.0040e720
add esp, 8
lea eax, [ebp - 0x130]
push eax
lea ecx, [ebp - 0x338]
push ecx
call fcn.00405a60
lea edx, [ebp - 0x290]
push edx
call fcn.00407260
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x130]
push eax
lea ecx, [ebp - 0x290]
push ecx
call fcn.004052b0
lea esi, [ebp - 0x64]
lea eax, [ebp - 0x290]
call fcn.00407340
mov byte [ebp - 4], 0xb
mov ebx, dword [ebp - 0xf0]
mov esi, 0x10
cmp dword [ebp - 0xdc], esi
jae 0x40496f
lea ebx, [ebp - 0xf0]
mov edi, str.filePath_
call fcn.00410060
mov ebx, dword [ebp - 0x9c]
cmp dword [ebp - 0x88], esi
jae 0x40498d
lea ebx, [ebp - 0x9c]
mov edi, str.parameter_
call fcn.00410060
mov ebx, dword [ebp - 0xb8]
cmp dword [ebp - 0xa4], esi
jae 0x4049ab
lea ebx, [ebp - 0xb8]
mov edi, str.authority_
call fcn.00410060
mov ebx, dword [ebp - 0x64]
cmp dword [ebp - 0x50], esi
jae 0x4049c0
lea ebx, [ebp - 0x64]
mov edi, str.callPid_
call fcn.00410060
mov ecx, dword [ebp - 0x80]
mov eax, 8
cmp dword [ebp - 0x6c], eax
jae 0x4049da
lea ecx, [ebp - 0x80]
cmp dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xd4]
jae 0x4049ee
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 0x404a12
mov ebx, str.not_Is_Admin
call fcn.00410060
mov eax, dword [ebp - 0x2c]
mov edi, 8
xor esi, esi
mov dword [ebp - 0x12c], 0
cmp dword [ebp - 0x18], edi
jae 0x404a33
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 0x404a53
mov esi, 1
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jae 0x404a5e
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 0x404ab5
test esi, esi
jne 0x404a91
lea edx, [ebp - 0x14c]
push edx
lea ecx, [ebp - 0x12c]
call fcn.004023d0
jmp 0x404ac0
cmp esi, 1
jne 0x404ab0
mov edx, dword [ebp - 0x130]
lea eax, [ebp - 0x14c]
push eax
lea ecx, [ebp - 0x12c]
call fcn.004020f0
jmp 0x404ac0
cmp esi, 2
jne 0x404ac0
lea esi, [ebp - 0x14c]
call fcn.00402360
lea ecx, [ebp - 0x1f8]
push ecx
call fcn.00407930
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x12c]
push edx
lea eax, [ebp - 0x1e8]
push eax
call fcn.004054a0
lea esi, [ebp - 0x128]
lea eax, [ebp - 0x1f8]
call fcn.004079d0
mov esi, 0x10
cmp dword [eax + 0x14], esi
jb 0x404b00
mov eax, dword [eax]
mov ebx, eax
mov edi, str.run_install_ok._install_ProcessId
call fcn.00410060
cmp dword [ebp - 0x114], esi
jb 0x404b23
mov ecx, dword [ebp - 0x128]
push ecx
call fcn.00412221
add esp, 4
lea esi, [ebp - 0x128]
lea eax, [ebp - 0x1f8]
call fcn.004079d0
mov ecx, eax
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 0xd
call fcn.0040e9d0
mov esi, 0x10
cmp dword [ebp - 0x114], esi
jb 0x404b5e
mov edx, dword [ebp - 0x128]
push edx
call fcn.00412221
add esp, 4
mov ecx, dword [ebp - 0x48]
cmp dword [ebp - 0x34], esi
jae 0x404b69
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 0x404b9a
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.00404ff0
cmp dword [ebp - 0x50], esi
jb 0x404bc8
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.00404f70
lea ecx, [ebp - 0x338]
mov byte [ebp - 4], 8
call fcn.00404ed0
cmp dword [ebp - 0xa4], esi
jb 0x404c06
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 0x404c2f
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 0x404c58
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 0x404c86
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 0x404cb1
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 0x404cce
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 0x404ec0
mov eax, dword [ebp - 0xd4]
push eax
call fcn.00412221
mov edi, dword [ebp - 0x144]
add esp, 4
jmp 0x404e38
mov ebx, str.cmpDatas_parameter_number_error_
mov edi, str.RecvSocketJob::WorkThread_:
call fcn.00410060
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 0x404e31
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.00408370
mov byte [ebp - 4], 0xf
cmp dword [ebp - 0x50], 8
mov esi, dword [ebp - 0x64]
jae 0x404d78
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 0x404db2
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 0x404dda
lea ebx, [ebp - 0x48]
mov edi, str.cmpDatas:
call fcn.00410060
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0x50], 8
jb 0x404dfa
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 0x404d42
cmp dword [ebp - 0x34], 0x10
jb 0x404ebb
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 0x404e7f
mov ebx, dword [ebp - 0x140]
cmp edi, ebx
je 0x404e76
cmp dword [edi + 0x14], esi
jb 0x404e56
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 0x404e46
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 0x404e96
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 0x404e38