Function at 0x40152d
Capabilities:
Send data
Send data on socket

Disassembly:
jmp 0x4151c0
sub esp, 0x76c
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov ecx, 0x19
xor eax, eax
lea edi, [esp + 0x164]
rep stosd dword es:[edi], eax
lea esi, [ebp + 0x734]
mov ecx, 0x3b
lea edi, [esp + 0x1c8]
mov dword [esp + 0x1c8], eax
rep movsd dword es:[edi], dword [esi]
mov ebx, dword [sym.imp.WS2_32.dll_inet_addr]
lea eax, [esp + 0x7b4]
movsw word es:[edi], word [esi]
push eax
mov byte [esp + 0x1cc], 2
call ebx
cmp eax, 0xffffffff
mov dword [esp + 0x1d8], eax
je 0x41585f
lea edi, [esp + 0x93c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x234]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push str.0.0.0.0
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call ebx
mov dword [esp + 0x1d4], eax
lea edi, [ebp + 0x70b]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x1f4]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x780]
and ecx, 3
cmp eax, 1
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x432f7c]
mov dword [esp + 0x2b4], ecx
jne 0x4152db
movsx ecx, byte [ebp + 0x308]
add ecx, 2
lea esi, [ebp + 0x307]
mov edx, ecx
lea edi, [esp + 0x2b8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x38]
and ecx, 3
push str.DHCPOFFER
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.MSVCRT.dll_sprintf]
push eax
call esi
push 0x4330c0
jmp 0x41531b
cmp eax, 3
jne 0x415328
movsx ecx, byte [ebp + 0x409]
add ecx, 2
lea esi, [ebp + 0x408]
mov edx, ecx
lea edi, [esp + 0x2b8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push str.DHCPACK
and ecx, eax
lea eax, [esp + 0x3c]
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.MSVCRT.dll_sprintf]
push eax
call esi
push 0x433084
lea ecx, [esp + 0x170]
push ecx
call esi
add esp, 0x10
movsx edx, byte [ebp + 5]
movsx eax, byte [ebp + 0x409]
lea ecx, [edx + 2]
add eax, 6
mov ebx, ecx
lea esi, [ebp + 4]
lea edi, [esp + eax + 0x2b4]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea ebx, [eax + edx + 2]
mov edx, dword [esp + 0xdac]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [edx]
mov ecx, ebp
test eax, eax
call fcn.00401861
test eax, eax
je 0x415378
lea esi, [ebp + 0x509]
mov ecx, 0x40
jmp 0x415380
mov ecx, 0x40
lea esi, [ebp + 4]
lea edi, [esp + 0x4c]
push 0x453324
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
movsx eax, byte [esp + 0x51]
lea esi, [esp + 0x50]
lea edi, [esp + ebx + 0x2b8]
lea ecx, [eax + 2]
mov byte [esp + 0x50], 6
mov edx, ecx
lea eax, [ebx + eax + 2]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x40
lea esi, [ebp + 4]
lea edi, [esp + 0x50]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
movsx edx, byte [esp + 0x51]
lea esi, [esp + 0x50]
lea edi, [esp + eax + 0x2b8]
lea ecx, [edx + 2]
mov byte [esp + 0x50], 0xc
mov ebx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea ebx, [eax + edx + 2]
and ecx, 3
xor eax, eax
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 0x50], 0
mov ecx, 0x3f
lea edi, [esp + 0x52]
mov byte [esp + 0x50], 3
mov byte [esp + 0x51], 4
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [esp + 0x10], eax
mov byte [esp + 0x4e], al
mov byte [esp + 0x4f], ah
mov ax, word [esp + 0x12]
mov byte [esp + 0x50], al
mov byte [esp + 0x51], ah
movsx eax, byte [esp + 0x4d]
lea esi, [esp + 0x4c]
lea edi, [esp + ebx + 0x2b4]
lea ecx, [eax + 2]
lea ebx, [ebx + eax + 2]
mov edx, ecx
mov eax, dword [esp + 0xdac]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
xor edx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp dword [eax], edx
je 0x415637
mov dword [esp + 0x4c], edx
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x4e]
mov byte [esp + 0x4c], 0x1c
mov byte [esp + 0x4d], 4
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, 0x453324
or ecx, 0xffffffff
xor eax, eax
lea esi, [esp + 0x18]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x14], esi
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov al, byte [esp + 0x18]
test al, al
je 0x4155af
lea edi, [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x14], edx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x10], edx
lea edx, [esp + 0x150]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0x432648
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x154]
push ecx
call dword [sym.imp.MSVCRT.dll_strstr]
lea edx, [esp + 0x158]
mov byte [eax], 0
push edx
call dword [sym.imp.MSVCRT.dll_atoi]
and eax, 0xc0
add esp, 0xc
sub eax, 0
je 0x41553a
sub eax, 0x80
je 0x415530
sub eax, 0x40
jne 0x415542
mov esi, 3
jmp 0x415546
mov dword [esp + 0x10], 2
jmp 0x415542
mov dword [esp + 0x10], 1
mov esi, dword [esp + 0x10]
lea edi, [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
xor edx, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x415584
cmp edx, 0xf
jge 0x415584
cmp byte [esp + edx + 0x18], 0x2e
jne 0x415571
mov eax, dword [esp + 0x14]
inc eax
cmp eax, esi
mov dword [esp + 0x14], eax
je 0x415584
lea edi, [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
inc edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp edx, ecx
jb 0x415558
mov eax, 4
sub eax, esi
test eax, eax
jle 0x4155aa
mov cl, 0x35
inc edx
mov byte [esp + edx + 0x18], 0x32
inc edx
mov byte [esp + edx + 0x18], cl
inc edx
mov byte [esp + edx + 0x18], cl
inc edx
dec eax
mov byte [esp + edx + 0x18], 0x2e
jne 0x415591
mov byte [esp + edx + 0x18], 0
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [esp + 0x10], eax
mov byte [esp + 0x4e], al
mov byte [esp + 0x4f], ah
mov ax, word [esp + 0x12]
mov byte [esp + 0x50], al
mov byte [esp + 0x51], ah
movsx eax, byte [esp + 0x4d]
lea esi, [esp + 0x4c]
lea edi, [esp + ebx + 0x2b4]
lea ecx, [eax + 2]
lea ebx, [ebx + eax + 2]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + ebx + 0x2b4]
and ecx, 3
add ebx, 6
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 0x4c], 0
mov byte [esp + 0x4c], 0x33
mov byte [esp + 0x4d], 4
mov byte [esp + 0x4e], 0
mov byte [esp + 0x4f], 1
mov ecx, dword [esp + 0x4c]
mov byte [esp + 0x50], 0x51
mov byte [esp + 0x51], 0x80
mov dx, word [esp + 0x50]
mov dword [eax], ecx
mov word [eax + 4], dx
lea eax, [esp + 0x7c4]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [esp + 0x10], eax
mov byte [ebp + 0x208], al
mov byte [ebp + 0x209], ah
mov ax, word [esp + 0x12]
mov byte [ebp + 0x20a], al
mov byte [ebp + 0x20b], ah
movsx eax, byte [ebp + 0x207]
lea esi, [ebp + 0x206]
lea edi, [esp + ebx + 0x2b4]
lea ecx, [eax + 2]
lea ebx, [ebx + eax + 2]
mov edx, ecx
mov eax, dword [esp + 0xdac]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp dword [eax], 0
je 0x4156d2
lea esi, [ebp + 0x105]
mov ecx, 0x40
lea edi, [esp + 0x4c]
mov al, 3
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov byte [esp + 0x4d], 1
mov byte [esp + 0x4c], 0x52
mov dx, word [esp + 0x4c]
lea ecx, [esp + ebx + 0x2b4]
mov word [esp + ebx + 0x2b4], dx
mov byte [ecx + 2], al
jmp 0x4156f7
movsx ecx, byte [ebp + 0x106]
add ecx, 2
lea esi, [ebp + 0x105]
mov eax, ecx
lea edi, [esp + ebx + 0x2b4]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
movsx ecx, byte [ebp + 0x106]
add ecx, ebx
lea ebx, [ebp + 0x70b]
push ebx
mov byte [esp + ecx + 0x2ba], 0xff
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [esp + 0x1dc], eax
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x1f4]
mov eax, ecx
mov esi, edi
mov edi, edx
push ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.WS2_32.dll_inet_addr]
mov ecx, dword [0x45328c]
push 0x4e20
push ecx
mov dword [esp + 0x1e4], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4157c0
mov ecx, dword [ebp + 0x72c]
lea edx, [ebp + 0x71c]
push 0x10
push edx
push eax
lea eax, [esp + 0x1d4]
push 0x12c
push eax
push ecx
call dword [sym.imp.WS2_32.dll_sendto]
cmp eax, 0xffffffff
mov eax, dword [0x45329c]
jne 0x4157aa
test eax, eax
je 0x415852
lea edx, [esp + 0x164]
mov edi, 0x433074
jmp 0x4157d9
test eax, eax
je 0x415852
lea edx, [esp + 0x164]
mov edi, 0x433064
jmp 0x4157d9
mov eax, dword [0x45329c]
test eax, eax
je 0x415852
lea edx, [esp + 0x164]
mov edi, 0x433054
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0x164]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x7ab]
push ecx
mov ecx, dword [0x4339cc]
push 0x433900
lea eax, [esp + 0x7c0]
push edx
push eax
push ebx
push 0
push 1
add ecx, 0x13e4
call fcn.00401587
mov edx, dword [0x4339cc]
push 0
push 0
push 0x80d6
mov eax, dword [edx + 0x1404]
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov ecx, dword [0x45328c]
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x76c
ret 0x630