Function at 0x4020d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x41c8fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xcb8
mov eax, dword [esp + 0xcc8]
push ebx
push ebp
push esi
push edi
mov edi, dword [eax]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x3cf]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x4ce]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x42c1d6
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x20], 6
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x5cd]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x42c2d5
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
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]
lea ecx, [esp + 0x3cf]
xor edi, edi
push ecx
mov dword [0x47e51c], edi
call dword [sym.imp.WS2_32.dll_inet_addr]
lea edx, [esp + 0x20]
lea ecx, [esp + 0x14]
push edx
push ecx
push edi
push eax
call sub.iphlpapi.dll_SendARP
mov edx, dword [0x425e64]
mov dword [esp + 0x10], edx
cmp eax, edi
mov dword [esp + 0xcd0], edi
je 0x4021c4
lea eax, [esp + 0x3cf]
push eax
push str._DEBUG_Spoof_Error_Get_Mac_Address_of__s._n
jmp 0x40243c
mov eax, dword [esp + 0x14]
mov cx, word [esp + 0x18]
mov esi, dword [0x42aac8]
mov dx, word [0x42aacc]
mov ebp, dword [0x42aad0]
mov bx, word [0x42aad4]
mov dword [esp + 0x5a], eax
mov eax, dword [0x47e524]
cmp eax, edi
mov word [esp + 0x5e], cx
mov dword [esp + 0x66], esi
mov word [esp + 0x6a], dx
je 0x402226
lea eax, [esp + 0x5cd]
lea ecx, [esp + 0x3cf]
push eax
lea edx, [esp + 0x3d3]
push ecx
push edx
lea eax, [esp + 0x1c]
push str._DEBUG_Reset__s:_Mac_of__s___Mac_of__s
push eax
jmp 0x402248
lea ecx, [esp + 0x5cd]
lea edx, [esp + 0x3cf]
push ecx
lea eax, [esp + 0x3d3]
push edx
push eax
lea ecx, [esp + 0x1c]
push str._DEBUG_Spoof__s:_Mac_of__s___Mac_of__s
push ecx
call fcn.00414f1b
mov edx, dword [esp + 0x24]
add esp, 0x14
push edx
push str._r_nOut1:__s
call fcn.00406dd1
mov eax, dword [0x47e524]
add esp, 8
cmp eax, edi
jne 0x402278
mov eax, dword [esp + 0x10]
push eax
call fcn.00402b30
add esp, 4
mov ecx, dword [0x42abe0]
push ecx
call sub.packet.dll_PacketOpenAdapter
add esp, 4
cmp eax, edi
mov dword [esp + 0x1c], eax
je 0x402430
cmp dword [eax], 0xffffffff
je 0x402430
call sub.packet.dll_PacketAllocatePacket
cmp eax, edi
mov dword [esp + 0x24], eax
jne 0x4022b3
push str._DEBUG_Allocate_Failed.
jmp 0x402406
mov ecx, 0x96
xor eax, eax
lea edi, [esp + 0x78]
mov dword [esp + 0x2e], esi
mov esi, dword [sym.imp.WS2_32.dll_htons]
push 0x806
rep stosd dword es:[edi], eax
mov cx, word [esp + 0x6e]
mov dword [esp + 0x2c], ebp
mov word [esp + 0x30], bx
mov word [esp + 0x36], cx
call esi
push 1
mov word [esp + 0x38], ax
call esi
push 0x800
mov word [esp + 0x3a], ax
call esi
push 2
mov word [esp + 0x3c], ax
mov byte [esp + 0x3e], 6
mov byte [esp + 0x3f], 4
call esi
mov word [esp + 0x3c], ax
mov eax, dword [0x47e524]
test eax, eax
jne 0x40232e
mov edx, dword [esp + 0x66]
mov ax, word [esp + 0x6a]
mov dword [esp + 0x3e], edx
mov word [esp + 0x42], ax
jmp 0x402340
mov ecx, dword [esp + 0x5a]
mov dx, word [esp + 0x5e]
mov dword [esp + 0x3e], ecx
mov word [esp + 0x42], dx
mov esi, dword [sym.imp.WS2_32.dll_inet_addr]
lea eax, [esp + 0x3cf]
push eax
call esi
lea ecx, [esp + 0x4ce]
mov dword [esp + 0x44], eax
push ecx
mov dword [esp + 0x4c], ebp
mov word [esp + 0x50], bx
call esi
mov ecx, 0xa
lea esi, [esp + 0x28]
lea edi, [esp + 0x78]
mov dword [esp + 0x4e], eax
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov esi, dword [esp + 0x24]
lea edx, [esp + 0x78]
push 0x3c
push edx
push esi
call sub.packet.dll_PacketInitPacket
mov edi, dword [esp + 0x28]
push 1
push edi
call sub.packet.dll_PacketSetNumWrites
add esp, 0x14
test al, al
jne 0x4023c1
lea eax, [esp + 0x10]
push str._DEBUG_Send_Error_
push eax
call fcn.00414f1b
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00402b30
add esp, 0xc
jmp 0x402453
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
xor ebx, ebx
push 1
push esi
push edi
call sub.packet.dll_PacketSendPacket
add esp, 0xc
test al, al
je 0x402401
mov eax, dword [0x47e524]
test eax, eax
jne 0x40241f
push 0x3a98
call ebp
mov eax, dword [0x47e524]
test eax, eax
jne 0x40241f
lea eax, [ebx + 1]
mov ecx, 0x14
cdq
idiv ecx
mov ebx, edx
jmp 0x4023c9
push str._DEBUG_Send_Error_
lea edx, [esp + 0x14]
push edx
call fcn.00414f1b
mov eax, dword [esp + 0x18]
push eax
call fcn.00402b30
add esp, 0xc
jmp 0x402453
push esi
call sub.packet.dll_PacketFreePacket
push edi
call sub.packet.dll_PacketCloseAdapter
add esp, 8
jmp 0x402453
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._DEBUG_Spoof2_Cannt_Open_Driver___lx_.
lea ecx, [esp + 0x18]
push ecx
call fcn.00414f1b
mov edx, dword [esp + 0x1c]
push edx
call fcn.00402b30
add esp, 0x10
lea ecx, [esp + 0x10]
mov dword [esp + 0xcd0], 0xffffffff
call fcn.00415660
mov ecx, dword [esp + 0xcc8]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0xcc4
ret