Function at 0x1002f440
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [ebp + 0xc]
push ebx
lea edx, [eax + 0xaa6]
push esi
mov ecx, eax
push edi
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x28], edx
cmp eax, edx
ja 0x1002f5b6
mov edi, dword [ebp + 0x1c]
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp - 0x20]
mov edi, edi
or edx, 0xffffffff
cmp ecx, 0x32f3
ja 0x1002f7a4
je 0x1002f741
cmp ecx, 0x31d1
ja 0x1002f677
je 0x1002f64d
lea eax, [ecx - 0x29aa]
cmp eax, 0xe8
ja case.0x1002f944.30851
movzx eax, byte [eax + 0x1002fa34]
jmp dword [eax*4 + 0x1002fa1c]
mov eax, dword [esi + 0xcc]
mov ecx, dword [edi]
push 0
push eax
lea edx, [ebp - 4]
push 0x5d6d
push edx
mov dword [ebp - 4], ecx
call fcn.1002f1e0
add esp, 0x10
cmp eax, 1
je 0x1002f4f0
push eax
mov eax, dword [edi]
push eax
push str.albert_s_boyers___January_06__1998__03:39_P.M
mov eax, 4
call fcn.1000a500
add esp, 0xc
mov ecx, dword [edi]
lea edx, [ebp - 4]
push edx
push 0
push esi
push 0
push 0x1419
mov dword [ebp - 4], ecx
call fcn.1002d1b0
add esp, 0x14
jmp case.0x1002f944.30851
mov eax, dword [edi]
push esi
lea ecx, [ebp - 4]
push 0x3aba
push ecx
mov dword [ebp - 4], eax
call fcn.10015e30
add esp, 0xc
test eax, eax
jne 0x1002f9c2
mov edx, dword [edi]
push esi
push eax
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0x585
push 0
mov dword [ebp - 4], edx
call fcn.10059110
add esp, 0x1c
mov dword [ebp - 0x10], eax
jmp case.0x1002f944.30851
mov ecx, dword [ebp + 8]
inc dword [esi + 0x64]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0x14]
lea eax, [ebp - 4]
push eax
push 0x4e03
mov dword [ebp - 4], edx
push ecx
lea edx, [ebp - 0xa8]
push edx
call fcn.100150e0
push eax
mov eax, dword [edi]
push eax
push str.Health_and_Safety_Desktop_Auditor
mov eax, 1
call fcn.1000a500
add esp, 0x1c
jmp case.0x1002f944.30851
cmp dword [ebp - 0x10], 0
jne 0x1002f62c
mov eax, 0x3a65
mov dword [ebp - 4], eax
sub eax, 0x3a65
je 0x1002f5fc
sub eax, 0x3d
je 0x1002f5c0
sub eax, 0x3d
jne 0x1002f618
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0xcc]
mov ecx, dword [edi]
push edx
push 0x213c
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], ecx
push eax
lea ecx, [ebp - 8]
push ecx
mov dword [ebp - 8], 0x1fe3
call fcn.10039570
mov edx, dword [edi]
push edx
push str.Customs_process_often_lax_at_Canadas_small_airports
mov eax, 4
call fcn.1000a500
add esp, 0x18
jmp 0x1002f618
mov eax, dword [edi]
lea ecx, [ebp - 8]
push ecx
push esi
push 0x7ad0
push str.conflict
mov dword [ebp - 8], eax
call fcn.10015920
add esp, 0x10
mov eax, dword [ebp - 4]
add eax, 0x3d
mov dword [ebp - 4], eax
cmp eax, 0x3adf
jbe 0x1002f5a5
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x14], 1
jmp case.0x1002f944.30851
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x18], 1
mov dword [eax + 0x1c], edx
jmp case.0x1002f944.30851
mov eax, dword [esi + 4]
test eax, eax
js case.0x1002f944.30851
push 0
mov dword [ebp - 8], eax
push 0
lea eax, [ebp - 8]
push eax
push 0x44b0
push 0
call fcn.10042950
add esp, 0x14
jmp case.0x1002f944.30851
lea eax, [ecx - 0x320b]
cmp eax, 0xae
ja case.0x1002f944.30851
movzx ecx, byte [eax + 0x1002fb34]
jmp dword [ecx*4 + 0x1002fb20]
mov dword [esi + 4], edx
jmp case.0x1002f944.30851
cmp dword [esi + 8], 0
jne 0x1002f6c8
mov edx, dword [esi + 0xc]
push 0x7f35
lea eax, [ebp - 8]
push 0
push eax
mov dword [ebp - 8], edx
call fcn.100680e0
add esp, 0xc
mov dword [esi + 8], eax
test eax, eax
je 0x1002fa04
lea ecx, [esi + 0x60]
push 0x50b5
push ecx
call fcn.10007d70
lea edx, [esi + 0x8c]
push 0x50b5
push edx
call fcn.10007d70
add esp, 0x10
jmp case.0x1002f944.30851
xor eax, eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
jmp case.0x1002f944.30851
cld
xor al, 0x9c
mov byte [edx], ch
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esi + 4], eax
test eax, eax
js 0x1002fa0e
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
push 0x56d7
mov dword [ebp - 8], 1
call fcn.10069ec0
add esp, 0x10
jmp case.0x1002f944.30851
mov edx, dword [esi + 4]
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
push 0x56d7
mov dword [ebp - 8], 2
mov dword [ebp - 4], edx
call fcn.10069ec0
mov edx, dword [esi + 0x30]
mov ecx, dword [esi + 0x3c]
mov eax, dword [esi + 4]
push ecx
mov dword [ebp - 0xc], edx
lea edx, [ebp - 8]
push edx
mov edx, dword [esi + 0x38]
push edi
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esi + 0x34]
lea ecx, [ebp - 0xc]
push ecx
push edx
push eax
lea ecx, [esi + 0x40]
push ecx
push 0xcc6
mov dword [ebp - 4], 0
call fcn.1006a6a0
add esp, 0x34
jmp case.0x1002f944.30851
cmp ecx, 0x7848
ja 0x1002f930
je 0x1002f90d
cmp ecx, 0x4603
ja 0x1002f80b
je 0x1002f800
mov eax, ecx
sub eax, 0x332d
je 0x1002f7d7
sub eax, 0x3a
je 0x1002f5b6
jmp case.0x1002f944.30851
mov edx, dword [edi]
mov dword [esi + 0x50], edx
mov eax, dword [edi + 4]
mov dword [esi + 0x54], eax
mov ecx, dword [edi + 8]
mov dword [esi + 0x58], ecx
mov edx, dword [edi + 0xc]
mov dword [esi + 0x5c], edx
mov dword [esi], 1
mov dword [ebp + 0xc], 0
jmp case.0x1002f944.30851
lea ebx, [esi + 8]
mov dword [ebp - 0x20], ebx
jmp case.0x1002f944.30851
mov eax, ecx
sub eax, 0x463d
je 0x1002f828
sub eax, 0x3a
jne case.0x1002f944.30851
mov eax, dword [ebp - 0x18]
mov dword [esi + 4], eax
jmp case.0x1002f944.30851
mov ecx, dword [ebp + 0x18]
cmp dword [ecx], 0
jle 0x1002f8fd
test edi, edi
je 0x1002f8fd
mov dword [ebp - 4], 0x6b3e
cmp dword [ebp - 4], 0x6b3e
jne 0x1002f8dc
xor eax, eax
xor edx, edx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
xor ecx, ecx
lea esp, [esp]
mov byte [ebx + ecx], cl
inc ecx
cmp ecx, 0x100
jl 0x1002f860
xor edi, edi
mov edi, edi
mov dword [ebp - 0xc], 0x1bf0
jmp 0x1002f880
mov ecx, dword [ebp - 0xc]
sub ecx, 0x1bf0
je 0x1002f8a9
sub ecx, 0x43
je 0x1002f8a1
sub ecx, 0x43
jne 0x1002f8c6
mov ecx, dword [ebp + 0x18]
inc edx
cmp edx, dword [ecx]
jl 0x1002f8c6
xor edx, edx
jmp 0x1002f8c6
mov cl, byte [ebp - 0x24]
mov byte [ebx + eax], cl
jmp 0x1002f8c6
movzx ecx, byte [ebx + edi]
mov ebx, dword [ebp + 0x1c]
mov bl, byte [edx + ebx]
add bl, al
add bl, cl
movzx eax, bl
mov ebx, dword [ebp - 0x20]
mov dword [ebp - 0x24], ecx
mov cl, byte [ebx + eax]
mov byte [ebx + edi], cl
add dword [ebp - 0xc], 0x43
cmp dword [ebp - 0xc], 0x1c76
jbe 0x1002f880
inc edi
cmp edi, 0x100
jl 0x1002f870
mov eax, dword [ebp - 4]
add eax, 0x60
mov dword [ebp - 4], eax
cmp eax, 0x6b3e
jbe 0x1002f843
mov edx, dword [ebp - 0x14]
mov edi, dword [ebp + 0x1c]
mov dword [esi], edx
jmp case.0x1002f944.30851
mov edi, dword [ebp + 0x1c]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], edx
mov dword [esi], edx
jmp case.0x1002f944.30851
cmp dword [0x1007c40c], 0
je 0x1002f5b6
push 0
push 0x10079738
push 0x4a79
call fcn.10003820
jmp 0x1002f9a3
lea eax, [ecx - 0x7882]
cmp eax, 0xae
ja case.0x1002f944.30851
movzx eax, byte [eax + 0x1002fbf8]
jmp dword [eax*4 + 0x1002fbe4]
dec ebx
fld dword [esi]
salc
add edi, eax
add eax, 0x1007c40c
add byte [eax], al
add byte [eax], al
jmp case.0x1002f944.30851
les eax, [edi]
adc byte [eax], al
add byte [eax], al
add bl, ch
dec edx
jp 0x1002f953
pop eax
inc esp
pop edx
push 0
push 0x10079738
push 0x35fe
call fcn.10008940
jmp 0x1002f9a3
push 0x1007a090
push 0
push 0x43dd
push 0
push 0
push 0
push 0
call fcn.1003c0f0
add esp, 0x1c
jmp case.0x1002f944.30851
push 0x10079738
push 0
push 0x37e1
call fcn.10005970
add esp, 0xc
mov ecx, dword [ebp - 0x1c]
add ecx, 0x3a
mov dword [ebp - 0x1c], ecx
cmp ecx, dword [ebp - 0x28]
jbe 0x1002f470
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [eax + 0x14], 2
mov eax, 1
jne 0x1002f9ea
add dword [esi + 0x68], eax
mov ecx, dword [edi]
push ecx
push str.In_en_uitklap_op_je_pagina
call fcn.1000a500
mov eax, dword [ebp + 0xc]
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [edi]
push edx
push str.new_listener_hid_lx
call fcn.1000a500
mov eax, dword [ebp + 0xc]
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0xfffffffe
pop ebx
mov esp, ebp
pop ebp
ret