Function at 0x4b5820
Capabilities:
Get hostname
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64494f
mov eax, dword fs:[0]
push eax
sub esp, 0x304
mov eax, dword [0x6bc858]
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
xor eax, eax
push 0xffffffffffffffff
xor ebx, ebx
mov dword [ebp - 0x180], eax
mov dword [ebp - 0x17c], eax
mov dword [ebp - 0x178], eax
mov dword [ebp - 0x174], eax
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [ebp - 0x17c], eax
mov eax, 2
push 0x1c
mov word [ebp - 0x180], ax
call dword [sym.imp.WS2_32.dll_htons]
push 0xe0
lea ecx, [ebp - 0x2b0]
push ebx
push ecx
mov word [ebp - 0x17e], ax
call fcn.005ff630
add esp, 0xc
push str.wfdbrodcast
push 0x675fac
lea edx, [ebp - 0x2b0]
push 0x10
push edx
call fcn.005f6a30
push 0xff
lea eax, [ebp - 0x10f]
push ebx
push eax
mov byte [ebp - 0x110], bl
call fcn.005ff630
add esp, 0x1c
push 0x100
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.WS2_32.dll_gethostname]
lea edx, [ebp - 0x110]
push edx
push 0x675fac
lea eax, [ebp - 0x230]
push 0x40
push eax
call fcn.005f6a30
add esp, 0x10
lea ecx, [ebp - 0x1b0]
push ecx
call fcn.004c50e0
mov dword [ebp - 4], ebx
mov dword [ebp - 0x150], ebx
push 8
mov byte [ebp - 4], 1
call fcn.005f0fe0
add esp, 4
cmp eax, ebx
je 0x4b630c
mov dword [ebp - 0x150], eax
xor edx, edx
mov dword [eax + 4], edx
xor ecx, ecx
mov dword [eax], ecx
mov eax, dword [ebp - 0x150]
lea edx, [ebp - 0x150]
mov dword [eax], edx
mov dword [ebp - 0x138], 0xf
mov dword [ebp - 0x13c], ebx
mov byte [ebp - 0x14c], bl
mov esi, edx
mov byte [ebp - 4], 2
call fcn.004c4b60
push 0x11
push str.configconfig.ini
mov ecx, esi
call fcn.00412ae0
cmp dword [ebp - 0x138], 0x10
jb 0x4b5b81
mov esi, dword [ebp - 0x14c]
cmp esi, ebx
jne 0x4b59af
push 0x3a2
push str.C:Program_Files__x86_Microsoft_Visual_Studio_10.0VCincludexstring
push str.invalid_null_pointer
call fcn.00563e60
add esp, 0xc
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4b59b4
sub eax, edx
push eax
push esi
lea ecx, [ebp - 0x1b0]
call fcn.00412c10
lea ecx, [ebp - 0x1b0]
call fcn.004c5a30
push 0x6745b6
lea ecx, [ebp - 0x1b0]
push ecx
mov edx, str.AdapterName
mov ecx, str.Card
call fcn.004c6220
push eax
lea ecx, [ebp - 0x1d0]
call fcn.00412330
mov dword [ebp - 0x2d8], ebx
push 8
mov byte [ebp - 4], 4
call fcn.005f0fe0
add esp, 4
cmp eax, ebx
je 0x4b62d9
mov dword [ebp - 0x2d8], eax
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ebx
mov eax, dword [ebp - 0x2d8]
lea edx, [ebp - 0x2d8]
mov dword [eax], edx
mov byte [ebp - 4], 5
push 0xc
mov dword [ebp - 0x2d0], ebx
call fcn.005f0fe0
add esp, 4
cmp eax, ebx
je 0x4b62a6
mov dword [ebp - 0x2d4], eax
mov dword [eax], eax
mov eax, dword [ebp - 0x2d4]
mov dword [eax + 4], eax
lea ecx, [ebp - 0x2d8]
push ecx
mov byte [ebp - 4], 6
call fcn.004667d0
add esp, 4
lea edx, [ebp - 0x2e4]
push edx
lea eax, [ebp - 0x2d8]
push eax
call fcn.004c94d0
mov byte [ebp - 4], 7
lea ebx, [ebx]
lea ecx, [ebp - 0x304]
push ecx
lea edx, [ebp - 0x2d8]
push edx
call fcn.00434830
mov esi, eax
lea edi, [ebp - 0x2e4]
mov byte [ebp - 4], 9
call fcn.0042bd00
test al, al
push 3
lea ecx, [ebp - 0x2f4]
sete byte [ebp - 0x2b5]
mov byte [ebp - 4], 7
call fcn.00564140
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x304]
cmp eax, ebx
je 0x4b5b21
cmp dword [eax + 4], ebx
lea esi, [eax + 4]
je 0x4b5afc
mov eax, dword [esi]
lea ecx, [ebp - 0x304]
cmp eax, ecx
je 0x4b5af8
cmp dword [eax + 4], ebx
lea esi, [eax + 4]
jne 0x4b5ae4
cmp dword [esi], ebx
jne 0x4b5b13
push 0xb5
push 0x676220
push str.ITERATOR_LIST_CORRUPTED_
call fcn.00563e60
add esp, 0xc
mov edx, dword [ebp - 0x300]
mov dword [esi], edx
mov dword [ebp - 0x304], ebx
lea ecx, [ebp - 0x2f4]
mov byte [ebp - 4], 7
call fcn.00564180
cmp byte [ebp - 0x2b5], bl
je 0x4b5c69
lea esi, [ebp - 0x2e4]
call fcn.0042bc80
cmp dword [ebp - 0x1b8], 0x10
mov esi, dword [eax]
mov ecx, dword [ebp - 0x1cc]
jae 0x4b5b5e
lea ecx, [ebp - 0x1cc]
lea eax, [esi + 0x4c]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4b5b8c
cmp dl, bl
je 0x4b5b7d
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4b5b8c
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x4b5b61
xor eax, eax
jmp 0x4b5b91
lea esi, [ebp - 0x14c]
jmp 0x4b59af
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x4b5bc9
lea eax, [esi + 0x2d8]
push eax
push 0x675fac
lea ecx, [ebp - 0x2a0]
push 0x10
push ecx
call fcn.005f6a30
lea edx, [esi + 0xc]
push edx
push 0x675fac
lea eax, [ebp - 0x290]
push 0x20
push eax
call fcn.005f6a30
add esp, 0x20
cmp esi, ebx
je 0x4b5bd6
push esi
call fcn.005f0cb0
add esp, 4
lea ecx, [ebp - 0x2c8]
push ecx
lea ebx, [ebp - 0x2e4]
call fcn.0042bc10
push 3
lea ecx, [ebp - 0x2b4]
call fcn.00564140
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x2c8]
test eax, eax
je 0x4b5c53
cmp dword [eax + 4], 0
lea esi, [eax + 4]
je 0x4b5c2a
lea esp, [esp]
mov eax, dword [esi]
lea edx, [ebp - 0x2c8]
cmp eax, edx
je 0x4b5c25
cmp dword [eax + 4], 0
lea esi, [eax + 4]
jne 0x4b5c10
cmp dword [esi], 0
jne 0x4b5c41
push 0xb5
push 0x676220
push str.ITERATOR_LIST_CORRUPTED_
call fcn.00563e60
add esp, 0xc
mov eax, dword [ebp - 0x2c4]
mov dword [esi], eax
mov dword [ebp - 0x2c8], 0
lea ecx, [ebp - 0x2b4]
mov byte [ebp - 4], 7
call fcn.00564180
xor ebx, ebx
jmp 0x4b5a90
push 3
lea ecx, [ebp - 0x2b4]
mov byte [ebp - 4], 6
call fcn.00564140
mov byte [ebp - 4], 0xb
mov esi, dword [ebp - 0x2e4]
cmp esi, ebx
je 0x4b5ccd
add esi, 4
cmp dword [esi], ebx
je 0x4b5ca8
nop
mov eax, dword [esi]
lea ecx, [ebp - 0x2e4]
cmp eax, ecx
je 0x4b5ca4
cmp dword [eax + 4], ebx
lea esi, [eax + 4]
jne 0x4b5c90
cmp dword [esi], ebx
jne 0x4b5cbf
push 0xb5
push 0x676220
push str.ITERATOR_LIST_CORRUPTED_
call fcn.00563e60
add esp, 0xc
mov edx, dword [ebp - 0x2e0]
mov dword [esi], edx
mov dword [ebp - 0x2e4], ebx
lea ecx, [ebp - 0x2b4]
mov byte [ebp - 4], 6
call fcn.00564180
mov dword [ebp - 0x130], ebx
push 8
mov byte [ebp - 4], 0xc
call fcn.005f0fe0
add esp, 4
cmp eax, ebx
je 0x4b6273
mov dword [ebp - 0x130], eax
mov dword [eax + 4], ebx
xor ecx, ecx
mov dword [eax], ecx
mov ecx, dword [ebp - 0x130]
lea eax, [ebp - 0x130]
mov dword [ecx], eax
mov dword [ebp - 0x118], 0xf
mov dword [ebp - 0x11c], ebx
mov byte [ebp - 0x12c], bl
mov esi, eax
mov byte [ebp - 4], 0xd
call fcn.004c4b60
push 0xd
push str.config_ad.ini
mov ecx, esi
call fcn.00412ae0
mov edi, 0x10
cmp dword [ebp - 0x118], edi
jb 0x4b6231
mov esi, dword [ebp - 0x12c]
cmp esi, ebx
jne 0x4b5d74
push 0x3a2
push str.C:Program_Files__x86_Microsoft_Visual_Studio_10.0VCincludexstring
push str.invalid_null_pointer
call fcn.00563e60
add esp, 0xc
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4b5d80
sub eax, edx
push eax
push esi
lea ecx, [ebp - 0x1b0]
call fcn.00412c10
lea ecx, [ebp - 0x1b0]
call fcn.004c5a30
push 0x68aa64
lea edx, [ebp - 0x1b0]
push edx
mov edx, str.store_name
mov ecx, str.gateway
call fcn.004c6220
mov esi, eax
mov dword [ebp - 0x170], ebx
push 8
mov byte [ebp - 4], 0xe
call fcn.005f0fe0
add esp, 4
cmp eax, ebx
je 0x4b6240
mov dword [ebp - 0x170], eax
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ebx
mov ecx, dword [ebp - 0x170]
lea eax, [ebp - 0x170]
mov dword [ecx], eax
mov byte [ebp - 4], 0xf
mov dword [ebp - 0x158], 0xf
mov dword [ebp - 0x15c], ebx
mov byte [ebp - 0x16c], bl
cmp esi, ebx
jne 0x4b5e2a
push 0x3a2
push str.C:Program_Files__x86_Microsoft_Visual_Studio_10.0VCincludexstring
push str.invalid_null_pointer
call fcn.00563e60
add esp, 0xc
mov eax, esi
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4b5e30
sub eax, edx
push eax
push esi
lea ecx, [ebp - 0x170]
call fcn.00412c10
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x16c]
cmp dword [ebp - 0x158], edi
jae 0x4b5e5e
lea eax, [ebp - 0x16c]
push eax
push 0x675fac
lea edx, [ebp - 0x270]
push 0x40
push edx
call fcn.005f6a30
mov edx, dword [0x6c4ee4]
add esp, 0x10
push edi
lea eax, [ebp - 0x180]
push eax
mov eax, dword [edx]
push ebx
push 0xe0
lea ecx, [ebp - 0x2b0]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_sendto]
push eax
push str.send_to_BRODECAST__d__
push 0xb4
push str.MonitorPacketData.cpp
push 0x6c5bd8
mov edx, str.CMonitorPacketData::SendBrodcast
mov ecx, 0x258
call fcn.004ccb50
add esp, 0x14
cmp dword [ebp - 0x158], edi
jb 0x4b5ed7
mov ecx, dword [ebp - 0x16c]
push ecx
call fcn.005f0cb0
add esp, 4
mov esi, 0xf
mov dword [ebp - 0x158], esi
mov dword [ebp - 0x15c], ebx
mov byte [ebp - 0x16c], bl
mov byte [ebp - 4], 0x11
cmp dword [ebp - 0x170], ebx
je 0x4b5f38
push 3
lea ecx, [ebp - 0x2b4]
call fcn.00564140
mov eax, dword [ebp - 0x170]
cmp dword [eax + 4], ebx
je 0x4b5f24
mov edx, dword [eax + 4]
mov dword [edx], ebx
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
cmp edx, ebx
jne 0x4b5f12
mov eax, dword [ebp - 0x170]
lea ecx, [ebp - 0x2b4]
mov dword [eax + 4], ebx
call fcn.00564180
mov ecx, dword [ebp - 0x170]
push ecx
call fcn.005f0cb0
add esp, 4
mov dword [ebp - 0x170], ebx
cmp dword [ebp - 0x118], edi
jb 0x4b5f64
mov edx, dword [ebp - 0x12c]
push edx
call fcn.005f0cb0
add esp, 4
mov dword [ebp - 0x118], esi
mov dword [ebp - 0x11c], ebx
mov byte [ebp - 0x12c], bl
mov byte [ebp - 4], 0x12
cmp dword [ebp - 0x130], ebx
je 0x4b5fc6
push 3
lea ecx, [ebp - 0x2b4]
call fcn.00564140
mov eax, dword [ebp - 0x130]
cmp dword [eax + 4], ebx
je 0x4b5fb2
lea ebx, [ebx]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov edx, dword [eax + 4]
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
cmp ecx, ebx
jne 0x4b5fa0
mov edx, dword [ebp - 0x130]
lea ecx, [ebp - 0x2b4]
mov dword [edx + 4], ebx
call fcn.00564180
mov eax, dword [ebp - 0x130]
push eax
call fcn.005f0cb0
add esp, 4
lea ecx, [ebp - 0x2d8]
push ecx
mov dword [ebp - 0x130], ebx
mov byte [ebp - 4], 3
call fcn.004bc560
cmp dword [ebp - 0x1b8], edi
jb 0x4b6002
mov edx, dword [ebp - 0x1cc]
push edx
call fcn.005f0cb0
add esp, 4
mov dword [ebp - 0x1b8], esi
mov dword [ebp - 0x1bc], ebx
mov byte [ebp - 0x1cc], bl
mov byte [ebp - 4], 0x13
cmp dword [ebp - 0x1d0], ebx
je 0x4b605e
push 3
lea ecx, [ebp - 0x2b4]
call fcn.00564140
mov eax, dword [ebp - 0x1d0]
cmp dword [eax + 4], ebx
je 0x4b604a
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov edx, dword [eax + 4]
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
cmp ecx, ebx
jne 0x4b6038
mov edx, dword [ebp - 0x1d0]
lea ecx, [ebp - 0x2b4]
mov dword [edx + 4], ebx
call fcn.00564180
mov eax, dword [ebp - 0x1d0]
push eax
call fcn.005f0cb0
add esp, 4
mov dword [ebp - 0x1d0], ebx
cmp dword [ebp - 0x138], edi
jb 0x4b608a
mov ecx, dword [ebp - 0x14c]
push ecx
call fcn.005f0cb0
add esp, 4
mov dword [ebp - 0x138], esi
mov dword [ebp - 0x13c], ebx
mov byte [ebp - 0x14c], bl
mov byte [ebp - 4], 0x14
cmp dword [ebp - 0x150], ebx
je 0x4b60e6
push 3
lea ecx, [ebp - 0x2b4]
call fcn.00564140
mov eax, dword [ebp - 0x150]
cmp dword [eax + 4], ebx
je 0x4b60d2
mov edx, dword [eax + 4]
mov dword [edx], ebx
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
cmp edx, ebx
jne 0x4b60c0
mov eax, dword [ebp - 0x150]
lea ecx, [ebp - 0x2b4]
mov dword [eax + 4], ebx
call fcn.00564180
mov ecx, dword [ebp - 0x150]
push ecx
call fcn.005f0cb0
add esp, 4
mov dword [ebp - 0x150], ebx
lea edx, [ebp - 0x190]
mov dword [ebp - 4], 0x15
mov dword [ebp - 0x2bc], edx
mov eax, edx
push eax
mov byte [ebp - 4], 0x16
call fcn.004c9560
mov ecx, dword [ebp - 0x18c]
push ecx
call fcn.005f0cb0
add esp, 4
mov byte [ebp - 4], 0x17
cmp dword [ebp - 0x190], ebx
je 0x4b6176
push 3
lea ecx, [ebp - 0x2b4]
call fcn.00564140
mov eax, dword [ebp - 0x190]
cmp dword [eax + 4], ebx
je 0x4b6162
lea ecx, [ecx]
mov edx, dword [eax + 4]
mov dword [edx], ebx
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
cmp edx, ebx
jne 0x4b6150
mov eax, dword [ebp - 0x190]
lea ecx, [ebp - 0x2b4]
mov dword [eax + 4], ebx
call fcn.00564180
mov ecx, dword [ebp - 0x190]
push ecx
call fcn.005f0cb0
add esp, 4
mov dword [ebp - 0x190], ebx
cmp dword [ebp - 0x198], edi
jb 0x4b61a2
mov edx, dword [ebp - 0x1ac]
push edx
call fcn.005f0cb0
add esp, 4
mov dword [ebp - 0x198], esi
mov dword [ebp - 0x19c], ebx
mov byte [ebp - 0x1ac], bl
mov dword [ebp - 4], 0x18
cmp dword [ebp - 0x1b0], ebx
je 0x4b6206
push 3
lea ecx, [ebp - 0x2b4]
call fcn.00564140
mov eax, dword [ebp - 0x1b0]
cmp dword [eax + 4], ebx
je 0x4b61f2
jmp 0x4b61e0
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov edx, dword [eax + 4]
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
cmp ecx, ebx
jne 0x4b61e0
mov edx, dword [ebp - 0x1b0]
lea ecx, [ebp - 0x2b4]
mov dword [edx + 4], ebx
call fcn.00564180
mov eax, dword [ebp - 0x1b0]
push eax
call fcn.005f0cb0
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.005f0da0
mov esp, ebp
pop ebp
ret
lea esi, [ebp - 0x12c]
jmp 0x4b5d74
lea ecx, [ebp - 0x2b4]
push ecx
lea ecx, [ebp - 0x2c8]
mov dword [ebp - 0x2b4], ebx
call fcn.005f41f0
push 0x6a361c
lea edx, [ebp - 0x2c8]
push edx
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call fcn.006009e0
lea eax, [ebp - 0x2b4]
push eax
lea ecx, [ebp - 0x2c8]
mov dword [ebp - 0x2b4], ebx
call fcn.005f41f0
push 0x6a361c
lea ecx, [ebp - 0x2c8]
push ecx
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call fcn.006009e0
lea edx, [ebp - 0x2f8]
push edx
lea ecx, [ebp - 0x310]
mov dword [ebp - 0x2f8], ebx
call fcn.005f41f0
push 0x6a361c
lea eax, [ebp - 0x310]
push eax
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call fcn.006009e0
lea ecx, [ebp - 0x2bc]
push ecx
lea ecx, [ebp - 0x2f0]
mov dword [ebp - 0x2bc], ebx
call fcn.005f41f0
push 0x6a361c
lea edx, [ebp - 0x2f0]
push edx
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call fcn.006009e0
lea eax, [ebp - 0x2bc]
push eax
lea ecx, [ebp - 0x2f0]
mov dword [ebp - 0x2bc], ebx
call fcn.005f41f0
push 0x6a361c
lea ecx, [ebp - 0x2f0]
push ecx
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call fcn.006009e0
int3