Function at 0x412a10
Capabilities:
Send data
Send data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48a392
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x4bd008]
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 ebx, ecx
mov dword [ebp - 0xe4], ebx
push 6
push str.unauth
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0xf
mov byte [ebp - 0xa8], 0
call fcn.00403320
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xd8]
push 0xe8
push str.x3ax00x00x00xa7x41x00x00x00x00x00x00xd4x07x00x00x00x00x00x00x61x64x6dx69x6ex2ex24x63x6dx64x00x00x00x00x00xffxffxffxffx13x00x00x00x10x69x73x6dx61x73x74x65x72x00x01x00x00x00x00
mov dword [ebp - 0x90], 0x1f4
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0xf
mov byte [ebp - 0xd8], 0
call fcn.00403320
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xc0]
push 0x120
push str.x48x00x00x00x02x00x00x00x00x00x00x00xd4x07x00x00x00x00x00x00x61x64x6dx69x6ex2ex24x63x6dx64x00x00x00x00x00x01x00x00x00x21x00x00x00x02x67x65x74x4cx6fx67x00x10x00x00x00x73x74x61x72x74x75x70x57x61x72x6ex69x6ex67x73x00x00
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 0xf
mov byte [ebp - 0xc0], 0
call fcn.00403320
push 0x64
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.0044a330
add esp, 0xc
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
mov byte [ebp - 4], 3
call fcn.0043a6b0
test eax, eax
jne 0x412f2a
push eax
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, dword [sym.imp.WS2_32.dll_setsockopt]
mov edi, eax
push 4
lea eax, [ebp - 0x90]
mov dword [ebp - 0xdc], edi
push eax
push 0x1006
push 0xffff
push edi
call esi
push 4
lea eax, [ebp - 0x90]
push eax
push 0x1005
push 0xffff
push edi
call esi
cmp edi, 0xffffffff
je 0x412f30
sub esp, 0x18
lea esi, [ebx + 0x58]
mov ecx, esp
push esi
call fcn.00403180
push dword [ebx + 0x70]
lea eax, [ebp - 0xdc]
push eax
call fcn.0043a6f0
test eax, eax
jne 0x412f2a
lea edx, [ebp - 0xd8]
lea ecx, [ebp - 0xfc]
call fcn.004429c0
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x412bad
mov eax, dword [eax]
mov edi, dword [ebp - 0xdc]
push 0
push ecx
push eax
push edi
call dword [sym.imp.WS2_32.dll_send]
mov edx, dword [ebp - 0xe8]
xor ebx, ebx
cmp eax, 0xffffffff
setne bl
dec ebx
cmp edx, 0x10
jb 0x412c01
mov ecx, dword [ebp - 0xfc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x412bf7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412f5c
push edx
push ecx
call fcn.004449d2
add esp, 8
test ebx, ebx
jne 0x412f30
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x32
call edi
lea eax, [ebp - 0xe0]
push eax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0xdc]
push eax
call fcn.0043a7d0
test eax, eax
jne 0x412f2a
mov ebx, dword [ebp - 0x78]
lea ecx, [ebp - 0x8c]
mov edx, dword [ebp - 0x7c]
cmp ebx, 0x10
push 8
cmovae ecx, dword [ebp - 0x8c]
push str.ismaster
push ecx
call fcn.00409ed0
add esp, 0xc
cmp eax, 0xffffffff
je 0x412f2a
cmp ebx, 0x10
mov dword [ebp - 0x7c], 0
lea eax, [ebp - 0x8c]
cmovae eax, dword [ebp - 0x8c]
lea edx, [ebp - 0xc0]
lea ecx, [ebp - 0xfc]
mov byte [eax], 0
call fcn.004429c0
push eax
lea eax, [ebp - 0xdc]
push eax
call fcn.0043a7a0
mov edx, dword [ebp - 0xe8]
test eax, eax
sete bl
cmp edx, 0x10
jb 0x412cdb
mov ecx, dword [ebp - 0xfc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x412cd1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412f61
push edx
push ecx
call fcn.004449d2
add esp, 8
test bl, bl
je 0x412f2a
push 0x32
call edi
lea eax, [ebp - 0xe0]
push eax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0xdc]
push eax
call fcn.0043a7d0
test eax, eax
jne 0x412f2a
cmp dword [ebp - 0x78], 0x10
lea ecx, [ebp - 0x8c]
mov edx, dword [ebp - 0x7c]
cmovae ecx, dword [ebp - 0x8c]
push 0x11
push str.totalLinesWritten
push ecx
call fcn.00409ed0
add esp, 0xc
cmp eax, 0xffffffff
je 0x412f2a
mov edi, dword [ebp - 0xe4]
lea ecx, [ebp - 0xa8]
cmp dword [ebp - 0x94], 0x10
lea eax, [edi + 0x40]
cmovae ecx, dword [ebp - 0xa8]
cmp dword [eax + 0x14], 0x10
jb 0x412d5b
mov eax, dword [eax]
cmp dword [esi + 0x14], 0x10
jb 0x412d63
mov esi, dword [esi]
push ecx
push eax
push esi
lea eax, [ebp - 0x74]
push str._s__s__s
push eax
call fcn.00401410
push 0x4c0f64
call fcn.0044684a
add esp, 0x18
test eax, eax
je 0x412d8e
push eax
call fcn.004463ca
add esp, 4
sub esp, 0x18
lea ecx, [ebp - 0x74]
mov edx, esp
mov dword [ebp - 0xe4], esp
lea esi, [ecx + 1]
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
mov byte [edx], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x412db0
sub ecx, esi
lea eax, [ebp - 0x74]
push ecx
push eax
mov ecx, edx
call fcn.00403320
mov byte [ebp - 4], 4
push dword [edi + 0x70]
push 1
push 1
sub esp, 0x18
mov ecx, esp
push 7
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push str.mongodb
mov byte [ecx], 0
call fcn.00403320
lea ecx, [ebp - 0x138]
mov byte [ebp - 4], 3
call fcn.00419430
push eax
mov byte [ebp - 4], 5
call fcn.00409b20
lea ecx, [ebp - 0x138]
mov byte [ebp - 4], 3
call fcn.00419570
push 0x4c0f64
call fcn.0044686f
add esp, 4
test eax, eax
je 0x412e34
push eax
call fcn.004463ca
add esp, 4
push dword [ebp - 0xdc]
call dword [sym.imp.WS2_32.dll_closesocket]
mov edx, dword [ebp - 0x78]
cmp edx, 0x10
jb 0x412e77
mov ecx, dword [ebp - 0x8c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x412e6d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412f66
push edx
push ecx
call fcn.004449d2
add esp, 8
mov edx, dword [ebp - 0xac]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
cmp edx, 0x10
jb 0x412ec6
mov ecx, dword [ebp - 0xc0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x412ebc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412f6b
push edx
push ecx
call fcn.004449d2
add esp, 8
mov edx, dword [ebp - 0xc4]
cmp edx, 0x10
jb 0x412efc
mov ecx, dword [ebp - 0xd8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x412ef2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412f70
push edx
push ecx
call fcn.004449d2
add esp, 8
mov edx, dword [ebp - 0x94]
cmp edx, 0x10
jb 0x412f40
mov ecx, dword [ebp - 0xa8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x412f36
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412f75
jmp 0x412f36
mov edi, dword [ebp - 0xdc]
push edi
jmp 0x412e3a
push edx
push ecx
call fcn.004449d2
add esp, 8
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.00444991
mov esp, ebp
pop ebp
ret
call fcn.0045abc1
call fcn.0045abc1
call fcn.0045abc1
call fcn.0045abc1
call fcn.0045abc1
call fcn.0045abc1
int3