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

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, eax
mov al, byte [edi + 0xc8c]
test al, al
jne 0x4082cd
mov esi, edi
call fcn.00408255
test eax, eax
mov dword [edi + 0x14], eax
jne 0x408574
cmp byte [0x4f5e82], al
je 0x4082c5
add edi, 0x504
push edi
push str.No_Static_Entry_found_for_BOOTPREQUEST_from_Host__s
mov esi, 0x4c5820
push esi
call fcn.0040d69e
add esp, 0xc
push 1
push esi
call fcn.0040bdf3
pop ecx
pop ecx
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
cmp al, 4
jne 0x40834d
xor ebx, ebx
cmp dword [edi + 0x10], ebx
je 0x4082c5
mov ebp, dword [edi + 0x10]
mov esi, edi
call fcn.00408255
cmp eax, ebp
jne 0x4082c5
push ebp
call fcn.0040903d
lea eax, [edi + 0x56c]
pop ecx
mov ecx, dword [eax]
mov dword [ecx + 0x18], ebx
mov ecx, dword [eax]
mov dword [ecx + 8], 0x7fffffff
mov dword [ecx + 0xc], ebx
mov ecx, dword [eax]
and dword [ecx + 0x10], 0xfffffffb
mov eax, dword [eax]
and dword [eax + 0x10], 0xfffffffd
cmp byte [0x4f5e82], bl
je 0x4082c5
lea eax, [edi + 0x404]
push eax
lea eax, [edi + 0x504]
push eax
mov eax, dword [edi + 0x10]
push 0x4c5b20
call fcn.0040a18e
pop ecx
push eax
push str.IP_Address__s_declined_by_Host__s___s___locked
mov esi, 0x4c5820
push esi
call fcn.0040d69e
add esp, 0x14
jmp 0x4082bb
cmp al, 7
jne 0x4083d0
cmp dword [edi + 0x10], 0
je 0x4082c5
mov esi, edi
call fcn.00408255
cmp eax, dword [edi + 0x10]
jne 0x4082c5
lea ebp, [edi + 0x56c]
mov eax, dword [ebp]
and dword [eax + 0x10], 0xfffffffb
mov eax, dword [ebp]
and dword [eax + 0x10], 0xfffffffd
mov esi, dword [ebp]
xor eax, eax
call fcn.00408fbb
push dword [ebp]
push 0
push 0x40b651
call dword [0x496528]
add esp, 0xc
cmp byte [0x4f5e82], 0
je 0x4082c5
lea eax, [edi + 0x404]
push eax
lea eax, [edi + 0x504]
push eax
mov eax, dword [edi + 0x10]
push 0x4c5b20
call fcn.0040a18e
pop ecx
push eax
push str.IP_Address__s_released_by_Host__s___s_
jmp 0x40833a
cmp al, 8
jne 0x40840f
mov al, byte [0x4f5e85]
cmp al, 1
jne 0x4083eb
mov ecx, dword [edi + 0x554]
cmp ecx, dword [0x4cdf5c]
je 0x408405
cmp al, 2
jne 0x4082c5
mov eax, dword [edi + 0x554]
cmp eax, dword [0x4cdf58]
jne 0x4082c5
call fcn.00409282
jmp 0x4082c5
cmp al, 1
jne 0x408449
lea eax, [edi + 0x404]
push 0x4cd342
push eax
call dword [0x49655c]
test eax, eax
pop ecx
pop ecx
je 0x408449
mov ecx, edi
call fcn.004078b3
test eax, eax
mov dword [edi + 0x14], eax
je 0x4082c5
mov byte [edi + 0xc8d], 2
jmp 0x408574
cmp byte [edi + 0xc8c], 3
jne 0x4082c5
mov eax, dword [edi + 0x544]
xor ebx, ebx
cmp eax, ebx
je 0x4084bb
movzx ecx, byte [edi + 0xc8e]
imul ecx, ecx, 0x3c
cmp eax, dword [ecx + 0x4c7664]
jne 0x4082c5
lea eax, [edi + 0x548]
cmp dword [eax], ebx
je 0x4084ad
mov ebp, dword [eax]
mov esi, edi
call fcn.00408255
cmp ebp, eax
jne 0x4084ad
mov eax, dword [edi + 0x56c]
mov ecx, dword [eax + 0xc]
cmp ecx, dword [0x4f7384]
jl 0x4084ad
jg 0x4084ec
mov eax, dword [eax + 8]
cmp eax, dword [0x4f7380]
ja 0x4084ec
cmp dword [edi + 0x10], ebx
je 0x408539
mov ebp, dword [edi + 0x10]
jmp 0x408504
cmp dword [edi + 0x10], ebx
je 0x4084f8
mov ebp, dword [edi + 0x10]
mov esi, edi
call fcn.00408255
cmp ebp, eax
jne 0x4084f8
mov eax, dword [edi + 0x56c]
mov ecx, dword [eax + 0xc]
cmp ecx, dword [0x4f7384]
jl 0x4084f8
jg 0x4084ec
mov eax, dword [eax + 8]
cmp eax, dword [0x4f7380]
jbe 0x4084f8
mov byte [edi + 0xc8d], 5
mov dword [edi + 0x14], ebp
jmp 0x408574
lea eax, [edi + 0x548]
cmp dword [eax], ebx
je 0x408539
mov ebp, dword [eax]
mov esi, edi
call fcn.00408255
cmp ebp, eax
jne 0x408539
mov eax, dword [edi + 0x56c]
mov ecx, dword [eax + 0xc]
cmp ecx, dword [0x4f7384]
jl 0x408539
jg 0x40852d
mov eax, dword [eax + 8]
cmp eax, dword [0x4f7380]
jbe 0x408539
mov dword [edi + 0x14], ebp
mov byte [edi + 0xc8d], 5
jmp 0x408574
mov byte [edi + 0xc8d], 6
mov dword [edi + 0x14], ebx
cmp byte [0x4f5e82], bl
je 0x408574
lea eax, [edi + 0x404]
push eax
lea eax, [edi + 0x504]
push eax
push str.DHCPREQUEST_from_Host__s___s__without_Discover__NAKed
mov esi, 0x4c5820
push esi
call fcn.0040d69e
push 1
push esi
call fcn.0040bdf3
add esp, 0x18
mov ecx, edi
call fcn.0040889c
mov ebp, dword [edi + 0x568]
sub ebp, edi
sub ebp, 3
cmp byte [edi + 0xc8c], 0
jne 0x408596
movzx ebp, word [edi + 0x564]
mov ecx, dword [edi + 0x1c]
xor edx, edx
cmp ecx, edx
jne 0x4085a7
cmp dword [edi + 0x554], edx
jne 0x4085d7
mov eax, dword [edi + 0x56c]
cmp eax, edx
je 0x4085d7
mov al, byte [eax + 0x14]
test al, al
jl 0x4085d7
movsx eax, al
imul eax, eax, 0x1c
movzx eax, byte [eax + 0x4de45c]
imul eax, eax, 0x2e8
mov eax, dword [eax + 0x4df4ec]
mov dword [edi + 0xa80], eax
lea esi, [edi + 0xa80]
cmp dword [esi], edx
je 0x4085f4
push 0x43
call dword [0x4969b4]
mov word [edi + 0x552], ax
mov eax, dword [esi]
jmp 0x40860a
cmp ecx, edx
je 0x408612
push 0x43
call dword [0x4969b4]
mov word [edi + 0x552], ax
mov eax, dword [edi + 0x1c]
mov dword [edi + 0x554], eax
jmp 0x40864b
test dword [edi + 0xc], 0x800000
jne 0x408635
cmp dword [edi + 0x554], edx
je 0x408635
cmp dword [edi + 0x548], edx
jne 0x408635
push 0x44
call dword [0x4969b4]
jmp 0x408644
push 0x44
call dword [0x4969b4]
or dword [edi + 0x554], 0xffffffff
mov word [edi + 0x552], ax
mov ebx, dword [0x496520]
lea esi, [edi + 4]
mov byte [esi], 2
call ebx
and dword [eax], 0
cmp byte [edi + 0xc8c], 1
jne 0x408678
cmp dword [edi + 0x1c], 0
jne 0x408678
push 0x10
lea eax, [edi + 0x550]
push eax
push 4
jmp 0x4086a7
mov eax, dword [0x4c7640]
test eax, eax
je 0x40869c
cmp byte [edi + 0xc8d], 5
jne 0x40869c
push dword [0x4c7644]
push dword [edi + 0x54c]
push edi
call eax
add esp, 0xc
push 0x10
lea eax, [edi + 0x550]
push eax
push 0
movzx eax, byte [edi + 0xc8e]
imul eax, eax, 0x3c
push ebp
push esi
push dword [eax + 0x4c7650]
call dword [0x496968]
mov dword [edi + 0x54c], eax
call ebx
cmp dword [eax], 0
jne 0x4082c5
cmp dword [edi + 0x54c], 0
jle 0x4082c5
mov eax, dword [edi + 0x14]
jmp 0x4082c7