Function at 0x408250
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push 0xffffffffffffffff
push 0x55dfa7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x250
mov eax, dword [0x5af710]
xor eax, esp
push ebx
push ebp
push esi
mov esi, dword [0x5b096c]
push edi
add esi, 0x5f8
push esi
mov dword [esp + 0x260], eax
mov dword [esp + 0x14], ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x5ac334]
push esi
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov ebp, 0x10
nop
cmp dword [esp + 0x1c], 1
jne 0x4082ef
mov esi, dword [0x5b096c]
add esi, 0x5f8
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x5ac334]
xor eax, eax
cmp ecx, 0x58
setne al
push esi
dec eax
and eax, 0x64
add eax, 0x58
mov dword [0x5ac334], eax
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [0x5b096c]
mov edi, esi
add esi, 0x5e0
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [edi + 0x48c]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x14]
push ecx
mov word [esp + 0x250], 2
call dword [sym.imp.WSOCK32.dll_htons]
mov word [esp + 0x24e], ax
cmp dword [0x5b10dc], ebx
mov dword [esp + 0x250], edi
je 0x4083dc
mov esi, dword [0x5b096c]
mov edi, esi
add esi, 0x5e0
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [edi + 0x48c]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 2
lea edx, [esp + 0x88]
push edi
push edx
call fcn.005048e9
add esp, 0xc
cmp dword [eax + 0x18], ebp
mov dword [esp + 0x268], ebx
jb 0x408387
mov eax, dword [eax + 4]
jmp 0x40838a
add eax, 4
mov esi, dword [esp + 0x14]
mov ecx, dword [0x5b10dc]
mov edx, dword [ecx]
push 2
push 1
push esi
push eax
call dword [edx + 4]
cmp dword [esp + 0x9c], ebp
mov dword [esp + 0x268], 0xffffffff
jb 0x4083c3
mov eax, dword [esp + 0x88]
push eax
call fcn.0055047a
add esp, 4
mov dword [esp + 0x9c], 0xf
mov dword [esp + 0x98], ebx
mov byte [esp + 0x88], bl
mov esi, dword [esp + 0x10]
push 0x14
lea ecx, [esp + 0x250]
push ecx
mov ecx, esi
call fcn.005087d6
test eax, eax
jne 0x408b93
mov ecx, dword [esi + 4]
xor edx, edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], edx
push ebx
push 0x14
lea eax, [esp + 0x28]
mov dword [esp + 0x30], edx
push eax
mov dword [esp + 0x38], edx
mov edi, 0x17
push ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x30], 0x56525620
mov word [esp + 0x34], di
mov word [esp + 0x36], 1
call fcn.00503ed7
mov ecx, dword [esi + 4]
xor edx, edx
push 0x14
mov dword [esp + 0x34], edx
push ebx
mov dword [esp + 0x3c], edx
push 0x14
lea eax, [esp + 0x3c]
mov dword [esp + 0x44], edx
push eax
mov dword [esp + 0x4c], edx
push ecx
mov dword [esp + 0x54], edx
call fcn.00503f15
add esp, 0x24
test eax, eax
jle 0x408832
cmp word [esp + 0x24], di
jne 0x408484
mov eax, 2
cmp word [esp + 0x26], ax
je 0x408bcf
push 1
push 2
lea ecx, [esp + 0x1c4]
call fcn.00404a20
mov edx, dword [esp + 0x26]
mov eax, dword [esp + 0x24]
push edx
push str._What:
push eax
lea ecx, [esp + 0x1c8]
push str.Type:
push ecx
mov dword [esp + 0x27c], 1
call fcn.00403980
add esp, 8
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
add esp, 8
mov ecx, eax
call fcn.00403f50
cmp dword [0x5b21c0], 0x212
jne 0x408804
lea edx, [esp + 0x23c]
push edx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 1
push 2
lea ecx, [esp + 0x144]
call fcn.00404a20
push 0x572a6c
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x1c4]
mov byte [esp + 0x270], 2
call fcn.00407320
cmp dword [eax + 0x18], ebp
mov byte [esp + 0x26c], 3
jb 0x408538
mov eax, dword [eax + 4]
jmp 0x40853b
add eax, 4
mov ecx, dword [esp + 0x24c]
push eax
mov edx, dword [esp + 0x24e]
push 0x572a4c
mov eax, dword [esp + 0x250]
push 0x572a6c
push 0x572a48
push 0x212
push 0x572a40
push ecx
mov ecx, dword [esp + 0x262]
push 0x572a3c
push edx
mov edx, dword [esp + 0x266]
push 0x572a3c
push eax
mov eax, dword [esp + 0x26c]
push 0x572a38
push ecx
push 0x572a34
push edx
push 0x572a34
push eax
push 0x572a38
push 0xd4
push 0x572a3c
push 0x5c
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x8c], esp
push 0x18
mov esi, 0xf
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push str..ActiveObjectEngine.cpp
mov byte [ecx + 4], bl
call fcn.00404640
lea ecx, [esp + 0xc0]
push ecx
call fcn.00407150
add esp, 0x24
cmp dword [eax + 0x18], ebp
mov byte [esp + 0x2bc], 4
jb 0x4085f7
mov eax, dword [eax + 4]
jmp 0x4085fa
add eax, 4
push eax
lea edx, [esp + 0x194]
push 0x572a0c
push edx
call fcn.00403980
add esp, 8
push eax
call fcn.00403980
add esp, 8
push eax
call fcn.00403980
add esp, 8
mov ecx, eax
call fcn.004040c0
push eax
call fcn.00403980
add esp, 8
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
add esp, 8
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
add esp, 8
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
add esp, 8
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
add esp, 8
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
add esp, 8
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
add esp, 8
mov ecx, eax
call fcn.004040c0
push eax
call fcn.00403980
add esp, 8
push eax
call fcn.00403980
add esp, 8
push eax
call fcn.00403980
add esp, 8
push eax
call fcn.00403980
add esp, 8
push eax
call fcn.00403980
mov eax, dword [esp + 0x6c]
add esp, 8
cmp eax, ebp
jb 0x4086db
mov eax, dword [esp + 0x50]
push eax
call fcn.0055047a
add esp, 4
cmp dword [esp + 0x80], ebp
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
mov byte [esp + 0x268], 2
jb 0x408705
mov ecx, dword [esp + 0x6c]
push ecx
call fcn.0055047a
add esp, 4
lea edx, [esp + 0x13c]
push edx
mov dword [esp + 0x84], esi
mov dword [esp + 0x80], ebx
mov byte [esp + 0x70], bl
call fcn.00407930
mov ecx, dword [esp + 0x140]
mov edx, dword [ecx + 4]
lea eax, [esp + 0x18c]
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + edx + 0x13c], 0x572924
test byte [esp + 0x180], 1
mov byte [esp + 0x268], 5
mov dword [esp + 0x140], 0x5728a0
je 0x408776
mov eax, dword [esp + 0x150]
mov eax, dword [eax]
push eax
call fcn.0055047a
add esp, 4
mov ecx, dword [esp + 0x150]
mov dword [ecx], ebx
mov edx, dword [esp + 0x160]
mov dword [edx], ebx
mov eax, dword [esp + 0x170]
mov dword [eax], ebx
mov ecx, dword [esp + 0x154]
mov dword [ecx], ebx
mov edx, dword [esp + 0x164]
mov dword [edx], ebx
mov eax, dword [esp + 0x174]
mov dword [eax], ebx
mov eax, dword [esp + 0x180]
and eax, 0xfffffffe
lea ecx, [esp + 0x140]
mov dword [esp + 0x17c], ebx
mov dword [esp + 0x180], eax
call fcn.00401b90
mov ecx, dword [esp + 0x13c]
mov edx, dword [ecx + 4]
mov dword [esp + edx + 0x13c], 0x57283c
lea ecx, [esp + 0x188]
mov byte [esp + 0x268], 1
mov dword [esp + 0x188], 0x572840
call fcn.0054dfcb
lea ecx, [esp + 0x208]
mov dword [esp + 0x268], 0xffffffff
call fcn.004028d0
mov dword [esp + 0x208], 0x572840
lea ecx, [esp + 0x208]
jmp 0x408b8e
cmp dword [0x5b21c0], 0x212
jne 0x408b93
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 1
push 2
lea ecx, [esp + 0xc4]
call fcn.00404a20
mov ecx, dword [esp + 0x44]
push 0x572a6c
push 0x572aa4
mov edx, dword [esp + 0x4a]
push 0x572a4c
mov eax, dword [esp + 0x4c]
push 0x572a6c
push 0x572a48
push 0x212
push 0x572a40
push ecx
mov ecx, dword [esp + 0x5e]
push 0x572a3c
push edx
mov edx, dword [esp + 0x62]
push 0x572a3c
push eax
mov eax, dword [esp + 0x68]
push 0x572a38
push ecx
push 0x572a34
push edx
push 0x572a34
push eax
push 0x572a38
push 0xd9
push 0x572a3c
push 0x5c
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x8c], esp
push 0x18
mov esi, 0xf
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push str..ActiveObjectEngine.cpp
mov dword [esp + 0x2e4], 6
mov byte [ecx + 4], bl
call fcn.00404640
lea ecx, [esp + 0x114]
push ecx
call fcn.00407150
add esp, 0x24
cmp dword [eax + 0x18], ebp
mov byte [esp + 0x2bc], 7
jb 0x40891b
mov eax, dword [eax + 4]
jmp 0x40891e
add eax, 4
push eax
lea edx, [esp + 0x114]
push 0x572a0c
push edx
call fcn.00403980
add esp, 8
push eax
call fcn.00403980
add esp, 8
push eax
call fcn.00403980
add esp, 8
mov ecx, eax
call fcn.004040c0
push eax
call fcn.00403980
add esp, 8
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
add esp, 8
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
add esp, 8
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
add esp, 8
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
add esp, 8
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
add esp, 8
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
add esp, 8
mov ecx, eax
call fcn.004040c0
push eax
call fcn.00403980
add esp, 8
push eax
call fcn.00403980
add esp, 8
push eax
call fcn.00403980
add esp, 8
push eax
call fcn.00403980
add esp, 8
push eax
call fcn.00403980
mov eax, dword [esp + 0xc0]
add esp, 8
cmp eax, ebp
mov byte [esp + 0x268], 6
jb 0x408a0d
mov eax, dword [esp + 0xa4]
push eax
call fcn.0055047a
add esp, 4
lea ecx, [esp + 0xbc]
push ecx
mov dword [esp + 0xbc], esi
mov dword [esp + 0xb8], ebx
mov byte [esp + 0xa8], bl
call fcn.00407930
mov eax, dword [esp + 0xc0]
mov ecx, dword [eax + 4]
lea edx, [esp + 0x10c]
add esp, 4
mov dword [esp + 0x18], edx
mov dword [esp + ecx + 0xbc], 0x572924
test byte [esp + 0x100], 1
lea edx, [esp + 0xc0]
mov dword [esp + 0x268], 8
mov dword [esp + 0x48], edx
mov dword [esp + 0xc0], 0x5728a0
je 0x408a8f
mov eax, dword [esp + 0xd0]
mov eax, dword [eax]
push eax
call fcn.0055047a
add esp, 4
mov ecx, dword [esp + 0xd0]
mov dword [ecx], ebx
mov edx, dword [esp + 0xe0]
mov dword [edx], ebx
mov eax, dword [esp + 0xf0]
mov dword [eax], ebx
mov ecx, dword [esp + 0xd4]
mov dword [ecx], ebx
mov edx, dword [esp + 0xe4]
mov dword [edx], ebx
mov eax, dword [esp + 0xf4]
mov dword [eax], ebx
mov edx, dword [esp + 0x100]
and edx, 0xfffffffe
mov dword [esp + 0xfc], ebx
mov dword [esp + 0x100], edx
mov dword [esp + 0xc0], 0x57286c
mov eax, dword [esp + 0xf8]
cmp eax, ebx
mov byte [esp + 0x268], 9
mov edi, eax
je 0x408b48
mov esi, dword [eax]
cmp esi, ebx
je 0x408b3f
push ebx
lea ecx, [esp + 0x38]
call fcn.0054db25
mov eax, dword [esi + 4]
cmp eax, ebx
jbe 0x408b1d
cmp eax, 0xffffffff
jae 0x408b1d
dec eax
mov dword [esi + 4], eax
mov edx, dword [esi + 4]
xor ecx, ecx
cmp edx, ebx
setne cl
dec ecx
and esi, ecx
lea ecx, [esp + 0x34]
call fcn.0054db48
cmp esi, ebx
je 0x408b3f
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
push edi
call fcn.0055047a
add esp, 4
lea ecx, [esp + 0xc4]
mov byte [esp + 0x268], 8
call fcn.0054e238
mov eax, dword [esp + 0xbc]
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0xbc], 0x57283c
mov dword [esp + 0x268], 0xffffffff
mov dword [esp + 0x108], 0x572840
lea ecx, [esp + 0x108]
call fcn.0054dfcb
mov eax, dword [esp + 0x1c]
inc eax
cmp eax, 2
mov dword [esp + 0x1c], eax
jl 0x4082b0
or eax, 0xffffffff
mov ecx, dword [esp + 0x260]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x254]
pop ebp
pop ebx
xor ecx, esp
call fcn.0053aaae
add esp, 0x25c
ret
xor edx, edx
mov dword [esp + 0x23e], edx
mov dword [esp + 0x242], edx
mov word [esp + 0x23c], ax
mov dword [esp + 0x246], edx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x240]
mov word [esp + 0x24e], dx
mov edx, dword [esi + 4]
push ecx
push edx
mov dword [esp + 0x1c], ebp
call dword [sym.imp.WSOCK32.dll_getsockname]
mov eax, dword [esp + 0x240]
mov ecx, dword [0x5b096c]
push eax
call fcn.00487300
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
mov eax, dword [0x5b096c]
lea esi, [eax + 0x5e0]
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push esi
mov dword [ebx + 0x5a4], edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
jmp 0x408ba8