Function at 0x409282
Capabilities:
Create thread
Send data
Send data on socket

Disassembly:
push 0x2c
mov eax, 0x490f1b
call fcn.004869c2
mov eax, dword [0x4f7380]
mov ecx, dword [0x4f7384]
add eax, 0x258
push 0
pop ebx
adc ecx, ebx
mov dword [0x4f5e70], eax
mov dword [0x4f5e74], ecx
mov edx, dword [edi + 0x14]
cmp edx, ebx
jne 0x4092b8
mov edx, dword [edi + 0x10]
cmp edx, ebx
mov dword [ebp - 0x10], edx
je 0x409580
cmp byte [edi + 6], bl
je 0x409580
push edx
call fcn.004095eb
cmp al, bl
pop ecx
mov byte [ebp - 0x18], al
jl 0x409328
push dword [ebp - 0x10]
push dword [ebp - 0x18]
call fcn.0040962f
pop ecx
pop ecx
movsx ecx, byte [ebp - 0x18]
imul ecx, ecx, 0x1c
mov ecx, dword [ecx + 0x4de474]
mov eax, dword [ecx + eax*4]
cmp eax, ebx
mov dword [edi + 0x56c], eax
je 0x409328
test byte [eax + 0x10], 1
jne 0x409328
lea ecx, [edi + 0x504]
push ecx
push dword [eax]
call dword [0x49655c]
test eax, eax
pop ecx
pop ecx
je 0x409328
mov eax, dword [edi + 0x56c]
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
lea esi, [edi + 0x504]
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.0040a7b8
cmp eax, ebx
mov dword [edi + 0x56c], eax
je 0x4093bd
mov ecx, dword [eax + 0x18]
cmp ecx, dword [ebp - 0x10]
je 0x4093bd
test byte [eax + 0x10], 1
je 0x409392
cmp byte [0x4f5e85], 1
mov eax, dword [ebp - 0x10]
push 0x4c5b20
jne 0x409370
call fcn.0040a18e
pop ecx
push eax
push esi
push str.DHCP_Update_ignored_for__s___s__from_Secondary_Server
jmp 0x40937d
call fcn.0040a18e
pop ecx
push eax
push esi
push str.DHCP_Update_ignored_for__s___s__from_Primary_Server
mov esi, 0x4c5820
push esi
call fcn.0040d69e
add esp, 0x10
push 1
jmp 0x409544
movzx eax, byte [eax + 0x14]
cmp al, bl
jl 0x4093bd
push ecx
push eax
call fcn.0040962f
cmp eax, ebx
pop ecx
pop ecx
jl 0x4093bd
mov ecx, dword [edi + 0x56c]
movsx ecx, byte [ecx + 0x14]
imul ecx, ecx, 0x1c
mov ecx, dword [ecx + 0x4de474]
mov dword [ecx + eax*4], ebx
cmp dword [edi + 0x56c], ebx
jne 0x409432
cmp byte [ebp - 0x18], bl
jl 0x409432
push 0x24
push ebx
mov esi, 0x4c53d4
push esi
call fcn.0048635c
mov eax, dword [ebp - 0x14]
mov dword [0x4c53d4], eax
lea eax, [edi + 0x404]
mov dword [0x4c53dc], eax
add esp, 0xc
mov eax, esi
mov byte [0x4c53f4], 1
call fcn.0040be9e
cmp eax, ebx
mov dword [edi + 0x56c], eax
je 0x409432
push dword [eax]
lea ecx, [ebp - 0x34]
call dword [0x496380]
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 4], ebx
call fcn.0040c457
mov ecx, dword [edi + 0x56c]
or dword [ebp - 4], 0xffffffff
mov dword [eax], ecx
lea ecx, [ebp - 0x34]
call dword [0x496384]
mov eax, dword [edi + 0x56c]
cmp eax, ebx
je 0x409551
mov ecx, dword [ebp - 0x10]
mov dword [eax + 0x18], ecx
mov eax, dword [edi + 0x56c]
mov cl, byte [ebp - 0x18]
mov byte [eax + 0x14], cl
mov eax, dword [edi + 0x56c]
or dword [eax + 0x10], 4
mov eax, dword [edi + 0x56c]
and dword [eax + 0x10], 0xfffffffd
mov eax, dword [edi]
mov ecx, dword [edi + 0xa84]
cmp ecx, eax
jbe 0x409474
mov eax, ecx
mov esi, dword [edi + 0x56c]
call fcn.00408fbb
lea esi, [edi + 0x404]
cmp byte [esi], bl
je 0x4094d1
mov eax, dword [edi + 0x56c]
mov eax, dword [eax + 0x20]
cmp eax, ebx
je 0x4094b6
push esi
push eax
call dword [0x49655c]
test eax, eax
pop ecx
pop ecx
je 0x4094b6
mov eax, dword [edi + 0x56c]
push dword [eax + 0x20]
call dword [0x49668c]
pop ecx
jmp 0x4094c1
mov eax, dword [edi + 0x56c]
cmp dword [eax + 0x20], ebx
jne 0x4094d1
push esi
call fcn.0040a9a1
pop ecx
mov ecx, dword [edi + 0x56c]
mov dword [ecx + 0x20], eax
push dword [edi + 0x56c]
push ebx
push 0x40b651
call dword [0x496528]
add esp, 0xc
cmp byte [0x4f5e85], 1
jne 0x4094f6
mov eax, edi
call fcn.00408ee0
cmp byte [0x4f5e82], 2
jb 0x4095e5
cmp byte [0x4f5e85], 1
mov eax, dword [ebp - 0x10]
push 0x4c5b20
jne 0x409525
call fcn.0040a18e
pop ecx
push eax
push dword [ebp - 0x14]
push str.DHCP_Update_received_for__s___s__from_Secondary_Server
jmp 0x409534
call fcn.0040a18e
pop ecx
push eax
push dword [ebp - 0x14]
push str.DHCP_Update_received_for__s___s__from_Primary_Server
mov esi, 0x4c5820
push esi
call fcn.0040d69e
add esp, 0x10
push 2
push esi
call fcn.0040bdf3
pop ecx
pop ecx
jmp 0x4095e5
cmp byte [0x4f5e85], 1
mov eax, dword [ebp - 0x10]
push 0x4c5b20
jne 0x409571
call fcn.0040a18e
pop ecx
push eax
push dword [ebp - 0x14]
jmp 0x409369
call fcn.0040a18e
pop ecx
push eax
push dword [ebp - 0x14]
jmp 0x409378
cmp dword [edi + 0xa88], ebx
je 0x409593
mov dword [0x4f5e78], eax
mov dword [0x4f5e7c], ecx
cmp byte [0x4f5e85], 1
jne 0x4095e5
lea eax, [edi + 0x404]
cmp byte [eax], bl
je 0x4095be
push 3
push ebx
push 0x7fffffff
push dword [0x4cdf5c]
push eax
push ebx
call fcn.00407445
add esp, 0x18
call dword [0x496520]
push 0x10
push 0x4c6f00
push ebx
mov dword [eax], ebx
push dword [0x4c6efc]
push 0x4c69b4
push dword [0x4cded8]
call dword [0x496968]
call fcn.00486a9a
ret