Function at 0x4b4f50
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x644a7c
mov eax, dword fs:[0]
push eax
sub esp, 0x398
mov eax, dword [0x6bc858]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
test esi, esi
je 0x4b5255
cmp dword [ebp + 8], 0xe0
jb 0x4b5255
push str.recv__BRODECAST___
push 0x60
mov ecx, 0x38
lea edi, [ebp - 0x334]
rep movsd dword es:[edi], dword [esi]
push str.MonitorPacketData.cpp
push 0x6c5bd8
mov edx, str.CMonitorPacketData::HandleBrodcast
mov ecx, 0x258
call fcn.004ccb50
push 0xff
lea eax, [ebp - 0x113]
push 0
push eax
mov byte [ebp - 0x114], 0
call fcn.005ff630
add esp, 0x1c
push 0x100
lea ecx, [ebp - 0x114]
push ecx
call dword [sym.imp.WS2_32.dll_gethostname]
lea ecx, [ebp - 0x114]
lea eax, [ebp - 0x2b4]
lea ecx, [ecx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4b5020
test dl, dl
je 0x4b501c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4b5020
add eax, 2
add ecx, 2
test dl, dl
jne 0x4b5000
xor eax, eax
jmp 0x4b5025
sbb eax, eax
sbb eax, 0xffffffff
mov edx, str.CMonitorPacketData::HandleBrodcast
mov ecx, 0x258
test eax, eax
jne 0x4b5051
push str.recv__BRODECAST____myself_
push 0x66
push str.MonitorPacketData.cpp
push 0x6c5bd8
call fcn.004ccb50
add esp, 0x10
jmp 0x4b5255
push str.recv__BRODECAST____other__
push 0x6a
push str.MonitorPacketData.cpp
push 0x6c5bd8
call fcn.004ccb50
add esp, 0x10
lea esi, [ebp - 0x154]
call fcn.004d3af0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x13c], 0x10
mov eax, dword [ebp - 0x150]
jae 0x4b5091
lea eax, [ebp - 0x150]
push eax
push 0x675fac
lea edx, [ebp - 0x274]
push 0x20
push edx
call fcn.005f6a30
add esp, 0x10
lea eax, [ebp - 0x2b4]
push eax
lea ecx, [ebp - 0x134]
call fcn.00412330
lea ecx, [ebp - 0x348]
push ecx
lea ecx, [ebp - 0x134]
mov byte [ebp - 4], 1
call fcn.004b8bb0
lea ecx, [ebp - 0x134]
mov byte [ebp - 4], 3
call fcn.00412410
lea esi, [ebp - 0x378]
call fcn.00465d30
mov esi, eax
lea edi, [ebp - 0x348]
mov byte [ebp - 4], 4
call fcn.00465d50
test al, al
push 3
lea ecx, [ebp - 0x338]
sete bl
mov byte [ebp - 4], 3
call fcn.00564140
lea ecx, [ebp - 0x378]
mov byte [ebp - 4], 5
call fcn.00413660
lea ecx, [ebp - 0x338]
mov byte [ebp - 4], 3
call fcn.00564180
test bl, bl
je 0x4b516e
cmp dword [ebp - 0x13c], 0x10
mov eax, dword [ebp - 0x150]
jae 0x4b5148
lea eax, [ebp - 0x150]
push eax
push 0x675fac
push 0x20
lea esi, [ebp - 0x348]
call fcn.00465dd0
add eax, 0xe0
push eax
call fcn.005f6a30
add esp, 0x10
jmp 0x4b5214
lea edx, [ebp - 0x2b4]
push edx
lea ecx, [ebp - 0x254]
call fcn.00412330
mov ecx, 0x38
lea esi, [ebp - 0x334]
lea edi, [ebp - 0x234]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x254]
lea esi, [ebp - 0x37c]
mov byte [ebp - 4], 6
call fcn.004b9780
mov eax, esi
push eax
call fcn.004408a0
cmp dword [ebp - 0x23c], 0x10
jb 0x4b51c8
mov ecx, dword [ebp - 0x250]
push ecx
call fcn.005f0cb0
add esp, 4
xor esi, esi
mov dword [ebp - 0x23c], 0xf
mov dword [ebp - 0x240], esi
mov byte [ebp - 0x250], 0
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 7
call fcn.0040ed70
mov edx, dword [ebp - 0x254]
push edx
call fcn.005f0cb0
add esp, 4
lea ecx, [ebp - 0x254]
mov dword [ebp - 0x254], esi
mov byte [ebp - 4], 3
call fcn.0040ed70
push 3
lea ecx, [ebp - 0x338]
mov byte [ebp - 4], 0
call fcn.00564140
lea ecx, [ebp - 0x348]
mov byte [ebp - 4], 8
call fcn.00413660
lea ecx, [ebp - 0x338]
mov byte [ebp - 4], 0
call fcn.00564180
lea ecx, [ebp - 0x154]
mov dword [ebp - 4], 0xffffffff
call fcn.00412410
lea esi, [ebp - 0x354]
call fcn.00465d10
mov dword [ebp - 4], 9
jmp 0x4b5270
lea esi, [ebp - 0x3a0]
call fcn.00465d30
mov esi, eax
lea edi, [ebp - 0x354]
mov byte [ebp - 4], 0xa
call fcn.00465d50
test al, al
push 3
lea ecx, [ebp - 0x338]
sete bl
mov byte [ebp - 4], 9
call fcn.00564140
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x3a0]
test eax, eax
je 0x4b5303
cmp dword [eax + 4], 0
lea esi, [eax + 4]
je 0x4b52da
lea esp, [esp]
mov eax, dword [esi]
lea ecx, [ebp - 0x3a0]
cmp eax, ecx
je 0x4b52d5
cmp dword [eax + 4], 0
lea esi, [eax + 4]
jne 0x4b52c0
cmp dword [esi], 0
jne 0x4b52f1
push 0xb5
push 0x676220
push str.ITERATOR_LIST_CORRUPTED_
call fcn.00563e60
add esp, 0xc
mov edx, dword [ebp - 0x39c]
mov dword [esi], edx
mov dword [ebp - 0x3a0], 0
lea ecx, [ebp - 0x338]
mov byte [ebp - 4], 9
call fcn.00564180
test bl, bl
je 0x4b57cc
mov eax, dword [ebp - 0x354]
xor edi, edi
cmp eax, edi
je 0x4b533b
mov eax, dword [eax]
cmp eax, edi
je 0x4b533b
mov esi, dword [ebp - 0x34c]
cmp esi, edi
je 0x4b533b
cmp esi, dword [eax + 8]
jne 0x4b5395
push 0xec
push str.C:Program_Files__x86_Microsoft_Visual_Studio_10.0VCincludextree
push str.map_set_iterator_not_dereferencable
call fcn.00563e60
add esp, 0xc
push str._Standard_C_Libraries_Out_of_Range___0
push edi
push 0xed
push str.C:Program_Files__x86_Microsoft_Visual_Studio_10.0VCincludextree
push 2
call fcn.005f3d20
add esp, 0x14
cmp eax, 1
jne 0x4b5372
int3
push edi
push 0xed
push str.C:Program_Files__x86_Microsoft_Visual_Studio_10.0VCincludextree
push 0x684b38
push str._out_of_range_
call fcn.005f5140
mov esi, dword [ebp - 0x34c]
add esp, 0x14
add esi, 0xec
mov dword [ebp - 0x134], edi
push 8
mov byte [ebp - 4], 0xc
call fcn.005f0fe0
add esp, 4
cmp eax, edi
je 0x4b5799
mov dword [ebp - 0x134], eax
xor ecx, ecx
xor edx, edx
mov dword [eax], ecx
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x134]
lea eax, [ebp - 0x134]
mov dword [ecx], eax
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x11c], 0xf
mov dword [ebp - 0x120], edi
mov byte [ebp - 0x130], dl
cmp esi, edi
jne 0x4b5409
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 edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4b5410
sub eax, edx
push eax
push esi
lea ecx, [ebp - 0x134]
call fcn.00412c10
lea esi, [ebp - 0x154]
mov byte [ebp - 4], 0xe
call fcn.004d3af0
mov esi, eax
cmp dword [ebp - 0x120], edi
je 0x4b5472
cmp dword [esi + 0x14], edi
je 0x4b5472
lea edx, [ebp - 0x134]
push edx
call fcn.004d3c60
add esp, 4
push esi
mov edi, eax
mov ebx, edx
call fcn.004d3c60
add esp, 4
push edx
push eax
push ebx
push edi
call fcn.005fecd0
fabs
add esp, 0x10
xor edi, edi
jmp 0x4b5474
fldz
call fcn.00607150
cmp eax, 0x1e
mov esi, 0x10
setge bl
cmp dword [ebp - 0x13c], esi
jb 0x4b549b
mov eax, dword [ebp - 0x150]
push eax
call fcn.005f0cb0
add esp, 4
mov dword [ebp - 0x13c], 0xf
mov dword [ebp - 0x140], edi
mov byte [ebp - 0x150], 0
mov byte [ebp - 4], 0xf
cmp dword [ebp - 0x154], edi
je 0x4b54fc
push 3
lea ecx, [ebp - 0x368]
call fcn.00564140
mov eax, dword [ebp - 0x154]
cmp dword [eax + 4], edi
je 0x4b54e8
mov ecx, dword [eax + 4]
mov dword [ecx], edi
mov edx, dword [eax + 4]
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
cmp ecx, edi
jne 0x4b54d6
mov edx, dword [ebp - 0x154]
lea ecx, [ebp - 0x368]
mov dword [edx + 4], edi
call fcn.00564180
mov eax, dword [ebp - 0x154]
push eax
call fcn.005f0cb0
add esp, 4
mov dword [ebp - 0x154], edi
cmp dword [ebp - 0x11c], esi
jb 0x4b5528
mov ecx, dword [ebp - 0x130]
push ecx
call fcn.005f0cb0
add esp, 4
mov dword [ebp - 0x11c], 0xf
mov dword [ebp - 0x120], edi
mov byte [ebp - 0x130], 0
mov byte [ebp - 4], 0x10
cmp dword [ebp - 0x134], edi
je 0x4b5589
push 3
lea ecx, [ebp - 0x358]
call fcn.00564140
mov eax, dword [ebp - 0x134]
cmp dword [eax + 4], edi
je 0x4b5575
mov edx, dword [eax + 4]
mov dword [edx], edi
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
cmp edx, edi
jne 0x4b5563
mov eax, dword [ebp - 0x134]
lea ecx, [ebp - 0x358]
mov dword [eax + 4], edi
call fcn.00564180
mov ecx, dword [ebp - 0x134]
push ecx
call fcn.005f0cb0
add esp, 4
test bl, bl
mov byte [ebp - 4], 9
lea ebx, [ebp - 0x354]
je 0x4b5713
lea edx, [ebp - 0x394]
push edx
call fcn.004b9610
mov ebx, eax
sub esp, 0xc
mov byte [ebp - 4], 0x11
mov esi, esp
mov dword [esi], 0
mov dword [esi + 4], 0
mov eax, dword [ebx]
mov dword [ebp - 0x3a4], esp
test eax, eax
je 0x4b5618
mov eax, dword [eax]
test eax, eax
je 0x4b5618
mov edi, dword [eax]
test edi, edi
je 0x4b5618
push 3
lea ecx, [ebp - 0x360]
call fcn.00564140
mov ecx, esi
mov byte [ebp - 4], 0x12
call fcn.00413660
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov dword [edi + 4], esi
lea ecx, [ebp - 0x360]
mov dword [esi], edi
mov byte [ebp - 4], 0x11
call fcn.00564180
mov ecx, dword [ebx + 8]
lea edx, [ebp - 0x388]
push edx
mov dword [esi + 8], ecx
call fcn.004b8730
push 3
lea ecx, [ebp - 0x35c]
call fcn.00564140
mov byte [ebp - 4], 0x13
mov esi, dword [ebp - 0x388]
xor edi, edi
cmp esi, edi
je 0x4b568d
add esi, 4
cmp dword [esi], edi
je 0x4b5668
mov edi, edi
mov eax, dword [esi]
lea ecx, [ebp - 0x388]
cmp eax, ecx
je 0x4b5664
cmp dword [eax + 4], edi
lea esi, [eax + 4]
jne 0x4b5650
cmp dword [esi], edi
jne 0x4b567f
push 0xb5
push 0x676220
push str.ITERATOR_LIST_CORRUPTED_
call fcn.00563e60
add esp, 0xc
mov edx, dword [ebp - 0x384]
mov dword [esi], edx
mov dword [ebp - 0x388], edi
lea ecx, [ebp - 0x35c]
mov byte [ebp - 4], 0x11
call fcn.00564180
mov bl, 9
push 3
lea ecx, [ebp - 0x364]
mov byte [ebp - 4], bl
call fcn.00564140
mov byte [ebp - 4], 0x14
mov esi, dword [ebp - 0x394]
cmp esi, edi
je 0x4b5700
add esi, 4
cmp dword [esi], edi
je 0x4b56db
mov eax, dword [esi]
lea ecx, [ebp - 0x394]
cmp eax, ecx
je 0x4b56d7
cmp dword [eax + 4], edi
lea esi, [eax + 4]
jne 0x4b56c3
cmp dword [esi], edi
jne 0x4b56f2
push 0xb5
push 0x676220
push str.ITERATOR_LIST_CORRUPTED_
call fcn.00563e60
add esp, 0xc
mov edx, dword [ebp - 0x390]
mov dword [esi], edx
mov dword [ebp - 0x394], edi
lea ecx, [ebp - 0x364]
mov byte [ebp - 4], bl
call fcn.00564180
jmp 0x4b5270
lea eax, [ebp - 0x348]
push eax
call fcn.004b9610
push 3
lea ecx, [ebp - 0x36c]
call fcn.00564140
mov byte [ebp - 4], 0x15
mov esi, dword [ebp - 0x348]
test esi, esi
je 0x4b5785
add esi, 4
cmp dword [esi], 0
je 0x4b575c
mov eax, dword [esi]
lea ecx, [ebp - 0x348]
cmp eax, ecx
je 0x4b5757
cmp dword [eax + 4], 0
lea esi, [eax + 4]
jne 0x4b5742
cmp dword [esi], 0
jne 0x4b5773
push 0xb5
push 0x676220
push str.ITERATOR_LIST_CORRUPTED_
call fcn.00563e60
add esp, 0xc
mov edx, dword [ebp - 0x344]
mov dword [esi], edx
mov dword [ebp - 0x348], 0
lea ecx, [ebp - 0x36c]
mov byte [ebp - 4], 9
call fcn.00564180
jmp 0x4b5270
lea eax, [ebp - 0x33c]
push eax
lea ecx, [ebp - 0x378]
mov dword [ebp - 0x33c], edi
call fcn.005f41f0
push 0x6a361c
lea ecx, [ebp - 0x378]
push ecx
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call fcn.006009e0
or esi, 0xffffffff
push 3
lea ecx, [ebp - 0x33c]
mov dword [ebp - 4], esi
call fcn.00564140
lea ecx, [ebp - 0x354]
mov dword [ebp - 4], 0x16
call fcn.00413660
lea ecx, [ebp - 0x33c]
mov dword [ebp - 4], esi
call fcn.00564180
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005f0da0
mov esp, ebp
pop ebp
ret 4