Function at 0x1001a59
Capabilities:
Initialize winsock library
Resolve dns
Send icmp echo request
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x520
mov eax, dword [0x10040a4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
xor esi, esi
push edi
push esi
mov dword [ebp - 0x4ec], ebx
mov dword [ebp - 0x520], esi
mov dword [ebp - 0x4fc], esi
mov dword [ebp - 0x514], esi
mov byte [ebp - 0x500], 0
mov dword [ebp - 0x508], 4
mov dword [ebp - 0x4e0], esi
mov dword [ebp - 0x4d4], esi
mov byte [ebp - 0x4d9], 0
mov byte [ebp - 0x4cd], 0
mov dword [ebp - 0x50c], 0xfa0
mov dword [ebp - 0x4e8], esi
mov dword [ebp - 0x4f4], esi
mov dword [ebp - 0x4f8], 0x20
mov dword [ebp - 0x4f0], esi
mov dword [ebp - 0x504], 1
call dword [sym.imp.KERNEL32.dll_SetThreadUILanguage]
push esi
push esi
push 1
push esi
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
push 0x1005440
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
cmp eax, esi
je 0x1001b2a
push eax
call fcn.01001276
push eax
push 0x274a
push 1
call fcn.01002f39
add esp, 0xc
push 1
call dword [sym.imp.msvcrt.dll_exit]
push 0x80
lea eax, [ebp - 0x4cc]
push esi
push eax
call sub.msvcrt.dll_memset
push 0x401
lea eax, [ebp - 0x44c]
push esi
push eax
call sub.msvcrt.dll_memset
push 0x41
lea eax, [ebp - 0x48]
push esi
push eax
call sub.msvcrt.dll_memset
add esp, 0x24
call fcn.0100180b
cmp dword [ebp + 8], 2
mov byte [ebp - 0x4e1], al
jge 0x1001b78
call fcn.010012ab
jmp 0x10027fd
xor edi, edi
inc edi
cmp dword [ebp + 8], edi
jbe 0x1001c10
mov ecx, dword [ebx + edi*4]
mov dword [ebp - 0x4d8], ecx
mov al, byte [ecx]
cmp al, 0x2d
je 0x1001b97
cmp al, 0x2f
jne 0x1001be5
movsx eax, byte [ecx + 1]
cmp eax, 0x66
jg 0x1001bb5
je 0x1001bce
sub eax, 0x34
je 0x1001bce
dec eax
dec eax
je 0x1001bb0
sub eax, 0x1c
jne 0x1001be5
push ecx
push 0x17
jmp 0x1001bd1
cmp eax, 0x6a
jl 0x1001be5
cmp eax, 0x6b
jle 0x1001bce
cmp eax, 0x71
jle 0x1001be5
cmp eax, 0x73
jle 0x1001bce
cmp eax, 0x76
jne 0x1001be5
push ecx
push 2
lea eax, [ebp - 0x4f0]
push eax
call fcn.010018d8
test al, al
je 0x10027fd
inc edi
cmp edi, dword [ebp + 8]
jb 0x1001b84
cmp dword [ebp - 0x4f0], 2
jne 0x1001c10
call fcn.01002fc9
test al, al
jne 0x1001c10
push 0x275c
push 1
call fcn.01002f39
pop ecx
pop ecx
jmp 0x1001b22
mov edx, dword [ebp + 8]
xor edi, edi
inc edi
cmp edx, edi
jbe 0x100215d
mov ecx, dword [ebx + edi*4]
mov dword [ebp - 0x4d8], ecx
mov al, byte [ecx]
cmp al, 0x2d
je 0x1001c9a
cmp al, 0x2f
je 0x1001c9a
cmp dword [ebp - 0x514], 0
jne 0x10020de
push dword [ebp - 0x500]
lea eax, [ebp - 0x44c]
push 0x401
push eax
push 0x1005688
push 0x10055e0
push ecx
push dword [ebp - 0x4f0]
call fcn.01001988
test al, al
je 0x10020f3
cmp word [0x10055e0], 2
jne 0x1001c85
cmp dword [0x10055e4], 0xffffffff
je 0x10020f3
mov dword [ebp - 0x514], 1
mov dword [ebp - 0x4fc], edi
jmp 0x10020d0
movsx eax, byte [ecx + 1]
cmp eax, 0x6a
jg 0x1001e63
je 0x1001d5c
cmp eax, 0x53
jg 0x1001d15
je 0x1001ce3
sub eax, 0x34
je 0x10020d0
dec eax
dec eax
je 0x10020d0
sub eax, 9
je 0x1002100
sub eax, 0x13
jne 0x100213f
or byte [ebp - 0x4cd], 1
jmp 0x10020d0
dec edx
cmp edi, edx
je 0x100210c
lea eax, [ebp - 0x4cc]
push eax
inc edi
push dword [ebx + edi*4]
push dword [ebp - 0x4f0]
call fcn.0100187c
test eax, eax
je 0x1002114
mov dword [ebp - 0x520], edi
jmp 0x10020d0
cmp eax, 0x61
je 0x1001d50
cmp eax, 0x66
je 0x1001d44
cmp eax, 0x69
jne 0x100213f
push 0xff
push 1
push edi
push dword [ebp + 8]
push ebx
call fcn.0100132b
mov byte [ebp - 0x4e1], al
jmp 0x1001f14
or byte [ebp - 0x4cd], 2
jmp 0x10020d0
mov byte [ebp - 0x500], 1
jmp 0x10020d0
cmp dword [ebp - 0x4e8], 0
jne 0x100211e
lea eax, [esi + 3]
cmp eax, 0x28
jg 0x1002131
add dword [ebp - 0x4d4], 3
mov dword [ebp - 0x4e0], 0x1005660
mov byte [esi + 0x1005660], 0x83
mov byte [esi + 0x1005661], 3
mov byte [esi + 0x1005662], 4
lea eax, [edx - 2]
jmp 0x1001e43
mov eax, dword [ebx + edi*4 + 4]
cmp byte [eax], 0x2d
je 0x1001e4b
lea eax, [esi + 3]
cmp eax, 0x24
jg 0x1002131
inc edi
mov eax, dword [ebx + edi*4]
mov dword [ebp - 0x4d8], eax
lea ecx, [ebp - 0x510]
push ecx
lea ecx, [ebp - 0x4d8]
push ecx
push 1
push eax
call dword [sym.imp.ntdll.dll_RtlIpv4StringToAddressA]
test eax, eax
jl 0x1002138
mov edx, dword [ebp - 0x510]
add dword [ebp - 0x4d4], 4
lea eax, [esi + 0x1005661]
movzx ecx, byte [eax]
mov dword [ecx + esi + 0x1005660], edx
add byte [eax], 4
mov eax, dword [ebp - 0x4d8]
mov al, byte [eax]
test al, al
je 0x1001e3d
movzx eax, al
push eax
call dword [sym.imp.msvcrt.dll_isspace]
pop ecx
test eax, eax
je 0x1001e32
inc dword [ebp - 0x4d8]
mov eax, dword [ebp - 0x4d8]
mov al, byte [eax]
test al, al
jne 0x1001e11
mov eax, dword [ebp - 0x4d8]
cmp byte [eax], 0
jne 0x1001dc6
mov eax, dword [ebp + 8]
add eax, 0xfffffffe
cmp edi, eax
jb 0x1001da3
movzx eax, byte [esi + 0x1005661]
add esi, eax
mov dword [ebp - 0x4e8], 1
jmp 0x10020d0
cmp eax, 0x73
jg 0x1002085
je 0x1002030
sub eax, 0x6b
je 0x1001f1a
dec eax
je 0x1001efd
dec eax
dec eax
je 0x1001ee7
sub eax, 4
jne 0x100213f
lea eax, [esi + 3]
cmp eax, 0x28
jg 0x1002131
push 9
push 1
mov eax, edi
push eax
push dword [ebp + 8]
mov dword [ebp - 0x4e0], 0x1005660
push ebx
mov byte [esi + 0x1005660], 7
mov byte [esi + 0x1005662], 4
inc edi
call fcn.0100132b
shl al, 2
add al, 3
movzx ecx, al
lea edx, [ecx + esi]
cmp edx, 0x28
jg 0x1002131
add dword [ebp - 0x4d4], ecx
mov byte [esi + 0x1005661], al
mov esi, edx
jmp 0x10020d0
push 0xffffffffffffffff
push 1
push edi
push dword [ebp + 8]
push ebx
call fcn.0100132b
mov dword [ebp - 0x508], eax
jmp 0x1001f14
push 0xffdc
push 0
push edi
push dword [ebp + 8]
push ebx
call fcn.0100132b
mov dword [ebp - 0x4f8], eax
inc edi
jmp 0x10020d0
cmp dword [ebp - 0x4e8], 0
jne 0x100211e
lea eax, [esi + 3]
cmp eax, 0x28
jg 0x1002131
mov ebx, dword [ebp + 8]
add dword [ebp - 0x4d4], 3
mov dword [ebp - 0x4e0], 0x1005660
mov byte [esi + 0x1005660], 0x89
mov byte [esi + 0x1005661], 3
mov byte [esi + 0x1005662], 4
add ebx, 0xfffffffe
jmp 0x100200a
mov eax, dword [ebp - 0x4ec]
mov eax, dword [eax + edi*4 + 4]
cmp byte [eax], 0x2d
je 0x1002012
lea eax, [esi + 3]
cmp eax, 0x24
jg 0x1002131
mov eax, dword [ebp - 0x4ec]
inc edi
mov eax, dword [eax + edi*4]
mov dword [ebp - 0x4d8], eax
lea ecx, [ebp - 0x510]
push ecx
lea ecx, [ebp - 0x4d8]
push ecx
push 1
push eax
call dword [sym.imp.ntdll.dll_RtlIpv4StringToAddressA]
test eax, eax
jl 0x1002138
mov edx, dword [ebp - 0x510]
add dword [ebp - 0x4d4], 4
lea eax, [esi + 0x1005661]
movzx ecx, byte [eax]
mov dword [ecx + esi + 0x1005660], edx
add byte [eax], 4
mov eax, dword [ebp - 0x4d8]
mov al, byte [eax]
test al, al
je 0x100200a
movzx eax, al
push eax
call dword [sym.imp.msvcrt.dll_isspace]
pop ecx
test eax, eax
je 0x1001fff
inc dword [ebp - 0x4d8]
mov eax, dword [ebp - 0x4d8]
mov al, byte [eax]
test al, al
jne 0x1001fde
mov eax, dword [ebp - 0x4d8]
cmp byte [eax], 0
jne 0x1001f93
cmp edi, ebx
jb 0x1001f64
movzx eax, byte [esi + 0x1005661]
mov ebx, dword [ebp - 0x4ec]
add esi, eax
mov dword [ebp - 0x4e8], 1
jmp 0x10020d0
lea eax, [esi + 4]
cmp eax, 0x28
jg 0x1002131
push 4
push 1
mov eax, edi
push eax
push dword [ebp + 8]
mov dword [ebp - 0x4e0], 0x1005660
push ebx
mov byte [esi + 0x1005660], 0x44
mov byte [esi + 0x1005662], 5
inc edi
call fcn.0100132b
shl al, 3
add al, 4
movzx ecx, al
lea edx, [ecx + esi]
cmp edx, 0x28
jg 0x1002131
mov byte [esi + 0x1005663], 1
jmp 0x1001ed4
sub eax, 0x74
je 0x10020c9
dec eax
dec eax
je 0x10020ad
dec eax
jne 0x100213f
push 0xffffffffffffffff
push eax
push edi
push dword [ebp + 8]
push ebx
call fcn.0100132b
mov dword [ebp - 0x50c], eax
jmp 0x1001f14
push 0xff
push 0
push edi
push dword [ebp + 8]
push ebx
call fcn.0100132b
mov byte [ebp - 0x4d9], al
jmp 0x1001f14
or dword [ebp - 0x508], 0xffffffff
inc edi
cmp edi, dword [ebp + 8]
jae 0x1002154
mov edx, dword [ebp + 8]
jmp 0x1001c1e
push ecx
push 0x271c
push 1
call fcn.01002f39
add esp, 0xc
jmp 0x10027fd
push dword [ebp - 0x4d8]
push 0x271d
jmp 0x10020e4
call fcn.010012ab
push 0
jmp 0x1001b24
push ecx
push 0x2711
jmp 0x10020e4
push dword [ebx + edi*4]
push 0x2754
jmp 0x10020e4
push 0x273d
push 1
call fcn.01002f39
pop ecx
pop ecx
jmp 0x10027fd
push 0x2747
jmp 0x1002123
push 0x2714
jmp 0x1002123
push ecx
push 0x271b
push 1
call fcn.01002f39
add esp, 0xc
jmp 0x1001b6e
cmp dword [ebp - 0x514], 0
jne 0x1002164
push 0x271e
jmp 0x1002123
cmp dword [ebp - 0x4f0], 0
jne 0x10021e3
mov ax, word [ebp - 0x4cc]
test ax, ax
je 0x10021e3
cmp ax, word [0x10055e0]
je 0x10021e3
lea eax, [ebp - 0x4cc]
push eax
mov eax, dword [ebp - 0x520]
push dword [ebx + eax*4]
movzx eax, word [0x10055e0]
push eax
call fcn.0100187c
test eax, eax
jne 0x10021e3
push dword [ebp - 0x500]
lea eax, [ebp - 0x44c]
push 0x401
push eax
mov eax, dword [ebp - 0x4fc]
push 0x1005688
push 0x10055e0
push dword [ebx + eax*4]
movzx eax, word [ebp - 0x4cc]
push eax
call fcn.01001988
test al, al
jne 0x10021e3
push 0x275b
jmp 0x1002123
movzx eax, word [0x10055e0]
mov dword [ebp - 0x4f0], eax
cmp eax, 2
jne 0x10021fc
call sub.IPHLPAPI.DLL_IcmpCreateFile
jmp 0x1002201
call sub.IPHLPAPI.DLL_Icmp6CreateFile
mov dword [ebp - 0x4e8], eax
cmp eax, 0xffffffff
jne 0x1002223
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.01001276
push eax
push 0x271f
jmp 0x10020e4
mov ebx, dword [ebp - 0x4f8]
mov esi, dword [sym.imp.KERNEL32.dll_LocalAlloc]
push ebx
xor edi, edi
push edi
call esi
mov dword [ebp - 0x4ec], eax
cmp eax, edi
jne 0x1002252
push 0x2748
push 1
call fcn.01002f39
pop ecx
pop ecx
jmp 0x10027cc
push 0x20
pop eax
cmp eax, ebx
sbb eax, eax
and eax, 0xe043
add eax, 0x1ff8
push eax
push edi
mov dword [ebp - 0x4fc], eax
call esi
mov dword [ebp - 0x4f4], eax
cmp eax, edi
je 0x100223f
xor ecx, ecx
cmp ebx, edi
jbe 0x1002297
xor edx, edx
push 0x17
mov eax, ecx
pop esi
div esi
mov eax, dword [ebp - 0x4ec]
add dl, 0x61
mov byte [ecx + eax], dl
inc ecx
cmp ecx, ebx
jb 0x100227d
mov eax, dword [ebp - 0x4e0]
mov esi, dword [sym.imp.WS2_32.dll_getnameinfo]
mov dword [ebp - 0x518], eax
mov al, byte [ebp - 0x4d4]
mov byte [ebp - 0x519], al
mov al, byte [ebp - 0x4e1]
push 2
mov byte [ebp - 0x51c], al
mov al, byte [ebp - 0x4d9]
push edi
mov byte [ebp - 0x51b], al
mov al, byte [ebp - 0x4cd]
push edi
push 0x41
mov byte [ebp - 0x51a], al
lea eax, [ebp - 0x48]
push eax
push dword [0x1005688]
push 0x10055e0
call esi
test eax, eax
je 0x1002303
push 0x41
lea eax, [ebp - 0x48]
push edi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
cmp byte [ebp - 0x44c], 0
lea eax, [ebp - 0x48]
push eax
je 0x1002328
lea eax, [ebp - 0x44c]
push eax
push 0x2720
push 1
call fcn.01002f39
add esp, 0x10
jmp 0x1002337
push 0x274b
push 1
call fcn.01002f39
add esp, 0xc
cmp word [ebp - 0x4cc], 0x17
je 0x100234b
cmp word [ebp - 0x4cc], 2
jne 0x1002399
xor eax, eax
cmp word [ebp - 0x4cc], 2
push 2
setne al
push edi
push edi
push 0x41
lea ecx, [ebp - 0x48]
push ecx
dec eax
and eax, 0xfffffff4
add eax, 0x1c
push eax
lea eax, [ebp - 0x4cc]
push eax
call esi
test eax, eax
je 0x1002386
push 0x41
lea eax, [ebp - 0x48]
push edi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x48]
push eax
push 0x2759
push 1
call fcn.01002f39
add esp, 0xc
push ebx
push 0x275a
push 1
call fcn.01002f39
add esp, 0xc
push 1
push 0x10017ca
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
mov eax, dword [ebp - 0x508]
mov dword [ebp - 0x4e0], edi
cmp eax, edi
jbe 0x10027b6
dec eax
mov dword [ebp - 0x4d4], eax
mov esi, edi
jmp 0x10023db
mov ebx, dword [ebp - 0x4f8]
cmp dword [ebp - 0x4f0], 2
push dword [ebp - 0x50c]
lea eax, [ebp - 0x51c]
push dword [ebp - 0x4fc]
push dword [ebp - 0x4f4]
push eax
push ebx
push dword [ebp - 0x4ec]
jne 0x1002624
push dword [0x10055e4]
xor eax, eax
cmp word [ebp - 0x4cc], 2
setne al
dec eax
and eax, dword [ebp - 0x4c8]
push eax
push edi
push edi
push edi
push dword [ebp - 0x4e8]
call sub.IPHLPAPI.DLL_IcmpSendEcho2Ex
inc dword [0x10050c0]
cmp eax, edi
jne 0x10024a4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2af8
jae 0x1002460
push eax
call fcn.01001276
push eax
push 0x2722
push 1
call fcn.01002f39
add esp, 0xc
jmp 0x100248e
mov ecx, dword [section..data]
xor edx, edx
jmp 0x100247a
cmp ecx, 0x2b2a
je 0x100247e
mov ecx, dword [edx*8 + 0x1004008]
inc edx
cmp ecx, eax
jne 0x100246a
push dword [edx*8 + 0x1004004]
push 1
call fcn.01002f39
pop ecx
pop ecx
cmp esi, dword [ebp - 0x4d4]
jae 0x100279b
push 0x3e8
jmp 0x1002795
mov esi, dword [ebp - 0x4f4]
push dword [esi]
dec eax
mov dword [ebp - 0x504], eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
xor edi, edi
push 0x2723
inc edi
push edi
call fcn.01002f39
mov eax, dword [esi + 4]
add esp, 0xc
test eax, eax
jne 0x10025c2
inc dword [0x10050c8]
movzx eax, word [esi + 0xc]
push eax
push 0x273c
push edi
call fcn.01002f39
movzx eax, word [esi + 0xc]
add esp, 0xc
cmp eax, dword [ebp - 0x4f8]
je 0x1002509
push dword [ebp - 0x4f8]
push 0x2724
push edi
jmp 0x100253b
mov edi, dword [ebp - 0x4ec]
xor ecx, ecx
cmp dword [ebp - 0x4f8], ecx
jbe 0x1002543
mov eax, dword [esi + 0x10]
sub eax, edi
mov dl, byte [edi]
mov bl, byte [eax + edi]
inc edi
cmp dl, bl
jne 0x1002533
inc ecx
cmp ecx, dword [ebp - 0x4f8]
jb 0x100251e
jmp 0x1002543
push ecx
push 0x2725
push 1
call fcn.01002f39
add esp, 0xc
mov eax, dword [esi + 8]
test eax, eax
je 0x1002585
push eax
push 0x2726
push 1
call fcn.01002f39
mov eax, dword [esi + 8]
add dword [0x10050d0], eax
mov eax, dword [esi + 8]
add esp, 0xc
cmp eax, dword [0x10040a0]
jae 0x1002573
mov dword [0x10040a0], eax
mov eax, dword [esi + 8]
cmp eax, dword [0x10050cc]
jbe 0x100259a
mov dword [0x10050cc], eax
jmp 0x100259a
push 0x2727
push 1
call fcn.01002f39
and dword [0x10040a0], 0
pop ecx
pop ecx
movzx eax, byte [esi + 0x14]
push eax
push 0x2728
push 1
call fcn.01002f39
add esp, 0xc
cmp byte [esi + 0x17], 0
je 0x10025f0
push dword [ebp - 0x500]
push esi
call fcn.0100139d
jmp 0x10025f0
mov ecx, dword [section..data]
xor edx, edx
mov ebx, 0x2b2a
jmp 0x10025dd
cmp ecx, eax
je 0x10025e1
mov ecx, dword [edx*8 + 0x1004008]
inc edx
cmp ecx, ebx
jne 0x10025d1
push dword [edx*8 + 0x1004004]
push edi
call fcn.01002f39
pop ecx
pop ecx
mov eax, dword [ebp - 0x504]
inc dword [0x10050c4]
add esi, 0x1c
test eax, eax
jne 0x10024aa
mov eax, dword [ebp - 0x4d4]
cmp dword [ebp - 0x4e0], eax
jae 0x100279b
sub esi, 0x1c
mov esi, dword [esi + 8]
jmp 0x1002785
push 0x10055e0
lea eax, [ebp - 0x4cc]
push eax
push edi
push edi
push edi
push dword [ebp - 0x4e8]
call sub.IPHLPAPI.DLL_Icmp6SendEcho2
inc dword [0x10050c0]
mov ebx, eax
cmp ebx, edi
jne 0x1002682
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2af8
jb 0x1002448
mov ecx, dword [section..data]
xor edx, edx
jmp 0x1002679
cmp ecx, 0x2b2a
je 0x100247e
mov ecx, dword [edx*8 + 0x1004008]
inc edx
cmp ecx, eax
jne 0x1002665
jmp 0x100247e
mov esi, dword [ebp - 0x4f4]
push 2
push edi
push edi
push 0x41
lea eax, [ebp - 0x48]
push eax
push dword [0x1005688]
dec ebx
push 0x10055e0
call dword [sym.imp.WS2_32.dll_getnameinfo]
test eax, eax
je 0x10026b7
push 0x41
lea eax, [ebp - 0x48]
push edi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x48]
push eax
push 0x2723
push 1
call fcn.01002f39
mov edx, dword [esi + 0x1c]
add esp, 0xc
cmp edx, edi
jne 0x1002734
inc dword [0x10050c8]
mov eax, dword [esi + 0x20]
cmp eax, edi
je 0x1002719
push eax
push 0x2726
push 1
call fcn.01002f39
mov eax, dword [esi + 0x20]
add dword [0x10050d0], eax
mov eax, dword [esi + 0x20]
add esp, 0xc
cmp eax, dword [0x10040a0]
jae 0x1002707
mov dword [0x10040a0], eax
mov eax, dword [esi + 0x20]
cmp eax, dword [0x10050cc]
jbe 0x100272d
mov dword [0x10050cc], eax
jmp 0x100272d
push 0x2727
push 1
call fcn.01002f39
pop ecx
pop ecx
mov dword [0x10040a0], edi
push 0x273f
jmp 0x1002757
mov eax, dword [section..data]
xor ecx, ecx
jmp 0x1002749
cmp eax, edx
je 0x1002750
mov eax, dword [ecx*8 + 0x1004008]
inc ecx
cmp eax, 0x2b2a
jne 0x100273d
push dword [ecx*8 + 0x1004004]
push 1
call fcn.01002f39
inc dword [0x10050c4]
pop ecx
add esi, 0x24
pop ecx
cmp ebx, edi
jne 0x1002688
mov eax, dword [ebp - 0x4d4]
cmp dword [ebp - 0x4e0], eax
jae 0x100279b
sub esi, 0x24
mov esi, dword [esi + 0x20]
cmp esi, 0x3e8
jae 0x100279b
mov eax, 0x3e8
sub eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, dword [ebp - 0x4e0]
inc esi
xor edi, edi
mov dword [ebp - 0x4e0], esi
cmp esi, dword [ebp - 0x508]
jb 0x10023d5
xor eax, eax
cmp dword [0x10050c4], edi
sete al
mov dword [ebp - 0x504], eax
call fcn.0100170a
push dword [ebp - 0x4e8]
call sub.IPHLPAPI.DLL_IcmpCloseHandle
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x4ec], edi
je 0x10027ed
push dword [ebp - 0x4ec]
call esi
cmp dword [ebp - 0x4f4], edi
je 0x10027fd
push dword [ebp - 0x4f4]
call esi
call dword [sym.imp.WS2_32.dll_WSACleanup]
push dword [ebp - 0x504]
jmp 0x1001b24